on 11-11-2006 12:58 PM
Hi
How do I Hide/Disable my print option for the user viewing my Adobe form shown using WD for Java application.
Regards,
Murali.
Hello Murali,
Please have a look at the <a href="https://media.sdn.sap.com/javadocs/NW04s/SPS7/wd/com/sap/tc/webdynpro/pdfobject/api/package-summary.html">PDF object API</a>. There is a "printNotAllowed" option (WDInteractiveFormPermissionModes.PRINT_NOT_ALLOWED).
Regards,
Philipp
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I am not able to use both of them. Might be I am not doing it the right way. Can anyone help me out by guiding me. All I want is just a simple PDF form with either no Toolbar or simply hiding print button. The responses were good, but I dont know how to use them.
I am on NW04s SP8.
Regards,
Murali.
Message was edited by:
S Muralidaran
Hi Boyz,
Sorry to interrupt in between...just wanna know if the same is possible in ABAP WD's...Bcos it's a very common requirement...
And I dont find this UI Element HideReaderToolbar in ABAP WD Dev environment...
I tried using this script in the all possible events of the form
app.eval("event.target.SAPToolbarHide();")
and even this also...
app.eval("SAPToolbarHide();")
Regards,
<i><b>Raja Sekhar</b></i>
Hello Raja Sekhar,
This object is not available anymore in Designer 7.1. This setting can now be achieved through a web dynpro (Java) API (interface <a href="https://media.sdn.sap.com/javadocs/NW04s/SPS7/wd/com/sap/tc/webdynpro/clientserver/adobe/pdfdocument/api/IWDPDFDocumentAppearance.html">IWDPDFDocumentAppearance</a>). In web dynpro ABAP you would need to use the method handler of the <b>InteractiveForm</b> UI element (IF_WD_IACTIVE_FORM_METHOD_HNDL, SET_HIDE_TOOLBARS).
Regards,
Philipp
Hi
What is the object 'Hide Reader ToolBar' under Library>Webdynpro. Can this be of any help ?
Regards,
Murali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.