How to export HTML fields
A Lotus Notes form may contain one or more fields with pass-thru HTML content.
By default, SWING Seascape does not render the pass-thru HTML content in PDF, and such content will appear in the PDF files as HTML code.
However a workaround is available by which the HTML fields can be rendered in PDF. Here are the steps to apply the workaround:
Using Domino Designer, add a new computed field to your Notes form and configure it so that it stores the HTML content of all form fields which contain pass-thru HTML. You can keep this field hidden so that your Notes form will appear same as before in the Notes client.
Create and run a new agent that will re-save each document in your Notes database, causing the computed field to re-evaluate itself and save all of the pass-thru HTML content. Note that the last modified date property of the Notes documents will be changed as a result of running the agent.
Using Domino Designer create a new form which will display the new computed field created in step 1, and hide all of the other fields that contain pass-thru HTML. The computed field must not be saved in a table. Once the form is created, save it in your Seascape database.
Create a new alternate form setting which will instruct Seascape to convert documents to PDF using the alternate form created in step 3 as opposed to the default Notes form. With the alternate form deployed in this way, Seascape will render the HTML content in the generated PDF files accurately.
The workaround described above can be used only in cases where the fields with pass-thru HTML content can be recreated in an alternate form without compromising the basic structure of the document.
If you need help with creating an agent to re-save the Notes documents or building the alternate Notes form please contact SWING Software's support team for assistance.
Last updated