Data structures
Experience type
Experience type is an annotated content type, which defines the data structure for Experiences.
It consists of (but is not limited to) the following mandatory fields:
In case additional fields are needed, such experience type can be extended with them and Experiences will render controls for data input.
The experience type is annotated as shown below:
Below you can see the full JSON example of the experience type:
Experience object JSON
Preview configuration
Experiences has to know a URL of the server, which hosts the web app, in order to render it on canvas in the iframe.
Such URL must be configured via the Preview Configuration and must apply to the Experience Type.
To see existing preview configurations, refer to the “Content preview” menu of the “Settings” in our web app or make a CMA request.
Below is an example of the preview configuration for experience type with id experienceType: