Difference between revisions of "DCS newQuestionnaireQuickSetup"
(→Example) |
|||
Line 23: | Line 23: | ||
string DCSName= "dcs of questionnaire 1 and questionnaire 2"; | string DCSName= "dcs of questionnaire 1 and questionnaire 2"; | ||
− | array Qlist={37246024, 37278197}; | + | array Qlist={37246024, 37278197}; //Questionnaire Resource ID |
DCS_newQuestionnaireQuickSetup(DCSName, Qlist); | DCS_newQuestionnaireQuickSetup(DCSName, Qlist); |
Revision as of 08:45, 28 November 2011
DCS_newQuestionnaireQuickSetup
Quick create a DCS base on questionnaires and they must have the same questionnaire template.
Syntax
DCS_newQuestionnaireQuickSetup(DCSName, Questionnaires)
Arguments
DCSName: is a string. This is name of new DCS.
Questionnaires: is an array which contain questionnaire resource id.
Return type
Empty
Example
string DCSName= "dcs of questionnaire 1 and questionnaire 2";
array Qlist={37246024, 37278197}; //Questionnaire Resource ID
DCS_newQuestionnaireQuickSetup(DCSName, Qlist);