Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DCS newQuestionnaireQuickSetup: Difference between revisions

From Catglobe Wiki
Tungocman (talk | contribs)
No edit summary
Tungocman (talk | contribs)
 
Line 13: Line 13:
=== Arguments  ===
=== Arguments  ===


DCS_Name: is a string. This is name of new DCS.  
*DCS_Name: is a string. This is name of new DCS.  


QuestionnaireRIDs: is an array which contain questionnaire resource ids.  
*QuestionnaireRIDs: is an array which contain questionnaire resource ids.


=== Return type  ===
=== Return type  ===

Latest revision as of 10:12, 21 December 2011

DCS_newQuestionnaireQuickSetup

Quickly setup:

  • a DCS for a specific questionnaire
  • or a DCS for a list of questionnaires (the questionnaires in this list must use the same questionnaire template)

Syntax

DCS_newQuestionnaireQuickSetup(DCS_Name, QuestionnaireRIDs)

Arguments

  • DCS_Name: is a string. This is name of new DCS.
  • QuestionnaireRIDs: is an array which contain questionnaire resource ids.

Return type

Empty

Example

Example 2:
string DCS_Name = "DCS for 1 Qnaires"; 
array QuestionnaireRIDs = {37246024}; //Questionnaire Resource ID
DCS_newQuestionnaireQuickSetup(DCS_Name, QuestionnaireRIDs); 

Example 2:
string DCS_Name = "DCS for 2 Qnaires"; 
array QuestionnaireRIDs = {37246024, 37278197}; //Questionnaire Resource ID
DCS_newQuestionnaireQuickSetup(DCS_Name, QuestionnaireRIDs);