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
- In TIBCO BusinessEvents Studio, open the concept for editing.
- 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. - Expand the
Metadata section and click
Add to add a new property.
A new property with the system-generated-name is added.
- 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. - Save the project and rebuild the EAR.