@warp-works/warpjs-survey-tool-plugin
v2.0.8
Published
Plugin to set up survey
Downloads
20
Readme
Warpjs IPT Plugin
This plugin sets up the IPT questionnaire.
Configuration
Add the following to .warp-works-warpjsrc
of your project:
{
plugins: [{
"name": "ipt",
"moduleName": "@warp-works/warpjs-ipt-plugin",
"path": "/ipt",
"type": "action",
"config": {
"glyphicon": "plane",
"label": "IPT Survey",
"schema": {
"questionnaire": "IPT",
"category": "CategoryQ",
"question": "DimensionQ",
"option": "OptionQ",
"attempt": "IPT_Attempt",
"imageLibrary": "IMGLIB",
"image": "Image",
"map": "Map",
"resultSet": "ResultSet",
"result": "Result",
"relevantHigh": "Relevant_If_High",
"relevantLow": "Relevant_If_Low",
"content": "Content"
}
}
}]
}
schema
is the bridge between IPT entities in studio and what is sent with HAL to the front end.questionnaire
is for questionnairescategory
is for categoriesquestion
is for questions and interim detail pagesoption
is for options for questionsattemp
is for attempts on a specific questionnaireimageLibrary
is for the images associated with the questionnaire at the top levelimage
is for the image associated with a category or quesitonmap
is for the image mapping for an imageresultSet
is for the result sets for the suggested readings sectionresult
is for the individual resultrelevantHigh
is for the list of questions of relevance with emphasis on answers with higher positionsrelevantLow
is for the list of questions of relevance with emphasis on answers with lower positionscontent
is the associated content linked to a result