This document explains how to add an Extended schema for a survey. As an admin usera survey author, you can use this Extended schema to store information about the survey in the payload.
For example, you can make note of the language of the survey.
...
Instructions
Add a function node to the canvas and connect it to the first pin of the Survey Manager node.
Place the below code in the function node.
Code Block if(msg.orbita.session.surveyInfo.surveyId === "6041fde9e8c14800718c105c"){ msg.orbita.session.surveyInfo.survey.customExtendedSchema.lang = "spanish" } return msg;
Run the Survey
...
Select your project in the Experience Manager and edit the URL to add the
/survey
Click on the vertical ellipses button against the survey you wanted to edit from the Survey listing page.
Select the Extended Schema tab and add the properties and save it as shown below.
You can see these properties listed under the
msg.orbita.session.surveyInfo.survey.customExtendedSchema
...
object in the payload.
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|