# 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:

1. 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.
2. 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.
3. 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.
4. Create a [new alternate form setting](/seascape-for-notes/seascape-settings/alternate-forms.md) 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.

{% hint style="info" %}
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.
{% endhint %}

{% hint style="info" %}
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.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.swingsoftware.com/seascape-for-notes/faq/how-to-export-html-fields.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
