Start of Content Area

Object documentation Web Dynpro Form – UI Element HideReaderToolbar  Locate the document in its SAP Library structure

Using the form UI element HideReaderToolbar, you can prevent the Adobe tool list from being displayed in the browser. In this way, the end user cannot store a PDF form locally or print it out. Another advantage of using this form element is that the screen output area for the form enlarges itself automatically whenever the Adobe tool list is not displayed.

To insert the HideReaderToolbar UI element, proceed as follows:

       1.      Using Drag&Drop, enter the form UI element HideReaderToolbar from the Designer pallet Library Web Dynpro into the work area of the Adobe Designer, the Body Pages editor. You can position the element at any position within the editor. To be able to quickly get the definition of this element from the form at a later time, we recommend that you enter the element in the upper input area of the editor.

       2.      Store the changes using Save All Metadata; you can then start the Web preview using the function PDF Preview (see relevant tab in the Adobe Designer) and check whether the tool list is displayed in the browser during form output. In the XML Source tab page, you can also see that this form UI element is a Field element of the XML file <ViewName>.wdview. The following script is responsible for executing the function:

<script contentType="application/x-javascript">var stopToolbar = app.setTimeOut("app.eval(\"SAPToolbarHide();\");", 1);</script>

 

 

 

End of Content Area