Configure JSON Exports to Include or Exclude the Root Node - Precisely_EnterWorks - EnterWorks - 11.0

EnterWorks Guide

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks
Precisely EnterWorks > EnterWorks
Version
11.0
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks Guide
Copyright
2024
First publish date
2007
Last updated
2025-01-07
Published on
2025-01-07T07:44:20.997352
By default EnterWorks is configured to include the root node when a JSON export template is used to export record values. To configure EnterWorks to exclude the root node, you must set shared configuration properties.

To configure EnterWorks to include or exclude the root node in JSON export template exports:

  1. Stop all EnterWorks services.
  2. Update the shared configuration properties with the value given below. If the setting does not appear in the sharedConfig.properties files, add it to the files.
    • publish.output.root.for.json: Specifies whether the root node will be included or excluded. This setting defaults to yes.

      • yes: Include the root node.

      • no: Exclude the root node.

  3. Restart all EnterWorks services.