Dataset Output Formats (ttrpi5110m000)

Use this session to view and maintain dataset output formats.

Dataset output can be generated in various formats, such as XML, JSON, and CSV, by implementing a fixed interface in a 3GL library.

Note: 

If a different output than XML is required, create a custom formatter library (typically in the tx package) and register it in the current session. KB3669822 on the Infor Customer Portal provides the source code of the standard XML formatter, which can be used as a reference for building custom output formats, such as JSON or CSV.

As an alternative to separate formatter libraries, you can centralize formatting through the Dataset.CustomOutputFormat process extension. At runtime, the extension receives the requested format through i.dataset.format, as specified in the prompt placeholder (for example, #data,JSON#) and uses it to route the request to the appropriate formatting logic (all implemented within the single extension library. Standard delivered output formats cannot be overridden using this process extension.

The functions provided by the 3GL dataset output format interface library correspond to the process extension hooks, with one exception: the dataset output format argument is not included. You can view the function definitions in the Extension Modeler when opening the process extension.

Field Information

Dataset Output Format
The name of the dataset output format.
Description
The description of the dataset output format.
Output Format Library
The library that is used to format the output of the dataset.