Enabling the Concept Reference Serialization in Concept to JSON

Reference concepts are not serialized by default. Set a property in the parent concept metadata to expand them during serialization.

Add the metadata property tibco.be.schema.ref.expand for all the concept with the ConceptReference property to true. This enables the serializer to convert the referenced concept to JSON. This property works for In-memory as well as Grid storage type.

If there are multiple level concept reference, then add this property to all the concept with the ConceptReference property.

Procedure

  1. In TIBCO BusinessEvents Studio, open the concept for editing.
  2. In the concept editor, click Enable Metadata Configuration () on top-right corner to enable the metadata properties for editing.
    The Metadata section is now enabled.
  3. Expand the Metadata section and click Add to add a new property.
    A new property with the system-generated-name is added.
  4. Edit the property name to tibco.be.schema.ref.expand and set the value to true.
    In runtime, the serializer read this option and convert the referenced concept to JSON.
  5. Save the project and rebuild the EAR.