View Form XML Data

   Journey Manager (JM) The transaction engine for the platform.  |    Platform Developer  |  All versions This feature is related to all versions.

Manager allows you to view and edit form's data as form XML data, which represents all data pertinent to a form itself as well as user's input provided into the form.

To view or edit form XML data:

  1. Select Forms > Forms.
  2. Locate a form and click Edit.
  3. Select a form version and click Edit Form Data Config.
  4. Click the Form XML Data tab to view the XML data.
    Form XML data of a transaction
  5. Edit the XML content directly in the Form XML Data tab or click Choose File to upload a seed XML file.
  6. Select the Auto Format checkbox to automatically format the XML data. Otherwise, it retains the original XML format when saving it.
  7. Click Save. Manager will validated the updated XML file for any syntax errors before saving it.

View Form XML Data in a Browser

When you test or troubleshoot a form, you may want to view and even modify form XML data sent from a client's web browser to Manager during POST requests. You can easily do this using browser's tools, for example, Google Chrome's Developer tools.

To view form XML data:

  1. Locate a form you need to test or troubleshoot.
  2. Open a relevant form version of this form.
  3. Clear the Form Data Encryption checkbox to disable HTML client-side form XML data encryption.
    Warning

    You should never disable this option in production environments.

  4. Click Form Test Render to open the form version in a new web browser tab.
  5. Open the browser's Developer tools where the form version was rendered and select Elements (if you are using Google Chrome).
  6. Expand the <body> element of the form and look for script[@id='sfc-prepop'], which is the XML content of the form XML data that is embedded within the HTML of the initial form load.
  7. Expand <script id="sfc-prepop"> to view all elements of the form XML data.
  8. Perform your tests.
  9. Select the Form Data Encryption checkbox to enable HTML client-side form XML data encryption.
  10. Verify that you can see form XML data as encrypted data.

Next, learn about form property prefill mapping.