relativeTopicBuilder (Program)

This program object uses an instance-based class file to implement your component logic. You view and edit the program using the ProgramEditor.
Figure 103.   relativeTopicBuilder properties
Image

To use this object, drag it from the Programs folder in the jsonToolkit palette to the Config folder in the station. To open this AX Property Sheet, double-click the relativeTopicBuilder component in the station.

In addition to the standard properties (Status and Fault Cause), these properties support the relativeTopicBuilder.

Property Value Description
Class Name read-only Reports the name that describes this object. Each object is created from a single class. One class can instantiate multiple objects.
Class File read-only Reports the name of the file that contains the custom program.
Dependencies read-only Identifies the dependent modules.
Signature read-only Identifies the mathematical scheme used to verify the authenticity of the program.
Source read-only Displays the program’s source code.
User Defined Imports read-only Displays user-defined custom imports of the types used in the source code.
topicTemplate text Defines a template string for the output topic in a Java-format style.

For example, %s represents a replaceable substring. The schema resolves these against the object it passes to the input slot and writes the result to the topicOutput.

topicOutput read-only Identifies the destination for the output JSON.

Actions

baseItemChanged links from the RelativeJsonSchema's "Current Base Output" topic to this "Base Item Changed" action, and then from this component to the publish point, so the topic is updated for each item returned by the base query.