Archived discussions are read-only. Learn more about SAP Q&A

How to generate PDF with bookmarks?


The business request is to have pdf report with bookmarks. There is no predefined bookmark object in Livecycle Designer/SFP so my idea is to add some scripting to the form to generate bookmarks dynamically. I defined a standard pdf form with several lines of JavaScript embedded. The script is running in the form preview in Livecycle Later I was testing the form by calling its function module and looking at the generated PDF file. Unfortunately it seems there is no script embedded in the final output PDF generated by ADS.

Is Javascript supported in pdf forms? Do I need to perform any additional operations to enable the Javascipt? Do I need to pass additional parameters to ADS? I tested the following settings:

  • fp_docparams-fillable = 'X'.

  • fp_docparams-DYNAMIC = 'X'.

  • fp_outputparams-getpdf = 'X'.

  • fp_outputparams-PDFTAGGED = 'X'.

  • fp_outputparams-PDFCHANGESRESTRICTED = ' '.

I appreciate any suggestion.

Not what you were looking for? View more on this topic or Ask a question