Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. From the project side menu, select Reporting > Data

    Image RemovedImage Added
  2. Select the Partial-Survey Schema from the schema drop-down.

  3. Select the document from the list.

    Image RemovedImage Added
  4. You can see the Survey ID and the Session ID.

    Image RemovedImage Added

Select survey

The function node with the name Select Survey fetches the surveyId and the sessionId from the incoming request and pushes the data to Dynamic Data Manager.

...

Code Block
var _ = global.get('lodash');
msg.payload.originalRequest.data.surveyID=msg.req.query.surveyID;
//to support the session ID from query Param
msg.payload.sessionId = msg.req.query.sessionId || msg.payload.sessionId;
var querySessionId = _.get(msg, 'req.query.sessionId', null);
if (querySessionId) {
    _.set(msg, 'payload.originalRequest.data.sessionId', querySessionId);
}

...

Attachments
previewfalse
uploadfalse
oldfalse
patterns.*json

...