<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.catglobe.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nguyenhientrung</id>
	<title>Catglobe Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.catglobe.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nguyenhientrung"/>
	<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/Special:Contributions/Nguyenhientrung"/>
	<updated>2026-04-11T02:32:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=SendMailTemplateFromResource&amp;diff=238454</id>
		<title>SendMailTemplateFromResource</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=SendMailTemplateFromResource&amp;diff=238454"/>
		<updated>2018-05-29T08:41:09Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{HelpFiles}}&lt;br /&gt;
&lt;br /&gt;
==== sendMailTemplateFromResource  ====&lt;br /&gt;
&lt;br /&gt;
send mail by an existing mail template&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Syntax&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
sendMailTemplateFromResource(number parentResourceId, string email, string alias, number mailTemplateId [, fromEmail ] [, callback function(subject, message)]);&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;parentResourceId&#039;&#039;: Is an expression of the type number. It is Resource Id of resource that contain these mail in communication tab after sending.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;email&#039;&#039;: Is an expression of the type string. It is email address of receiver.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;alias&#039;&#039;: Is an expression of the type string. Alias of receiver&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;mailTemplateId&#039;&#039;: Is an expression of the type number. It is Id of the mail template&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;fromEmail&#039;&#039;: Is an expression of the type string or EmailAccount. It is from email address.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;callback function(subject, message)&#039;&#039;: Use to update mail when sending.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Return type&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Empty&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Examples&#039;&#039;&#039; &lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
sendMailTemplateFromResource(15546533,&amp;quot;an@maysunshine.vn&amp;quot;,&amp;quot;An&amp;quot;,1378);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
string firstName = &amp;quot;An&amp;quot;;&lt;br /&gt;
string today = &amp;quot;2016-25-11&amp;quot;;&lt;br /&gt;
sendMailTemplateFromResource(15546533,&amp;quot;an@maysunshine.vn&amp;quot;,&amp;quot;An&amp;quot;,1378,&amp;quot;antest@cghead.catglobe.com&amp;quot;,function(string subject, string message ){&lt;br /&gt;
 subject = stringReplace(subject,&amp;quot;[Date]&amp;quot;,today);&lt;br /&gt;
 message = stringReplace(message,&amp;quot;[firstName]&amp;quot;,firstName);&lt;br /&gt;
 return {subject,message};&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&#039;&#039;&#039;Availability&#039;&#039;&#039; Version 6.0&lt;br /&gt;
[[Category:Email_and_SMS_Functions]]&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=DataCacheSpecification_class&amp;diff=238351</id>
		<title>DataCacheSpecification class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=DataCacheSpecification_class&amp;diff=238351"/>
		<updated>2018-01-23T04:24:23Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=&amp;lt;nowiki&amp;gt;DataCacheSpecification&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Represents a DataCache specification.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Description=&amp;lt;nowiki&amp;gt;Instanciate an existing instance using the current context datacache&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=int|Name=&amp;lt;nowiki&amp;gt;ResourceId&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Resource Id of the DataCache&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Instanciate an existing instance using the resource id of a datacache&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;ResourceName&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Resource name of the new DataCache&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=&amp;lt;nowiki&amp;gt;Questionnaire Ids&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;List of Questionnaires to use in the creation. Must all belong to same template&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Create a new datacache using quick setup&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=&amp;lt;nowiki&amp;gt;AddFilter&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;filterQuestionLabel&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Question to apply filter to. If empty, then clear current filters&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;filterValue&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Value of the filter&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Add a filter to the DataCache&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;AddQuestionnaire&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=int|Name=&amp;lt;nowiki&amp;gt;questionnaireResourceId&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Questionnaire to add&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Add another questionnaire to the datacache. Return false if already added&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=&amp;lt;nowiki&amp;gt;CreateAllColumnsForAllQuestions&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=int|Name=&amp;lt;nowiki&amp;gt;questionnaireResourceId&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Set the associated questionnaire. Set to 0 to use primary questionnaire&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Find and create all column for all questions. They still need to be saved individually to be added.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=&amp;lt;nowiki&amp;gt;CreateAllColumnsForQuestion&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;question&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;QuestionLabel for the question you want all the dcs columns for&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=int|Name=&amp;lt;nowiki&amp;gt;questionnaireResourceId&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Set the associated questionnaire. Set to 0 to use primary questionnaire&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Find and create all column for a given question. They still need to be saved individually to be added.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=&amp;lt;nowiki&amp;gt;CreateAllColumnsForQuestions&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=array|Name=&amp;lt;nowiki&amp;gt;questions&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;QuestionLabels for the questions you want all the dcs columns for&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=int|Name=&amp;lt;nowiki&amp;gt;questionnaireResourceId&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Set the associated questionnaire. Set to 0 to use primary questionnaire&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Find and create all column for a given question. They still need to be saved individually to be added.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=object|Name=&amp;lt;nowiki&amp;gt;EvalWhere&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;whereExpression&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;The expression to execute. It must contain &#039;where&#039; and NOT start with a equal sign, and have 1 and only one semicolon in it&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Evaluate a single where expression up against the current DataCache&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=&amp;lt;nowiki&amp;gt;EvalWhere&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=Dictionary|Name=&amp;lt;nowiki&amp;gt;whereExpressions&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;The expressions to execute. They must contain &#039;where&#039; and MAY start with a equal sign, and have 1 and only one semicolon in it&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Evaluate a number of where expressions up against the current DataCache. If there are 2 or more expressions, the result is cached. Context weight and filters are ignored.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=&amp;lt;nowiki&amp;gt;EvalWhere&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=Dictionary|Name=&amp;lt;nowiki&amp;gt;whereExpressions&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;The expressions to execute. They must contain &#039;where&#039; and MAY start with a equal sign, and have 1 and only one semicolon in it&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;weight&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Column name of the weight to use in filter&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Evaluate a number of where expressions up against the current DataCache using a weight. If there are 2 or more expressions, the result is cached. Context weight and filters are ignored.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=&amp;lt;nowiki&amp;gt;EvalWhere&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=Dictionary|Name=&amp;lt;nowiki&amp;gt;whereExpressions&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;The expressions to execute. They must contain &#039;where&#039; and MAY start with a equal sign, and have 1 and only one semicolon in it&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;weight&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Column name of the weight to use in filter&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;filters&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Extra filters that apply to all where expressions&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Evaluate a number of where expressions up against the current DataCache using a weight. If there are 2 or more expressions, the result is cached. Context weight and filters are ignored.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=&amp;lt;nowiki&amp;gt;EvalWhere&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=Dictionary|Name=&amp;lt;nowiki&amp;gt;whereExpressions&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;The expressions to execute. They must contain &#039;where&#039; and MAY start with a equal sign, and have 1 and only one semicolon in it&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;weight&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Column name of the weight to use in filter&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;filters&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Extra filters that apply to all where expressions&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;freeTextFilters&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Extra free text search filters that apply to all where expressions&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Evaluate a number of where expressions up against the current DataCache using a weight. If there are 2 or more expressions, the result is cached. Context weight and filters are ignored.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=&amp;lt;nowiki&amp;gt;GetSecondaryQuestionnaireJoinType&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=int|Name=&amp;lt;nowiki&amp;gt;secondaryQuestionnaireResourceId&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Which secondary questionnaire&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Get the way secondary questionnaires are joined with the primary, default is empty,empty (userId to userId)&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=&amp;lt;nowiki&amp;gt;MakeContext&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Make the current DataCache the context DataCache&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=&amp;lt;nowiki&amp;gt;Rebuild&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=bool|Name=&amp;lt;nowiki&amp;gt;forceRebuild&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Rebuild even if dcs was already built and unchanged&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=bool|Name=&amp;lt;nowiki&amp;gt;waitForCompletion&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Do not return until the rebuild is complete&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=int|Name=&amp;lt;nowiki&amp;gt;minAgeInMinutes&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Rebuild only if last build ended more than this amount of minutes ago, 0 to disable check. This supersedes forceRebuild&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Rebuild the dcs. Notice this will commit the current transaction&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=&amp;lt;nowiki&amp;gt;Reset&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Reset to initial quick setup&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=&amp;lt;nowiki&amp;gt;Save&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Save the DataCache&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=&amp;lt;nowiki&amp;gt;SetSecondaryQuestionnaireJoinType&amp;lt;/nowiki&amp;gt;|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=int|Name=&amp;lt;nowiki&amp;gt;secondaryQuestionnaireResourceId&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Which secondary questionnaire&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;primaryQuestionnaireMapping&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Which question to map to. Empty maps to userId. Empty string maps to QasId&amp;lt;/nowiki&amp;gt;|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=&amp;lt;nowiki&amp;gt;secondaryQuestionnaireMapping&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;Which question to map to. Empty maps to userId. Empty string maps to QasId&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
|Description=&amp;lt;nowiki&amp;gt;Change the way secondary questionnaires are joined with the primary, default is empty,empty (userId to userId)&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=&amp;lt;nowiki&amp;gt;ToString&amp;lt;/nowiki&amp;gt;|Description=&amp;lt;nowiki&amp;gt;The string representation of the object.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=GetAllSecondaryQuestionnaireJoinType|Description=Get all the secondary questionnaires that are joined with the primary}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=ClearSecondaryQuestionnaireJoinType|Description=Delete all the secondary questionnaires which are joined with the primary}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=bool|Name=DeleteSecondaryQuestionnaireJoinType|Description=Delete the secondary questionnaire which is joined with the primary|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=int|Name=secondaryQuestionnaireResourceId|Description=Which secondary questionnaire}}}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;AutoUpdate&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set Auto Update&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;BuildWithWeight&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set if the DataCache should be built using weights&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=int|Name=&amp;lt;nowiki&amp;gt;CachedRecords&amp;lt;/nowiki&amp;gt;|HasGetter=1|Description=&amp;lt;nowiki&amp;gt;How many records does the DataCache currently hold&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=array|Name=&amp;lt;nowiki&amp;gt;ColumnNames&amp;lt;/nowiki&amp;gt;|HasGetter=1|Description=&amp;lt;nowiki&amp;gt;List of Column names&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=array|Name=&amp;lt;nowiki&amp;gt;Columns&amp;lt;/nowiki&amp;gt;|HasGetter=1|Description=&amp;lt;nowiki&amp;gt;List of Column objects&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;Completed&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set include completed&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;Deleted&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set include deleted&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=&amp;lt;nowiki&amp;gt;Description&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set description of the DataCache&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;Disabled&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set include disabled&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;InterviewFailed&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set include marked as interview failed&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;InterviewSucceeded&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set include marked as interview succeeded&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;IsOutOfDate&amp;lt;/nowiki&amp;gt;|HasGetter=1|Description=&amp;lt;nowiki&amp;gt;Does the DataCache need to be rebuilt to have the correct content&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=&amp;lt;nowiki&amp;gt;Language&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set the iso code used in building the items that depend on a specific language&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=DateTime|Name=&amp;lt;nowiki&amp;gt;LastUpdated&amp;lt;/nowiki&amp;gt;|HasGetter=1|Description=&amp;lt;nowiki&amp;gt;Time of the last rebuild&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=&amp;lt;nowiki&amp;gt;Name&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Name of the DataCache resource&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;Normal&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set include normal&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;NotStarted&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set include those not yet started&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=&amp;lt;nowiki&amp;gt;ObjectTypeName&amp;lt;/nowiki&amp;gt;|HasGetter=1|Description=&amp;lt;nowiki&amp;gt;The name of the type of object.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;OutsideTarget&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set include those marked outside target&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;Partly&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set include partly completed&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=ProfilingResult|Name=&amp;lt;nowiki&amp;gt;ProfileFromLastEval&amp;lt;/nowiki&amp;gt;|HasGetter=1|Description=&amp;lt;nowiki&amp;gt;Get the profile result from the last run of EvalWhere.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=array|Name=&amp;lt;nowiki&amp;gt;QuestionnaireIds&amp;lt;/nowiki&amp;gt;|HasGetter=1|Description=&amp;lt;nowiki&amp;gt;List of the questionnaires used in the DataCache&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=int|Name=&amp;lt;nowiki&amp;gt;QuestionnaireTemplateId&amp;lt;/nowiki&amp;gt;|HasGetter=1|Description=&amp;lt;nowiki&amp;gt;The resource id of the questionnaire template used in the DataCache&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;QuotaFull&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set include those with full quota&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=int|Name=&amp;lt;nowiki&amp;gt;ResourceId&amp;lt;/nowiki&amp;gt;|HasGetter=1|Description=&amp;lt;nowiki&amp;gt;The Id of the DataCache&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=&amp;lt;nowiki&amp;gt;Test&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set include those marked as test&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=&amp;lt;nowiki&amp;gt;TypeInformation&amp;lt;/nowiki&amp;gt;|HasGetter=1|Description=&amp;lt;nowiki&amp;gt;Get information about this class.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=int|Name=&amp;lt;nowiki&amp;gt;UpdateFrequence&amp;lt;/nowiki&amp;gt;|HasGetter=1|HasSetter=1|Description=&amp;lt;nowiki&amp;gt;Get/Set Update Frequence in minutes&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=Array of objects|Name=&amp;lt;nowiki&amp;gt;Weights&amp;lt;/nowiki&amp;gt;|HasGetter=1|Description=&amp;lt;nowiki&amp;gt;Get list of existing weights.&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Examples&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ex1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
DCS_use(37244952); // set DCS context&lt;br /&gt;
string e1 = &amp;quot;count() where S_Age == [1] &amp;amp;&amp;amp; M_Travel == [1,2];&amp;quot;;&lt;br /&gt;
Dictionary d =&lt;br /&gt;
{&lt;br /&gt;
 &amp;quot;exp1&amp;quot;: &amp;quot;count() where S_Age == [1] &amp;amp;&amp;amp; M_Travel == [1,2];&amp;quot;,&lt;br /&gt;
 &amp;quot;exp2&amp;quot;: &amp;quot;count() where S_Age == [2] &amp;amp;&amp;amp; M_Travel == [1];&amp;quot;&lt;br /&gt;
};&lt;br /&gt;
print(DCS_evaluateWhereExpression(e1)); // 68&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(); // Represent a DCS which is used as current DCS context&lt;br /&gt;
print(dcs.EvalWhere(e1)); // 68&lt;br /&gt;
print(dcs.EvalWhere(d)); // {&amp;quot;exp1&amp;quot;: 68, &amp;quot;exp2&amp;quot;: 46}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Ex2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
string e1 = &amp;quot;count() where S_Age == [1] &amp;amp;&amp;amp; M_Travel == [1,2];&amp;quot;;&lt;br /&gt;
Dictionary d =&lt;br /&gt;
{&lt;br /&gt;
 &amp;quot;exp1&amp;quot;: &amp;quot;count() where S_Age == [1] &amp;amp;&amp;amp; M_Travel == [1,2];&amp;quot;,&lt;br /&gt;
 &amp;quot;exp2&amp;quot;: &amp;quot;count() where S_Age == [2] &amp;amp;&amp;amp; M_Travel == [1];&amp;quot;&lt;br /&gt;
};&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(37244952); // Represents a DCS which has Resource Id: 37244952&lt;br /&gt;
print(dcs.EvalWhere(e1)); // 68&lt;br /&gt;
print(dcs.EvalWhere(d)); // {&amp;quot;exp1&amp;quot;: 68, &amp;quot;exp2&amp;quot;: 46}&lt;br /&gt;
dcs.MakeContext(); // or you can use DCS_use(RID) instead&lt;br /&gt;
print(DCS_evaluateWhereExpression(e1)); // without the previous statement (dcs.MakeContext();), you will get error at this line because there is no DCS context is set, so you can not use DCS_evaluateWhereExpression(e1)&lt;br /&gt;
dcs.Partly = false; // Not include the partly completed QASs&lt;br /&gt;
dcs.NotStarted = false; // Not include the not started QASs&lt;br /&gt;
dcs.Save(); // Must save to make the above statements applied on DCS, but this statement does not REBUILD the DCS&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Ex 3:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
ProfilingResult pr;&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(12006923); &lt;br /&gt;
pr = dcs.ProfileFromLastEval;&lt;br /&gt;
pr.EnableProfiling = true;&lt;br /&gt;
dcs.EvalWhere({&lt;br /&gt;
 &amp;quot;ex1&amp;quot;: &amp;quot;count() where true&amp;quot;&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
print(pr.CompileTime); // 0.1694&lt;br /&gt;
print(pr.CountResult); // {&amp;quot;5&amp;quot;: {&amp;quot;2&amp;quot;: 1}, &amp;quot;9&amp;quot;: {&amp;quot;4&amp;quot;: 1}} &lt;br /&gt;
print(pr.DependencyGraphTime); // 0&lt;br /&gt;
print(pr.TimeResult); // {&amp;quot;10&amp;quot;: {&amp;quot;-1&amp;quot;: 0.0158, &amp;quot;4&amp;quot;: 0.0158}, &amp;quot;11&amp;quot;: {&amp;quot;-1&amp;quot;: 0.0021, &amp;quot;4&amp;quot;: 0.0021}, &amp;quot;5&amp;quot;: {&amp;quot;-1&amp;quot;: 1.1024, &amp;quot;2&amp;quot;: 1.1024}, &amp;quot;9&amp;quot;: {&amp;quot;-1&amp;quot;: 0.0063, &amp;quot;4&amp;quot;: 0.0063}}&lt;br /&gt;
print(pr.WhereExpTime); // 0&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Ex 4:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(15517146);&lt;br /&gt;
&lt;br /&gt;
array questionColumns = dcs.CreateAllColumnsForQuestion(&amp;quot;Q1&amp;quot;,0); //Create new column(s) for a question and use primary questionnaire &lt;br /&gt;
&lt;br /&gt;
for(number i= 0; i &amp;lt; questionColumns.Count; i++){&lt;br /&gt;
 questionColumns[i].Save(); //or method .Delete() in case removing column from dcs&lt;br /&gt;
}&lt;br /&gt;
dcs.Save(); //Must save to make the above statements applied on DCS, but this statement does not REBUILD the DCS&lt;br /&gt;
print(dcs.ColumnNames);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Ex 5:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(15517146);&lt;br /&gt;
&lt;br /&gt;
array questionColumns = dcs.CreateAllColumnsForAllQuestions(15517148); //Create ALL columns for ALL questions.Set to 0 to use primary questionnaire&lt;br /&gt;
&lt;br /&gt;
for(number i= 0; i &amp;lt; questionColumns.Count; i++){&lt;br /&gt;
 questionColumns[i].Save();&lt;br /&gt;
}&lt;br /&gt;
dcs.Save(); //Must save to make the above statements applied on DCS, but this statement does not REBUILD the DCS&lt;br /&gt;
print(dcs.ColumnNames);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Ex 6:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(15558382);&lt;br /&gt;
dcs.AddQuestionnaire(15558383);&lt;br /&gt;
dcs.Save();&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Ex 7:&#039;&#039;&#039; Using freeTextFilters on EvalWhere&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(15557696);&lt;br /&gt;
Dictionary d ={&lt;br /&gt;
	&amp;quot;exp&amp;quot;: &amp;quot;selectColumn(Id) where true;&amp;quot;&lt;br /&gt;
};&lt;br /&gt;
string freeTextFilters  = &amp;quot;UserId: [39149 TO 47878]&amp;quot;;&lt;br /&gt;
dcs.EvalWhere(d,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;,freeTextFilters);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Ex 8:&#039;&#039;&#039; CreateAllColumnsForQuestions&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
//*****Example for using CreateAllColumnsForQuestions*****//&lt;br /&gt;
//Constructor a DCS&lt;br /&gt;
number DCSRId = 15572568;&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(DCSRId);&lt;br /&gt;
//Add columns into the DCS&lt;br /&gt;
number qnaireRId = 15572331;// any qnaire that you want to add columns to the above DCS  &lt;br /&gt;
array questionsLabel = {&amp;quot;District&amp;quot;, &amp;quot;Age&amp;quot;};&lt;br /&gt;
Dictionary d = dcs.CreateAllColumnsForQuestions(questionsLabel, qnaireRId);//{&amp;quot;Age&amp;quot;: {QcsQuestionColumn}, &amp;quot;District&amp;quot;: {QcsQuestionColumn}}&lt;br /&gt;
array arrayQcsColumn = d.Values;//{{QcsQuestionColumn},{QcsQuestionColumn}}&lt;br /&gt;
&lt;br /&gt;
for(number i=0;i&amp;lt;arrayQcsColumn.Count; i++)&lt;br /&gt;
{&lt;br /&gt;
	array QcsColumn = arrayQcsColumn[i];//{QcsQuestionColumn}&lt;br /&gt;
	for(number j=0; j&amp;lt;QcsColumn.Count; j++)&lt;br /&gt;
	{&lt;br /&gt;
		QcsQuestionColumn col = QcsColumn[j];&lt;br /&gt;
		col.Save();&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
//Save DCS&lt;br /&gt;
dcs.Save();&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Ex 9:&#039;&#039;&#039; Set/GetSecondaryQuestionnaireJoinType&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
//*****Example for using Set/GetSecondaryQuestionnaireJoinType*****//&lt;br /&gt;
&lt;br /&gt;
//case name(question type text), name (question type number)&lt;br /&gt;
DCS_use(15567484);&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification();&lt;br /&gt;
string primaryQnaireMapping = &amp;quot;CompanyNo_Text&amp;quot;;&lt;br /&gt;
string secondaryQnaireMapping = &amp;quot;CompanyNo&amp;quot;;&lt;br /&gt;
dcs.SetSecondaryQuestionnaireJoinType(15567469,primaryQnaireMapping,secondaryQnaireMapping);&lt;br /&gt;
dcs.Save();&lt;br /&gt;
dcs.GetSecondaryQuestionnaireJoinType(15567469);//{CompanyNo_Text,CompanyNo}&lt;br /&gt;
DCS_rebuild();&lt;br /&gt;
&lt;br /&gt;
//case null, name: user id in primary is same as question in secondary&lt;br /&gt;
DCS_use(15567484);&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification();&lt;br /&gt;
string primaryQnaireMapping = empty;&lt;br /&gt;
string secondaryQnaireMapping = &amp;quot;userId_A&amp;quot;;&lt;br /&gt;
dcs.SetSecondaryQuestionnaireJoinType(15567469,primaryQnaireMapping,secondaryQnaireMapping);&lt;br /&gt;
dcs.Save();&lt;br /&gt;
DCS_rebuild();&lt;br /&gt;
dcs.GetSecondaryQuestionnaireJoinType(15567469);//{Empty,userId_A}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
[[Category:Classes]]&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Question_getAll&amp;diff=26023</id>
		<title>Question getAll</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Question_getAll&amp;diff=26023"/>
		<updated>2017-03-31T02:54:34Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Questionnaire_Functions]]&lt;br /&gt;
{{HelpFiles}}&lt;br /&gt;
&lt;br /&gt;
=== Question_getAll ===&lt;br /&gt;
&lt;br /&gt;
Get all question by Questionnaire resource Id.&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&lt;br /&gt;
Question_getAll(questionnaireResourceId[, Isocode]);&lt;br /&gt;
&lt;br /&gt;
=== Arguments ===&lt;br /&gt;
&lt;br /&gt;
questionnaireResourceId: is a number expression, it is resource id of Questionnaire.&lt;br /&gt;
&lt;br /&gt;
Isocode: is a string expression, it is [http://www.lingoes.net/en/translator/langcode.htm Iso code] of language&lt;br /&gt;
=== Return type ===&lt;br /&gt;
&lt;br /&gt;
array&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
Question_getAll(234110);&lt;br /&gt;
/*&lt;br /&gt;
{{12,6801,9,D_Initialize,,{},{}},{12,6805,5,D_InitializeJSON,,{},{}},{12,6802,4,BROWSER,,{},&lt;br /&gt;
{}},{12,6803,1,D_CurrentLanguage,,{{13,1,United Kingdom},{13,2,Gemany}},{}},{12,6804,1,Intro,,&lt;br /&gt;
{{13,1,I am from SUB},{13,2,I am from HQ}},{}},{12,6806,1,Q1,&amp;lt;p&amp;gt; Please rate the day on relevance and quality &amp;lt;/p&amp;gt;,&lt;br /&gt;
{{13,1,Very low},{13,2,Low}, {13,3,Moderate},{13,4,High},{13,5,Very High}},{}}}&lt;br /&gt;
*/&lt;br /&gt;
&amp;lt;/source&amp;gt; __NOTOC__&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=QuestionnaireStatistics_class&amp;diff=25677</id>
		<title>QuestionnaireStatistics class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=QuestionnaireStatistics_class&amp;diff=25677"/>
		<updated>2016-10-31T07:59:10Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=QuestionnaireStatistics&lt;br /&gt;
|Description=The questionnaire statistics collection. To view information like how big a sample is used, how large is the active samples etc.&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=array|Name=qids|Description=An array of questionnaire resource ids. Invalid ids are ignored. Deleted ids are ok. Must have Read permission.}}&lt;br /&gt;
|Description=Constructor to take many questionnaires}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=AverageInterviewSucceededTime|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of AverageInterviewSucceededTime}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=EstimatedTime|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of EstimatedTime}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=EstimatedTotalTime|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of EstimatedTotalTime}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NonSampleRules|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NonSampleRules}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NonSampleRulesWithData|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NonSampleRulesWithData}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NonSampleRulesWithoutData|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NonSampleRulesWithoutData}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfActiveNotContactedRpq|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfActiveNotContactedRpq}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfActiveSample|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfActiveSample}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfAvailable|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfAvailable}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfAvailableActive|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfAvailableActive}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfCompleted|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfCompleted}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfCompletedToday|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfCompletedToday}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfCompletedYesterday|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfCompletedYesterday}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfInterviewSucceeded|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfInterviewSucceeded}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfInterviewSucceededToday|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfInterviewSucceededToday}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfInterviewSucceededYesterday|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfInterviewSucceededYesterday}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfNotContactedRpq|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfNotContactedRpq}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfPartly|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfPartly}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfSample|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfSample}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfTestLink|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of NumberOfTestLink}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=TargetReachedCount|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get count of TargetReachedCount}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=DateTime|Name=FirstInterview|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get start date of the first interview}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=DateTime|Name=LatestInterview|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get end date of the latest interview}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=NumberOfEmails|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=QuestionnaireResourceId|Description=The Id to get the info from}}&lt;br /&gt;
|Description=Get number of emails was send out}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=QuestionnaireLayout_class&amp;diff=25665</id>
		<title>QuestionnaireLayout class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=QuestionnaireLayout_class&amp;diff=25665"/>
		<updated>2016-10-27T06:46:41Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=QuestionnaireLayout&lt;br /&gt;
|Description=A layout for a questionnaire&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=resourceId|Description=ResourceId of existing QuestionnaireLayout}}&lt;br /&gt;
|Description=Fetch existing QuestionnaireLayout}}&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=name|Description=Resource name|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=parentResourceId|Description=Parent resource}}&lt;br /&gt;
|Description=Create new QuestionnaireLayout}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=ResourceId|HasGetter=1|Description=The Id of the Resource}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ResourceName|HasGetter=1|Description=The name of the Resource}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Description|HasGetter=1|HasSetter=1|Description=Description of the QuestionnaireLayout}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Html|HasGetter=1|HasSetter=1|Description=The Html of the QuestionnaireLayout}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Css|HasGetter=1|HasSetter=1|Description=The Css of the QuestionnaireLayout}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=Save|Description=Save the QuestionnaireLayout}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621&amp;quot;&amp;gt;&#039;&#039;&#039;Examples&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
number parentId = 1234;&lt;br /&gt;
QuestionnaireLayout l = new QuestionnaireLayout(&amp;quot;Test layout&amp;quot;, parentID);&lt;br /&gt;
l.Html = &amp;quot;&amp;lt;div id=&#039;questioncontent&#039;&amp;gt;[[QUESTION]]&amp;lt;/div&amp;gt;&amp;lt;div id=&#039;navigationbar&#039;&amp;gt;[[NAVIGATION]]&amp;lt;/div&amp;gt;&amp;quot;;&lt;br /&gt;
l.Css = &amp;quot;.cg-ui-question &amp;gt; .cg-ui-text {font-weight: bold;}&amp;quot;;&lt;br /&gt;
l.Save();&lt;br /&gt;
l.ResourceId;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=QuestionnaireLayout_class&amp;diff=25664</id>
		<title>QuestionnaireLayout class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=QuestionnaireLayout_class&amp;diff=25664"/>
		<updated>2016-10-27T06:41:02Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: Created page with &amp;quot;{{CGscriptClass_Template |Name=QuestionnaireLayout |Description=A layout for a questionnaire |Constructors= {{CGscriptConstructors_Template|Parameters= {{CGscriptParameters_Te...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=QuestionnaireLayout&lt;br /&gt;
|Description=A layout for a questionnaire&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=resourceId|Description=ResourceId of existing QuestionnaireLayout}}&lt;br /&gt;
|Description=Fetch existing QuestionnaireLayout}}&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=name|Description=Resource name}}&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=parentResourceId|Description=Parent resource}}&lt;br /&gt;
|Description=Create new QuestionnaireLayout}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=ResourceId|HasGetter=1|Description=The Id of the Resource}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ResourceName|HasGetter=1|Description=The name of the Resource}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Description|HasGetter=1|HasSetter=1|Description=Description of the QuestionnaireLayout}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Html|HasGetter=1|HasSetter=1|Description=The Html of the QuestionnaireLayout}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Css|HasGetter=1|HasSetter=1|Description=The Css of the QuestionnaireLayout}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=Save|Description=Save the QuestionnaireLayout}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621&amp;quot;&amp;gt;&#039;&#039;&#039;Examples&#039;&#039;&#039;&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
number parentId = 1234;&lt;br /&gt;
QuestionnaireLayout l = new QuestionnaireLayout(&amp;quot;Test layout&amp;quot;, parentID);&lt;br /&gt;
l.Html = &amp;quot;&amp;lt;meta content=&#039;width=device-width&#039;name=viewport&amp;gt;&amp;lt;div id=body-in&amp;gt;&amp;lt;div id=wrapper&amp;gt;&amp;lt;div id=header&amp;gt;&amp;lt;div id=logo&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id=questioncontent&amp;gt;[[QUESTION]]&amp;lt;div&amp;gt;[[COUNTDOWN]]&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;[[SPINNER]]&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id=footer&amp;gt;&amp;lt;div id=navigationbar&amp;gt;[[NAVIGATION]]&amp;lt;/div&amp;gt;&amp;lt;div id=progressbar&amp;gt;[[PROGRESS]]&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;quot;;&lt;br /&gt;
l.Css = &amp;quot;.cg-ui-question &amp;gt; .cg-ui-text {font-weight: bold;}&amp;quot;;&lt;br /&gt;
l.Save();&lt;br /&gt;
l.ResourceId;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=PanelStatistics_class&amp;diff=25365</id>
		<title>PanelStatistics class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=PanelStatistics_class&amp;diff=25365"/>
		<updated>2016-03-16T10:43:31Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=PanelStatistics&lt;br /&gt;
|Description=The panel statistics collection. To view information like how big a panel is, how it is used etc.&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=array|Name=questionnaireResourceTemplateRId|Description=the questionnaires examined to these types (required)|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=bulkmailIds|Description=The count of mails sent to those sent from these bulkmails (required)|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=groupRId|Description=Resource id of group containing all panel members|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=from|Description=From date|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=to|Description=To date|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=groupBy|Description=Return results in these groupings. 1=Week, 2=Month, 3=Quarter, 4=Year|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=panelCreationQuestionnaireResourceId|Description=If &amp;gt;0 then the endodate of qas in this questionnaire is used for creation date, otherwise the user created date is used}}&lt;br /&gt;
|Description=Create new statistics}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountActive|Description=Number of panel members that started a survey.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountCompletedInterviews|Description=Number of panel members that completed a survey.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountCreated|Description=Number of panel members that was created.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountDisabled|Description=Number of panel members that was disabled.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountGotInvitation|Description=Number of panel members that received an invitation.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountReadInvitation|Description=Number of panel members that read an invitation. This number depends on emails using the tracking feature, and is thus subject to same inaccuracy.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountTotal|Description=The number of panel members excluding disabled and deleted.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=GetGroupings|Description=The groping values. E.g. week 32 in 2014 is returned as {32, 2014}. Grouping by year is returned as {2014, 2014}.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=TotalAvailablePoints|Description=Sum of points panel members has available at the &#039;to&#039; date}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=TotalEarnedPoints|Description=Sum of points panel members earned}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=TotalUsedPoints|Description=Sum of points panel members used}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountEarnedPoints|Description=Number of points panel members earned}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=TotalEarnedPointsBySurvey|Description=Dictionary of questionnaire id and number of points panel members earned for that questionnaire}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountUsedPoints|Description=Number of points panel members used. Included points spent on shopping and subtracted for going back in a questionnaire.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountUsedPointsOnOrders|Description=Number of points panel members used for shopping.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
array a = DateTime_getByYMD(2014,12,24); array b = DateTime_getByYMD(2015,12,24);&lt;br /&gt;
&lt;br /&gt;
PanelStatistics panel=new PanelStatistics({45592},{2066},69441,a,b,1);&lt;br /&gt;
&lt;br /&gt;
array CountActive=panel.CountActive();// - Number of panel members that started a survey.&lt;br /&gt;
&lt;br /&gt;
array CountCompletedInterviews=panel.CountCompletedInterviews();// - Number of panel members that completed a survey.&lt;br /&gt;
&lt;br /&gt;
array CountCreated=panel.CountCreated();// - Number of panel members that was created.&lt;br /&gt;
&lt;br /&gt;
array CountDisabled=panel.CountDisabled()// - Number of panel members that was disabled.&lt;br /&gt;
&lt;br /&gt;
array CountGotInvitation=panel.CountGotInvitation();// - Number of panel members that received an invitation.&lt;br /&gt;
&lt;br /&gt;
array CountReadInvitation=panel.CountReadInvitation();// - Number of panel members that read an invitation. This number depends on emails using the tracking feature, and is thus subject to same inaccuracy.&lt;br /&gt;
&lt;br /&gt;
array CountTotal=panel.CountTotal();// - The number of panel members including disabled.&lt;br /&gt;
&lt;br /&gt;
array GetGroupings=panel.GetGroupings();// - The groping values. E.g. week 32 in 2014 is returned as {32,2014}. Grouping by year is returned as {2014,2014}&lt;br /&gt;
&lt;br /&gt;
string ToString=panel.ToString();// - The string representation of the object.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=PanelStatistics_class&amp;diff=25364</id>
		<title>PanelStatistics class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=PanelStatistics_class&amp;diff=25364"/>
		<updated>2016-03-16T10:40:44Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=PanelStatistics&lt;br /&gt;
|Description=The panel statistics collection. To view information like how big a panel is, how it is used etc.&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=array|Name=questionnaireResourceTemplateRId|Description=the questionnaires examined to these types (required)|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=bulkmailIds|Description=The count of mails sent to those sent from these bulkmails (required)|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=groupRId|Description=Resource id of group containing all panel members|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=from|Description=From date|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=to|Description=To date|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=groupBy|Description=Return results in these groupings. 1=Week, 2=Month, 3=Quarter, 4=Year}}&lt;br /&gt;
|Description=Create new statistics}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountActive|Description=Number of panel members that started a survey.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountCompletedInterviews|Description=Number of panel members that completed a survey.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountCreated|Description=Number of panel members that was created.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountDisabled|Description=Number of panel members that was disabled.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountGotInvitation|Description=Number of panel members that received an invitation.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountReadInvitation|Description=Number of panel members that read an invitation. This number depends on emails using the tracking feature, and is thus subject to same inaccuracy.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountTotal|Description=The number of panel members excluding disabled and deleted.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=GetGroupings|Description=The groping values. E.g. week 32 in 2014 is returned as {32, 2014}. Grouping by year is returned as {2014, 2014}.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=TotalAvailablePoints|Description=Sum of points panel members has available at the &#039;to&#039; date}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=TotalEarnedPoints|Description=Sum of points panel members earned}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=TotalUsedPoints|Description=Sum of points panel members used}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountEarnedPoints|Description=Number of points panel members earned}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=TotalEarnedPointsBySurvey|Description=Dictionary of questionnaire id and number of points panel members earned for that questionnaire}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountUsedPoints|Description=Number of points panel members used. Included points spent on shopping and subtracted for going back in a questionnaire.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountUsedPointsOnOrders|Description=Number of points panel members used for shopping.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
array a = DateTime_getByYMD(2014,12,24); array b = DateTime_getByYMD(2015,12,24);&lt;br /&gt;
&lt;br /&gt;
PanelStatistics panel=new PanelStatistics({45592},{2066},69441,a,b,1);&lt;br /&gt;
&lt;br /&gt;
array CountActive=panel.CountActive();// - Number of panel members that started a survey.&lt;br /&gt;
&lt;br /&gt;
array CountCompletedInterviews=panel.CountCompletedInterviews();// - Number of panel members that completed a survey.&lt;br /&gt;
&lt;br /&gt;
array CountCreated=panel.CountCreated();// - Number of panel members that was created.&lt;br /&gt;
&lt;br /&gt;
array CountDisabled=panel.CountDisabled()// - Number of panel members that was disabled.&lt;br /&gt;
&lt;br /&gt;
array CountGotInvitation=panel.CountGotInvitation();// - Number of panel members that received an invitation.&lt;br /&gt;
&lt;br /&gt;
array CountReadInvitation=panel.CountReadInvitation();// - Number of panel members that read an invitation. This number depends on emails using the tracking feature, and is thus subject to same inaccuracy.&lt;br /&gt;
&lt;br /&gt;
array CountTotal=panel.CountTotal();// - The number of panel members including disabled.&lt;br /&gt;
&lt;br /&gt;
array GetGroupings=panel.GetGroupings();// - The groping values. E.g. week 32 in 2014 is returned as {32,2014}. Grouping by year is returned as {2014,2014}&lt;br /&gt;
&lt;br /&gt;
string ToString=panel.ToString();// - The string representation of the object.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=User_insertPoints&amp;diff=25363</id>
		<title>User insertPoints</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=User_insertPoints&amp;diff=25363"/>
		<updated>2016-03-16T08:41:29Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User_Functions]]&lt;br /&gt;
﻿{{HelpFiles}}&lt;br /&gt;
&lt;br /&gt;
==== User_insertPoints ====&lt;br /&gt;
&lt;br /&gt;
Add points to a user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Syntax&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
User_insertPoints(&#039;&#039;points, description&#039;&#039;): add points for a user in current RPQ context. &#039;&#039;&#039;Note&#039;&#039;&#039;: use this function so we can analyze points data by questionnaire and have tracking information&lt;br /&gt;
&lt;br /&gt;
User_insertPoints(&#039;&#039;points, description, userResourceId&#039;&#039;): add manual transaction point for a user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;points&#039;&#039;: is a &#039;&#039;number &#039;&#039;expression. It is the number of points to add&lt;br /&gt;
*&#039;&#039;description&#039;&#039;: is a &#039;&#039;string &#039;&#039;expression. It is the description of the transaction&lt;br /&gt;
*&#039;&#039;userResourceId&#039;&#039;: is a &#039;&#039;number &#039;&#039;expression. It is the resource id of a user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Return value&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
empty&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;User_insertPoints(120, &amp;quot;some description&amp;quot;, 46898);&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Availability&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Version 5.6 __NOTOC__&lt;br /&gt;
&amp;lt;!-- imported from file: 6292.htm--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=User_insertPoints&amp;diff=25362</id>
		<title>User insertPoints</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=User_insertPoints&amp;diff=25362"/>
		<updated>2016-03-16T08:40:20Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:User_Functions]]&lt;br /&gt;
﻿{{HelpFiles}}&lt;br /&gt;
&lt;br /&gt;
==== User_insertPoints ====&lt;br /&gt;
&lt;br /&gt;
Add points to a user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Syntax&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
User_insertPoints(&#039;&#039;points, description&#039;&#039;): add points for a user in current RPQ context. &#039;&#039;&#039;Note&#039;&#039;&#039;: use this function so we can analyze points data by questionnaire and have tracking infomation&lt;br /&gt;
&lt;br /&gt;
User_insertPoints(&#039;&#039;points, description, userResourceId&#039;&#039;): add manual transaction point for a user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Arguments&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;points&#039;&#039;: is a &#039;&#039;number &#039;&#039;expression. It is the number of points to add&lt;br /&gt;
*&#039;&#039;description&#039;&#039;: is a &#039;&#039;string &#039;&#039;expression. It is the description of the transaction&lt;br /&gt;
*&#039;&#039;userResourceId&#039;&#039;: is a &#039;&#039;number &#039;&#039;expression. It is the resource id of a user&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Return value&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
empty&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;User_insertPoints(120, &amp;quot;some description&amp;quot;, 46898);&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Availability&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Version 5.6 __NOTOC__&lt;br /&gt;
&amp;lt;!-- imported from file: 6292.htm--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Goto_and_clear_if&amp;diff=25341</id>
		<title>Goto and clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Goto_and_clear_if&amp;diff=25341"/>
		<updated>2016-01-11T08:40:20Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Conditions]]&lt;br /&gt;
==== Go to and clear if ====&lt;br /&gt;
&lt;br /&gt;
Syntax&amp;amp;nbsp;: GOTO LABEL (IF EXPRESSION) ANDCLEAR [LABEL1(,LABEL2)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*Argument:&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
LABEL&amp;amp;nbsp;: label of an other question&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*If IF EXPRESSION is not defined, the expression of condition will have the value &amp;quot;true&amp;quot;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[LABEL1(,LABEL2)]: list of question will be delete data if condition is met&lt;br /&gt;
&lt;br /&gt;
Position&amp;amp;nbsp;: At the end of question declaration&lt;br /&gt;
&lt;br /&gt;
This condition support all question type&lt;br /&gt;
&lt;br /&gt;
Example&amp;amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
QUESTION testPage PAGE&lt;br /&gt;
&lt;br /&gt;
This is question text&lt;br /&gt;
&lt;br /&gt;
GOTO anotherQuestion_1 IF (QTest == 1) ANDCLEAR [Q1,Q2]&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Goto_and_clear_if&amp;diff=25340</id>
		<title>Goto and clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Goto_and_clear_if&amp;diff=25340"/>
		<updated>2016-01-11T08:40:04Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: Created page with &amp;quot;[{Category:Conditions]] ==== Go to and clear if ====  Syntax&amp;amp;nbsp;: GOTO LABEL (IF EXPRESSION) ANDCLEAR [LABEL1(,LABEL2)]  &amp;lt;nowiki&amp;gt;*Argument:&amp;lt;/nowiki&amp;gt;  LABEL&amp;amp;nbsp;: label of a...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[{Category:Conditions]]&lt;br /&gt;
==== Go to and clear if ====&lt;br /&gt;
&lt;br /&gt;
Syntax&amp;amp;nbsp;: GOTO LABEL (IF EXPRESSION) ANDCLEAR [LABEL1(,LABEL2)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*Argument:&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
LABEL&amp;amp;nbsp;: label of an other question&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*If IF EXPRESSION is not defined, the expression of condition will have the value &amp;quot;true&amp;quot;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[LABEL1(,LABEL2)]: list of question will be delete data if condition is met&lt;br /&gt;
&lt;br /&gt;
Position&amp;amp;nbsp;: At the end of question declaration&lt;br /&gt;
&lt;br /&gt;
This condition support all question type&lt;br /&gt;
&lt;br /&gt;
Example&amp;amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
QUESTION testPage PAGE&lt;br /&gt;
&lt;br /&gt;
This is question text&lt;br /&gt;
&lt;br /&gt;
GOTO anotherQuestion_1 IF (QTest == 1) ANDCLEAR [Q1,Q2]&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Show_or_clear_if&amp;diff=25338</id>
		<title>Show or clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Show_or_clear_if&amp;diff=25338"/>
		<updated>2016-01-11T08:26:50Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: Created page with &amp;quot;Category:Conditions  ==== Show or clear if ====  Syntax&amp;amp;nbsp;: IF EXPRESSION ORCLEARCURRENT  Position&amp;amp;nbsp;: Right after question type and before question properties ( if ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Conditions]]&lt;br /&gt;
&lt;br /&gt;
==== Show or clear if ====&lt;br /&gt;
&lt;br /&gt;
Syntax&amp;amp;nbsp;: IF EXPRESSION ORCLEARCURRENT&lt;br /&gt;
&lt;br /&gt;
Position&amp;amp;nbsp;: Right after question type and before question properties ( if it existed )&lt;br /&gt;
&lt;br /&gt;
A question can have many show if condition&lt;br /&gt;
&lt;br /&gt;
Example 1&amp;amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
QUESTION qTest TEXT&lt;br /&gt;
&lt;br /&gt;
IF (anotherQuestion == 1) ORCLEARCURRENT&lt;br /&gt;
&lt;br /&gt;
This is question text&lt;br /&gt;
&lt;br /&gt;
Example 2&amp;amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
QUESTION qTest TEXT&lt;br /&gt;
&lt;br /&gt;
IF (anotherQuestion_1 == 1) ORCLEARCURRENT&lt;br /&gt;
&lt;br /&gt;
IF (anotherQuestion_2 == 1) ORCLEARCURRENT&lt;br /&gt;
&lt;br /&gt;
This is question text&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Condition_name:_Goto_question_and_clear_if&amp;diff=25333</id>
		<title>Condition name: Goto question and clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Condition_name:_Goto_question_and_clear_if&amp;diff=25333"/>
		<updated>2016-01-11T08:10:25Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Question_conditions]]&lt;br /&gt;
[[Category:Question_conditions]]&lt;br /&gt;
== Condition name: Go to question and clear if ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question types applied&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
All&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When a respondent has answered a question with this condition related to it and clicks next, then the condition will be tested before going on to the next question in the questionnaire.&lt;br /&gt;
&lt;br /&gt;
If the condition is met then the user will be sent to a specified question in the questionnaire (which is normally not the next question in the questionnaire), and &#039;&#039;&#039;all selected question in &amp;quot;Clear data&amp;quot; list of condition will be delete its data.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the condition fails then the user will skip the question and be sent to the next question in the questionnaire instead.&lt;br /&gt;
&lt;br /&gt;
A question may have multiple &amp;quot;Go to question and clear if&amp;quot; conditions. The system will check one at a time, starting with the top one, and if any of the conditions are met then the system will ignore the remaining conditions and immediately fulfill the &amp;quot;go to&amp;quot; requirements of that condition.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clear data list&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*The list should default to all from (but not including) the current question to (and including) the target question&lt;br /&gt;
*The user may then add or remove questions&lt;br /&gt;
*If a question is inserted or moved in/out clear range or the current question / target question moved around, it will be update automatic clear range&lt;br /&gt;
*In the list of questions, a question that participates in a clear range should have indication that it is and mouseover should inform which questions might clear the data of this question if their GOTO is triggered&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[File:GotoAndClearIf31.png|none|GotoAndClearIf31.png]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[File:GotoAndClearIf2.png|none|GotoAndClearIf2.png]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Version&#039;&#039;&#039; 6.0&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Condition_name:_Goto_question_and_clear_if&amp;diff=25332</id>
		<title>Condition name: Goto question and clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Condition_name:_Goto_question_and_clear_if&amp;diff=25332"/>
		<updated>2016-01-11T08:07:37Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Question_conditions]]&lt;br /&gt;
== Condition name: Go to question and clear if ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question types applied&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
All&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When a respondent has answered a question with this condition related to it and clicks next, then the condition will be tested before going on to the next question in the questionnaire.&lt;br /&gt;
&lt;br /&gt;
If the condition is met then the user will be sent to a specified question in the questionnaire (which is normally not the next question in the questionnaire), and &#039;&#039;&#039;all selected question in &amp;quot;Clear data&amp;quot; list of condition will be deleted.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the condition fails then the user will skip the question and be sent to the next question in the questionnaire instead.&lt;br /&gt;
&lt;br /&gt;
A question may have multiple &amp;quot;Go to question and clear if&amp;quot; conditions. The system will check one at a time, starting with the top one, and if any of the conditions are met then the system will ignore the remaining conditions and immediately fulfill the &amp;quot;go to&amp;quot; requirements of that condition.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clear data list&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*The list should default to all from (but not including) the current question to (and including) the target question&lt;br /&gt;
*The user may then add or remove questions&lt;br /&gt;
*If a question is inserted or moved in/out clear range or the current question / target question moved around, it will be update automatic clear range&lt;br /&gt;
*In the list of questions, a question that participates in a clear range should have indication that it is and mouseover should inform which questions might clear the data of this question if their GOTO is triggered&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[File:GotoAndClearIf31.png|none|GotoAndClearIf31.png]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[File:GotoAndClearIf2.png|none|GotoAndClearIf2.png]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Version&#039;&#039;&#039; 6.0&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Condition_name:_Goto_question_and_clear_if&amp;diff=25331</id>
		<title>Condition name: Goto question and clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Condition_name:_Goto_question_and_clear_if&amp;diff=25331"/>
		<updated>2016-01-11T08:07:20Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Condition name: Go to question and clear if ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question types applied&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
All&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When a respondent has answered a question with this condition related to it and clicks next, then the condition will be tested before going on to the next question in the questionnaire.&lt;br /&gt;
&lt;br /&gt;
If the condition is met then the user will be sent to a specified question in the questionnaire (which is normally not the next question in the questionnaire), and &#039;&#039;&#039;all selected question in &amp;quot;Clear data&amp;quot; list of condition will be deleted.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the condition fails then the user will skip the question and be sent to the next question in the questionnaire instead.&lt;br /&gt;
&lt;br /&gt;
A question may have multiple &amp;quot;Go to question and clear if&amp;quot; conditions. The system will check one at a time, starting with the top one, and if any of the conditions are met then the system will ignore the remaining conditions and immediately fulfill the &amp;quot;go to&amp;quot; requirements of that condition.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clear data list&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*The list should default to all from (but not including) the current question to (and including) the target question&lt;br /&gt;
*The user may then add or remove questions&lt;br /&gt;
*If a question is inserted or moved in/out clear range or the current question / target question moved around, it will be update automatic clear range&lt;br /&gt;
*In the list of questions, a question that participates in a clear range should have indication that it is and mouseover should inform which questions might clear the data of this question if their GOTO is triggered&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[File:GotoAndClearIf31.png|none|GotoAndClearIf31.png]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[File:GotoAndClearIf2.png|none|GotoAndClearIf2.png]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Version&#039;&#039;&#039; 6.0&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Condition_name:_Goto_question_and_clear_if&amp;diff=25330</id>
		<title>Condition name: Goto question and clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Condition_name:_Goto_question_and_clear_if&amp;diff=25330"/>
		<updated>2016-01-11T08:01:11Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Question_conditions]]&lt;br /&gt;
== Condition name: Go to question and clear if ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question types applied&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
All&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When a respondent has answered a question with this condition related to it and clicks next, then the condition will be tested before going on to the next question in the questionnaire.&lt;br /&gt;
&lt;br /&gt;
If the condition is met then the user will be sent to a specified question in the questionnaire (which is normally not the next question in the questionnaire), and &#039;&#039;&#039;all selected question in &amp;quot;Clear data&amp;quot; list of condition will be deleted.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the condition fails then the user will skip the question and be sent to the next question in the questionnaire instead.&lt;br /&gt;
&lt;br /&gt;
A question may have multiple &amp;quot;Go to question and clear if&amp;quot; conditions. The system will check one at a time, starting with the top one, and if any of the conditions are met then the system will ignore the remaining conditions and immediately fulfill the &amp;quot;go to&amp;quot; requirements of that condition.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clear data list&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*The list should default to all from (but not including) the current question to (and including) the target question&lt;br /&gt;
*The user may then add or remove questions&lt;br /&gt;
*If a question is inserted (ie, moved around) into an unbroken range, it should be included. (you probably need a special case for questions inserted just before or after the &#039;from&#039; question)&lt;br /&gt;
*In the list of questions, a question that participates in a clear range should have some indication that it is and mouseover should inform which questions might clear the data of this question if their GOTO is triggered&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[File:GotoAndClearIf31.png|none|GotoAndClearIf31.png]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[File:GotoAndClearIf2.png|none|GotoAndClearIf2.png]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Version&#039;&#039;&#039; 6.0&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=File:GotoAndClearIf31.png&amp;diff=25329</id>
		<title>File:GotoAndClearIf31.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=File:GotoAndClearIf31.png&amp;diff=25329"/>
		<updated>2016-01-11T07:59:49Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: MsUpload&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MsUpload&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Condition_name:_Goto_question_and_clear_if&amp;diff=25328</id>
		<title>Condition name: Goto question and clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Condition_name:_Goto_question_and_clear_if&amp;diff=25328"/>
		<updated>2016-01-11T07:58:24Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: Created page with &amp;quot;Category:Question_conditions  == Condition name: Go to question and clear if ==  &amp;#039;&amp;#039;&amp;#039;Question types applied&amp;#039;&amp;#039;&amp;#039;  All  &amp;#039;&amp;#039;&amp;#039;Description&amp;#039;&amp;#039;&amp;#039;  When a respondent has answered a que...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Question_conditions]]&lt;br /&gt;
&lt;br /&gt;
== Condition name: Go to question and clear if ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question types applied&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
All&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When a respondent has answered a question with this condition related to it and clicks next, then the condition will be tested before going on to the next question in the questionnaire.&lt;br /&gt;
&lt;br /&gt;
If the condition is met then the user will be sent to a specified question in the questionnaire (which is normally not the next question in the questionnaire), and &#039;&#039;&#039;all selected question in &amp;quot;Clear data&amp;quot; list of condition will be deleted.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the condition fails then the user will skip the question and be sent to the next question in the questionnaire instead.&lt;br /&gt;
&lt;br /&gt;
A question may have multiple &amp;quot;Go to question and clear if&amp;quot; conditions. The system will check one at a time, starting with the top one, and if any of the conditions are met then the system will ignore the remaining conditions and immediately fulfill the &amp;quot;go to&amp;quot; requirements of that condition.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clear data list&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*The list should default to all from (but not including) the current question to (and including) the target question&lt;br /&gt;
*The user may then add or remove questions&lt;br /&gt;
*If a question is inserted (ie, moved around) into an unbroken range, it should be included. (you probably need a special case for questions inserted just before or after the &#039;from&#039; question)&lt;br /&gt;
*In the list of questions, a question that participates in a clear range should have some indication that it is and mouseover should inform which questions might clear the data of this question if their GOTO is triggered&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[File:GotoAndClearIf1.png|none|GotoAndClearIf1.png]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[File:GotoAndClearIf2.png|none|GotoAndClearIf2.png]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Version&#039;&#039;&#039; 6.0&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=File:GotoAndClearIf2.png&amp;diff=25327</id>
		<title>File:GotoAndClearIf2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=File:GotoAndClearIf2.png&amp;diff=25327"/>
		<updated>2016-01-11T07:55:30Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: MsUpload&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MsUpload&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=File:GotoAndClearIf1.png&amp;diff=25326</id>
		<title>File:GotoAndClearIf1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=File:GotoAndClearIf1.png&amp;diff=25326"/>
		<updated>2016-01-11T07:55:29Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: MsUpload&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MsUpload&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Condition_name:_Show_question_or_clear_if&amp;diff=25323</id>
		<title>Condition name: Show question or clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Condition_name:_Show_question_or_clear_if&amp;diff=25323"/>
		<updated>2016-01-11T07:37:13Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Question_conditions]]&lt;br /&gt;
====== Condition name: Show question or clear if&amp;lt;br/&amp;gt; ======&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question types applied&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
All exclude page, multimedia&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When a respondent reaches this question and this condition exists, then the condition will be tested before the question is shown. If the condition is met then the user will be shown the question.&lt;br /&gt;
&lt;br /&gt;
If the condition fails then the user will skip the question and be sent to the next question in the questionnaire instead,&amp;amp;nbsp;&#039;&#039;&#039;if this question had answered (in case the respondent go back), its data will be delete&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A question may have multiple &amp;quot;Show question or clear if&amp;quot; conditions. For the system to skip the question just one of these conditions need to fail.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:ShowOrClearIf1.png|none|ShowOrClearIf1.png]]&lt;br /&gt;
&lt;br /&gt;
[[File:ShowOrClearIf2.png|none]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Version&#039;&#039;&#039; 6.0&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=File:ShowOrClearIf2.png&amp;diff=25322</id>
		<title>File:ShowOrClearIf2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=File:ShowOrClearIf2.png&amp;diff=25322"/>
		<updated>2016-01-11T07:35:18Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: MsUpload&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MsUpload&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=File:ShowOrClearIf1.png&amp;diff=25321</id>
		<title>File:ShowOrClearIf1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=File:ShowOrClearIf1.png&amp;diff=25321"/>
		<updated>2016-01-11T07:35:17Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: MsUpload&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;MsUpload&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Condition_name:_Show_question_or_clear_if&amp;diff=25320</id>
		<title>Condition name: Show question or clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Condition_name:_Show_question_or_clear_if&amp;diff=25320"/>
		<updated>2016-01-11T07:34:18Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== Condition name: Show question or clear if&amp;lt;br/&amp;gt; ======&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question types applied&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
All exclude page, multimedia&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When a respondent reaches this question and this condition exists, then the condition will be tested before the question is shown. If the condition is met then the user will be shown the question.&lt;br /&gt;
&lt;br /&gt;
If the condition fails then the user will skip the question and be sent to the next question in the questionnaire instead,&amp;amp;nbsp;&#039;&#039;&#039;if this question had answered (in case the respondent go back), its data will be delete&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A question may have multiple &amp;quot;Show question or clear if&amp;quot; conditions. For the system to skip the question just one of these conditions need to fail.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[File:01.png|none|01.png]]&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Condition_name:_Show_question_or_clear_if&amp;diff=25319</id>
		<title>Condition name: Show question or clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Condition_name:_Show_question_or_clear_if&amp;diff=25319"/>
		<updated>2016-01-11T07:32:00Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Question_conditions]]&lt;br /&gt;
====== Condition name: Show question or clear if&amp;lt;br/&amp;gt; ======&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question types applied&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
All exclude page, multimedia&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When a respondent reaches this question and this condition exists, then the condition will be tested before the question is shown. If the condition is met then the user will be shown the question.&lt;br /&gt;
&lt;br /&gt;
If the condition fails then the user will skip the question and be sent to the next question in the questionnaire instead,&amp;amp;nbsp;&#039;&#039;&#039;if this question had answered (in case the respondent go back), its data will be delete&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A question may have multiple &amp;quot;Show question or clear if&amp;quot; conditions. For the system to skip the question just one of these conditions need to fail.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Condition_name:_Show_question_or_clear_if&amp;diff=25317</id>
		<title>Condition name: Show question or clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Condition_name:_Show_question_or_clear_if&amp;diff=25317"/>
		<updated>2016-01-11T07:25:00Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== Condition name: Show question or clear if&amp;lt;br/&amp;gt; ======&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question types applied&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
All exclude page, multimedia&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When a respondent reaches this question and this condition exists, then the condition will be tested before the question is shown. If the condition is met then the user will be shown the question.&lt;br /&gt;
&lt;br /&gt;
If the condition fails then the user will skip the question and be sent to the next question in the questionnaire instead,&amp;amp;nbsp;&#039;&#039;&#039;if this question had answered (in case the respondent go back), its data will be delete&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A question may have multiple &amp;quot;Show question or clear if&amp;quot; conditions. For the system to skip the question just one of these conditions need to fail.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Condition_name:_Show_question_or_clear_if&amp;diff=25316</id>
		<title>Condition name: Show question or clear if</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Condition_name:_Show_question_or_clear_if&amp;diff=25316"/>
		<updated>2016-01-11T07:21:13Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: Created page with &amp;quot;====== Condition name: Show question or clear if&amp;lt;br/&amp;gt; ======  &amp;#039;&amp;#039;&amp;#039;Question types applied&amp;#039;&amp;#039;&amp;#039;  All exclude page, multimedia  &amp;#039;&amp;#039;&amp;#039;Description&amp;#039;&amp;#039;&amp;#039;  When a respondent reaches this que...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;====== Condition name: Show question or clear if&amp;lt;br/&amp;gt; ======&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question types applied&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
All exclude page, multimedia&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When a respondent reaches this question and this condition exists, then the condition will be tested before the question is shown. If the condition is met then the user will be shown the question. &lt;br /&gt;
&lt;br /&gt;
If the condition fails then the user will skip the question and be sent to the next question in the questionnaire instead,&amp;amp;nbsp;&#039;&#039;&#039;if this question had answered (in case the respondent go back), its data will be delete&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A question may have multiple &amp;quot;Show question or clear if&amp;quot; conditions. For the system to skip the question just one of these conditions need to fail.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;nbsp;[[File:]][[File:]]&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Resource_searchByName&amp;diff=25309</id>
		<title>Resource searchByName</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Resource_searchByName&amp;diff=25309"/>
		<updated>2015-12-09T03:22:37Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Resource_searchByName  =&lt;br /&gt;
[[Category:Resource_Functions]]&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
&lt;br /&gt;
Search resources by name. &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621&amp;quot;&amp;gt;&#039;&#039;&#039;Syntax&#039;&#039;&#039;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Resource_searchByName(ResourceName, ResourceType, ResourceTemplateResourceID, SearchType, SearchMaxCount)&lt;br /&gt;
&lt;br /&gt;
Resource_searchByName(ResourceName, ResourceType, ResourceTemplateResourceID, SearchType, SearchMaxCount, ParentResourceId)&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621&amp;quot;&amp;gt;&#039;&#039;&#039;Arguments&#039;&#039;&#039;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
*ResourceName: is a string. It is the pattern of name of resource which user want to look up.&lt;br /&gt;
*ResourceType: is a value of Resource type constants. Or we can also use the name of [[CGS Constants list|Resource type constants]].&lt;br /&gt;
*ResourceTemplateResourceID: is a number. It is the resource id of resource template ID. This value can be set 0 if don&#039;t care which template to search for.&lt;br /&gt;
*SearchType: is a number. It&#039;s the value of the Search type constants. Or we can aslo use the name of [[CGS Constants list|the Search type constants]].&lt;br /&gt;
*SearchMaxCount: is a number. It&#039;s the number of resources we want this function return. default vaulue = 10, if set value to 0, it&#039;ll return all&lt;br /&gt;
*ParentResourceId: is a number. It&#039;s resource id used to determine search resources in it&lt;br /&gt;
&lt;br /&gt;
The SearchType constants list:&lt;br /&gt;
&lt;br /&gt;
*NAME_SEARCH_TYPE_START&lt;br /&gt;
*NAME_SEARCH_TYPE_END&lt;br /&gt;
*NAME_SEARCH_TYPE_ANYWHERE&lt;br /&gt;
*NAME_SEARCH_TYPE_IDENTICAL&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621;&amp;quot;&amp;gt;&#039;&#039;&#039;Return type&#039;&#039;&#039;&amp;lt;/span&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
An array of matched resources, which contain the information of resources that match the search pattern. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The matched resources will be represent by an array. Below is the constants list which explain the meaning of each element in this array:&lt;br /&gt;
&lt;br /&gt;
*RESOURCE_RESOURCE_ID : Rid of resource&lt;br /&gt;
*RESOURCE_NAME : Name of resource&lt;br /&gt;
*RESOURCE_TYPE : Type of resource&lt;br /&gt;
*RESOURCE_PARENT_RESOURCE_ID :  Rid of parent resource&lt;br /&gt;
*RESOURCE_TEMPLATE_RESOURCE_ID : Rid of resource template&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621;&amp;quot;&amp;gt;&#039;&#039;&#039;Examples&#039;&#039;&#039;&amp;lt;/span&amp;gt;  ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
string ResourceNamePattern = &amp;quot;phong&amp;quot;;&lt;br /&gt;
number ResourceType = 10; // or ResourceType = Resource_Type_Report;&lt;br /&gt;
number ResourceTempRID = 0;&lt;br /&gt;
number SearchType = 1;  // or SearchType = NAME_SEARCH_TYPE_ANYWHERE;&lt;br /&gt;
&lt;br /&gt;
Number SearchMaxcount= 3;&lt;br /&gt;
array Result;&lt;br /&gt;
&lt;br /&gt;
Result = Resource_searchByName(ResourceNamePattern, ResourceType, ResourceTempRID, SearchType); &lt;br /&gt;
print(Result.Count);&lt;br /&gt;
print(Result); &lt;br /&gt;
&lt;br /&gt;
// 5 resources were found&lt;br /&gt;
//{{10,37257205,Phong report 2,12,37246022,34409964},{10,37257212,Phong report 1,12,37246022,34409964},{10,37272405,phong report 3,12,37246022,34409964},{10,37272427,Phong report 4,12,37246022,34409964},{10,37272501,phong,12,37272491,34409964}}&lt;br /&gt;
&lt;br /&gt;
Result = Resource_searchByName(ResourceNamePattern, ResourceType, ResourceTempRID, SearchType, SearchMaxcount); &lt;br /&gt;
print(Result.Count);&lt;br /&gt;
print(Result); &lt;br /&gt;
&lt;br /&gt;
// 3 resources were found&lt;br /&gt;
//{{10,37257205,Phong report 2,12,37246022,34409964},{10,37257212,Phong report 1,12,37246022,34409964},{10,37272405,phong report 3,12,37246022,34409964}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Resource_searchByName&amp;diff=25308</id>
		<title>Resource searchByName</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Resource_searchByName&amp;diff=25308"/>
		<updated>2015-12-09T03:17:08Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Resource_searchByName  =&lt;br /&gt;
[[Category:Resource_Functions]]&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
&lt;br /&gt;
Search resources by name. &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621&amp;quot;&amp;gt;&#039;&#039;&#039;Syntax&#039;&#039;&#039;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
Resource_searchByName(ResourceName, ResourceType, ResourceTemplateResourceID, SearchType, SearchMaxCount)&lt;br /&gt;
&lt;br /&gt;
Resource_searchByName(ResourceName, ResourceType, ResourceTemplateResourceID, SearchType, SearchMaxCount, ParentResourceId)&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621&amp;quot;&amp;gt;&#039;&#039;&#039;Arguments&#039;&#039;&#039;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
*ResourceName: is a string. It is the pattern of name of resource which user want to look up.&lt;br /&gt;
*ResourceType: is a value of Resource type constants. Or we can also use the name of [[CGS Constants list|Resource type constants]].&lt;br /&gt;
*ResourceTemplateResourceID: is a number. It is the resource id of resource template ID. This value can be set 0 if don&#039;t care which template to search for.&lt;br /&gt;
*SearchType: is a number. It&#039;s the value of the Search type constants. Or we can aslo use the name of [[CGS Constants list|the Search type constants]].&lt;br /&gt;
*SearchMaxCount: is a number. It&#039;s the number of resources we want this function return. default vaulue = 10, if set value to 0, it&#039;ll return all&lt;br /&gt;
&lt;br /&gt;
The SearchType constants list:&lt;br /&gt;
&lt;br /&gt;
*NAME_SEARCH_TYPE_START&lt;br /&gt;
*NAME_SEARCH_TYPE_END&lt;br /&gt;
*NAME_SEARCH_TYPE_ANYWHERE&lt;br /&gt;
*NAME_SEARCH_TYPE_IDENTICAL&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621;&amp;quot;&amp;gt;&#039;&#039;&#039;Return type&#039;&#039;&#039;&amp;lt;/span&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
An array of matched resources, which contain the information of resources that match the search pattern. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The matched resources will be represent by an array. Below is the constants list which explain the meaning of each element in this array:&lt;br /&gt;
&lt;br /&gt;
*RESOURCE_RESOURCE_ID : Rid of resource&lt;br /&gt;
*RESOURCE_NAME : Name of resource&lt;br /&gt;
*RESOURCE_TYPE : Type of resource&lt;br /&gt;
*RESOURCE_PARENT_RESOURCE_ID :  Rid of parent resource&lt;br /&gt;
*RESOURCE_TEMPLATE_RESOURCE_ID : Rid of resource template&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621;&amp;quot;&amp;gt;&#039;&#039;&#039;Examples&#039;&#039;&#039;&amp;lt;/span&amp;gt;  ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
string ResourceNamePattern = &amp;quot;phong&amp;quot;;&lt;br /&gt;
number ResourceType = 10; // or ResourceType = Resource_Type_Report;&lt;br /&gt;
number ResourceTempRID = 0;&lt;br /&gt;
number SearchType = 1;  // or SearchType = NAME_SEARCH_TYPE_ANYWHERE;&lt;br /&gt;
&lt;br /&gt;
Number SearchMaxcount= 3;&lt;br /&gt;
array Result;&lt;br /&gt;
&lt;br /&gt;
Result = Resource_searchByName(ResourceNamePattern, ResourceType, ResourceTempRID, SearchType); &lt;br /&gt;
print(Result.Count);&lt;br /&gt;
print(Result); &lt;br /&gt;
&lt;br /&gt;
// 5 resources were found&lt;br /&gt;
//{{10,37257205,Phong report 2,12,37246022,34409964},{10,37257212,Phong report 1,12,37246022,34409964},{10,37272405,phong report 3,12,37246022,34409964},{10,37272427,Phong report 4,12,37246022,34409964},{10,37272501,phong,12,37272491,34409964}}&lt;br /&gt;
&lt;br /&gt;
Result = Resource_searchByName(ResourceNamePattern, ResourceType, ResourceTempRID, SearchType, SearchMaxcount); &lt;br /&gt;
print(Result.Count);&lt;br /&gt;
print(Result); &lt;br /&gt;
&lt;br /&gt;
// 3 resources were found&lt;br /&gt;
//{{10,37257205,Phong report 2,12,37246022,34409964},{10,37257212,Phong report 1,12,37246022,34409964},{10,37272405,phong report 3,12,37246022,34409964}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=PanelStatistics_class&amp;diff=25080</id>
		<title>PanelStatistics class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=PanelStatistics_class&amp;diff=25080"/>
		<updated>2015-04-13T09:17:04Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=PanelStatistics&lt;br /&gt;
|Description=The panel statistics collection. To view information like how big a panel is, how it is used etc.&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=array|Name=questionnaireResourceTemplateRId|Description=the questionnaires examined to these types (required)|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=bulkmailIds|Description=The count of mails sent to those sent from these bulkmails (required)|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=groupRId|Description=Resource id of group containing all panel members|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=from|Description=From date|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=to|Description=To date|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=groupBy|Description=Return results in these groupings. 1=Week, 2=Month, 3=Quarter, 4=Year}}&lt;br /&gt;
|Description=Create new statistics}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountActive|Description=Number of panel members that started a survey.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountCompletedInterviews|Description=Number of panel members that completed a survey.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountCreated|Description=Number of panel members that was created.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountDisabled|Description=Number of panel members that was disabled.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountGotInvitation|Description=Number of panel members that received an invitation.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountReadInvitation|Description=Number of panel members that read an invitation. This number depends on emails using the tracking feature, and is thus subject to same inaccuracy.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountTotal|Description=The number of panel members excluding disabled and deleted.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=GetGroupings|Description=The groping values. E.g. week 32 in 2014 is returned as {32, 2014}. Grouping by year is returned as {2014, 2014}.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
array a = DateTime_getByYMD(2014,12,24); array b = DateTime_getByYMD(2015,12,24);&lt;br /&gt;
&lt;br /&gt;
PanelStatistics panel=new PanelStatistics({45592},{2066},69441,a,b,1);&lt;br /&gt;
&lt;br /&gt;
array CountActive=panel.CountActive();// - Number of panel members that started a survey.&lt;br /&gt;
&lt;br /&gt;
array CountCompletedInterviews=panel.CountCompletedInterviews();// - Number of panel members that completed a survey.&lt;br /&gt;
&lt;br /&gt;
array CountCreated=panel.CountCreated();// - Number of panel members that was created.&lt;br /&gt;
&lt;br /&gt;
array CountDisabled=panel.CountDisabled()// - Number of panel members that was disabled.&lt;br /&gt;
&lt;br /&gt;
array CountGotInvitation=panel.CountGotInvitation();// - Number of panel members that received an invitation.&lt;br /&gt;
&lt;br /&gt;
array CountReadInvitation=panel.CountReadInvitation();// - Number of panel members that read an invitation. This number depends on emails using the tracking feature, and is thus subject to same inaccuracy.&lt;br /&gt;
&lt;br /&gt;
array CountTotal=panel.CountTotal();// - The number of panel members including disabled.&lt;br /&gt;
&lt;br /&gt;
array GetGroupings=panel.GetGroupings();// - The groping values. E.g. week 32 in 2014 is returned as {32,2014}. Grouping by year is returned as {2014,2014}&lt;br /&gt;
&lt;br /&gt;
string ToString=panel.ToString();// - The string representation of the object.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=PanelStatistics_class&amp;diff=25079</id>
		<title>PanelStatistics class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=PanelStatistics_class&amp;diff=25079"/>
		<updated>2015-04-13T09:16:07Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=PanelStatistics&lt;br /&gt;
|Description=The panel statistics collection. To view information like how big a panel is, how it is used etc.&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=array|Name=questionnaireResourceTemplateRId|Description=the questionnaires examined to these types (required)|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=bulkmailIds|Description=The count of mails sent to those sent from these bulkmails (required)|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=groupRId|Description=Resource id of group containing all panel members|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=from|Description=From date|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=to|Description=To date|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=groupBy|Description=Return results in these groupings. 1=Week, 2=Month, 3=Quarter, 4=Year}}&lt;br /&gt;
|Description=Create new statistics}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountActive|Description=Number of panel members that started a survey.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountCompletedInterviews|Description=Number of panel members that completed a survey.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountCreated|Description=Number of panel members that was created.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountDisabled|Description=Number of panel members that was disabled.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountGotInvitation|Description=Number of panel members that received an invitation.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountReadInvitation|Description=Number of panel members that read an invitation. This number depends on emails using the tracking feature, and is thus subject to same inaccuracy.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountTotal|Description=The number of panel members excluding disabled and deleted.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=GetGroupings|Description=The groping values. E.g. week 32 in 2014 is returned as {32, 2014}. Grouping by year is returned as {2014, 2014}}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
array a = DateTime_getByYMD(2014,12,24); array b = DateTime_getByYMD(2015,12,24);&lt;br /&gt;
&lt;br /&gt;
PanelStatistics panel=new PanelStatistics({45592},{2066},69441,a,b,1);&lt;br /&gt;
&lt;br /&gt;
array CountActive=panel.CountActive();// - Number of panel members that started a survey.&lt;br /&gt;
&lt;br /&gt;
array CountCompletedInterviews=panel.CountCompletedInterviews();// - Number of panel members that completed a survey.&lt;br /&gt;
&lt;br /&gt;
array CountCreated=panel.CountCreated();// - Number of panel members that was created.&lt;br /&gt;
&lt;br /&gt;
array CountDisabled=panel.CountDisabled()// - Number of panel members that was disabled.&lt;br /&gt;
&lt;br /&gt;
array CountGotInvitation=panel.CountGotInvitation();// - Number of panel members that received an invitation.&lt;br /&gt;
&lt;br /&gt;
array CountReadInvitation=panel.CountReadInvitation();// - Number of panel members that read an invitation. This number depends on emails using the tracking feature, and is thus subject to same inaccuracy.&lt;br /&gt;
&lt;br /&gt;
array CountTotal=panel.CountTotal();// - The number of panel members including disabled.&lt;br /&gt;
&lt;br /&gt;
array GetGroupings=panel.GetGroupings();// - The groping values. E.g. week 32 in 2014 is returned as {32,2014}. Grouping by year is returned as {2014,2014}&lt;br /&gt;
&lt;br /&gt;
string ToString=panel.ToString();// - The string representation of the object.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=PanelStatistics_class&amp;diff=25078</id>
		<title>PanelStatistics class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=PanelStatistics_class&amp;diff=25078"/>
		<updated>2015-04-13T09:14:00Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=PanelStatistics&lt;br /&gt;
|Description=The panel statistics collection. To view information like how big a panel is, how it is used etc.&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=array|Name=questionnaireResourceTemplateRId|Description=the questionnaires examined to these types (required)|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=bulkmailIds|Description=The count of mails sent to those sent from these bulkmails (required)|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=groupRId|Description=Resource id of group containing all panel members|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=from|Description=From date|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=to|Description=To date|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=groupBy|Description=Return results in these groupings. 1=Week, 2=Month, 3=Quarter, 4=Year}}&lt;br /&gt;
|Description=Create new statistics}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountActive|Description=Number of panel members that started a survey.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountCompletedInterviews|Description=Number of panel members that completed a survey.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountCreated|Description=Number of panel members that was created.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountDisabled|Description=Number of panel members that was disabled.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountGotInvitation|Description=Number of panel members that received an invitation.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountReadInvitation|Description=Number of panel members that read an invitation. This number depends on emails using the tracking feature, and is thus subject to same inaccuracy.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountTotal|Description=The number of panel members excluding disabled and deleted.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=GetGroupings|Description=The groping values. E.g. week 32 in 2014 is returned as {32,2014}. Grouping by year is returned as {2014,2014}}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
array a = DateTime_getByYMD(2014,12,24); array b = DateTime_getByYMD(2015,12,24);&lt;br /&gt;
&lt;br /&gt;
PanelStatistics panel=new PanelStatistics({45592},{2066},69441,a,b,1);&lt;br /&gt;
&lt;br /&gt;
array CountActive=panel.CountActive();// - Number of panel members that started a survey.&lt;br /&gt;
&lt;br /&gt;
array CountCompletedInterviews=panel.CountCompletedInterviews();// - Number of panel members that completed a survey.&lt;br /&gt;
&lt;br /&gt;
array CountCreated=panel.CountCreated();// - Number of panel members that was created.&lt;br /&gt;
&lt;br /&gt;
array CountDisabled=panel.CountDisabled()// - Number of panel members that was disabled.&lt;br /&gt;
&lt;br /&gt;
array CountGotInvitation=panel.CountGotInvitation();// - Number of panel members that received an invitation.&lt;br /&gt;
&lt;br /&gt;
array CountReadInvitation=panel.CountReadInvitation();// - Number of panel members that read an invitation. This number depends on emails using the tracking feature, and is thus subject to same inaccuracy.&lt;br /&gt;
&lt;br /&gt;
number CountTotal=panel.CountTotal();// - The number of panel members including disabled.&lt;br /&gt;
&lt;br /&gt;
array GetGroupings=panel.GetGroupings();// - The groping values. E.g. week 32 in 2014 is returned as {32,2014}. Grouping by year is returned as {2014,2014}&lt;br /&gt;
&lt;br /&gt;
string ToString=panel.ToString();// - The string representation of the object.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=PanelStatistics_class&amp;diff=25077</id>
		<title>PanelStatistics class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=PanelStatistics_class&amp;diff=25077"/>
		<updated>2015-04-13T09:03:33Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=PanelStatistics&lt;br /&gt;
|Description=The panel statistics collection. To view information like how big a panel is, how it is used etc.&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=array|Name=questionnaireResourceTemplateRId|Description=the questionnaires examined to these types (required)|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=bulkmailIds|Description=The count of mails sent to those sent from these bulkmails (required)|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=groupRId|Description=Resource id of group containing all panel members|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=from|Description=From date|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=to|Description=To date|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=groupBy|Description=Return results in these groupings. 1=Week, 2=Month, 3=Quarter, 4=Year}}&lt;br /&gt;
|Description=Create new statistics}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountActive|Description=Number of panel members that started a survey.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountCompletedInterviews|Description=Number of panel members that completed a survey.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountCreated|Description=Number of panel members that was created.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountDisabled|Description=Number of panel members that was disabled.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountGotInvitation|Description=Number of panel members that received an invitation.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CountReadInvitation|Description=Number of panel members that read an invitation. This number depends on emails using the tracking feature, and is thus subject to same inaccuracy.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=number|Name=CountTotal|Description=The number of panel members including disabled.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=GetGroupings|Description=The groping values. E.g. week 32 in 2014 is returned as {32,2014}. Grouping by year is returned as {2014,2014}}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
array a = DateTime_getByYMD(2014,12,24); array b = DateTime_getByYMD(2015,12,24);&lt;br /&gt;
&lt;br /&gt;
PanelStatistics panel=new PanelStatistics({45592},{2066},69441,a,b,1);&lt;br /&gt;
&lt;br /&gt;
array CountActive=panel.CountActive();// - Number of panel members that started a survey.&lt;br /&gt;
&lt;br /&gt;
array CountCompletedInterviews=panel.CountCompletedInterviews();// - Number of panel members that completed a survey.&lt;br /&gt;
&lt;br /&gt;
array CountCreated=panel.CountCreated();// - Number of panel members that was created.&lt;br /&gt;
&lt;br /&gt;
array CountDisabled=panel.CountDisabled()// - Number of panel members that was disabled.&lt;br /&gt;
&lt;br /&gt;
array CountGotInvitation=panel.CountGotInvitation();// - Number of panel members that received an invitation.&lt;br /&gt;
&lt;br /&gt;
array CountReadInvitation=panel.CountReadInvitation();// - Number of panel members that read an invitation. This number depends on emails using the tracking feature, and is thus subject to same inaccuracy.&lt;br /&gt;
&lt;br /&gt;
number CountTotal=panel.CountTotal();// - The number of panel members including disabled.&lt;br /&gt;
&lt;br /&gt;
array GetGroupings=panel.GetGroupings();// - The groping values. E.g. week 32 in 2014 is returned as {32,2014}. Grouping by year is returned as {2014,2014}&lt;br /&gt;
&lt;br /&gt;
string ToString=panel.ToString();// - The string representation of the object.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Replacement_tags&amp;diff=25007</id>
		<title>Replacement tags</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Replacement_tags&amp;diff=25007"/>
		<updated>2014-10-14T03:44:18Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Replacement tags ===&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
There exists a tag system which makes it possible for us, to insert replacement values directly in texts (question, subquestion, answer option) without using text replacement conditions. These tags are replaced by the answer the respondent gave in an earlier question of the same questionnaire.&lt;br /&gt;
&lt;br /&gt;
An example could be:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;nowiki&amp;gt;”You have answered that your favorite soft drink is {{FavoriteSoftdrink.Text}}.”&amp;lt;/nowiki&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Which could result in a text like:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;”You have answered that your favorite soft drink is Cherry Coke”&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The logic for text replacement tags are as follows:&lt;br /&gt;
&lt;br /&gt;
Q_Label should in the following be replaced by the question that replacement texts are to be collected from. How the replacement tags are to be used depends on which question type the tag refers to. Examples of all are presented below:&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Single&#039;&#039;&#039; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label}}: is replaced with the text of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label.value}}: is replaced with the value of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label.text}}: is replaced with the text of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label.openvalue}}: is replaced with the open text part of the respondent&#039;s chosen answer option (if such a value exists)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label.index}}: is replaced with the index of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Multi&#039;&#039;&#039; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[AnswerOption_index]}}: is replaced with the text of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[AnswerOption_index].value}}: is replaced with the value of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[AnswerOption_index].text}}: is replaced with the text of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[AnswerOption_index].openvalue}}: is replaced with the open text part of the respondent&#039;s chosen answer option (if such a value exists)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[AnswerOption_index].index}}: is replaced with the index of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Single Grid&#039;&#039;&#039; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index]}}: is replaced with the text of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index].value}}: is replaced with the value of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index].text}}: is replaced with the text of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index].index}}: is replaced with the index of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;** grid_index should be replaced with the index of the subquestion the users wants the text replacement based on. The first subquestion is always indexed with 0, next one is 1 and so on.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Multi Grid&amp;lt;br/&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index][AnswerOption_index]}}: is replaced with the text of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index][AnswerOption_index].value}}: is replaced with the value of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index][AnswerOption_index].text}}: is replaced with the text of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index][AnswerOption_index].index}}: is replaced with the index of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;** grid_index should be replaced with the index of the subquestion the users wants the text replacement based on. The first subquestion is always indexed with 0, next one is 1 and so on.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Text, Open, Multimedia, Scale, Numeric&#039;&#039;&#039;&amp;lt;br/&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label}}: is replaced with the respondent&#039;s actual answer&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Open - closed answer&#039;&#039;&#039;&amp;lt;br/&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[option_index]}}: return true/false, get status checked of closed answer options&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Scale Grid, Text Grid&#039;&#039;&#039;&amp;lt;br/&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index]}}: is replaced with the respondent&#039;s actual answer to the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;CGScript&#039;&#039;&#039;&amp;lt;br/&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Script;}}: CGScript can also be run in text by placing them in the {{}} brackets. &amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Replacement_tags&amp;diff=25006</id>
		<title>Replacement tags</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Replacement_tags&amp;diff=25006"/>
		<updated>2014-10-14T03:43:28Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Replacement tags ===&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
There exists a tag system which makes it possible for us, to insert replacement values directly in texts (question, subquestion, answer option) without using text replacement conditions. These tags are replaced by the answer the respondent gave in an earlier question of the same questionnaire.&lt;br /&gt;
&lt;br /&gt;
An example could be:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;nowiki&amp;gt;”You have answered that your favorite soft drink is {{FavoriteSoftdrink.Text}}.”&amp;lt;/nowiki&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Which could result in a text like:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;”You have answered that your favorite soft drink is Cherry Coke”&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The logic for text replacement tags are as follows:&lt;br /&gt;
&lt;br /&gt;
Q_Label should in the following be replaced by the question that replacement texts are to be collected from. How the replacement tags are to be used depends on which question type the tag refers to. Examples of all are presented below:&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Single&#039;&#039;&#039; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label}}: is replaced with the text of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label.value}}: is replaced with the value of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label.text}}: is replaced with the text of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label.openvalue}}: is replaced with the open text part of the respondent&#039;s chosen answer option (if such a value exists)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label.index}}: is replaced with the index of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Multi&#039;&#039;&#039; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[AnswerOption_index]}}: is replaced with the text of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[AnswerOption_index].value}}: is replaced with the value of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[AnswerOption_index].text}}: is replaced with the text of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[AnswerOption_index].openvalue}}: is replaced with the open text part of the respondent&#039;s chosen answer option (if such a value exists)&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[AnswerOption_index].index}}: is replaced with the index of the respondent&#039;s chosen answer option&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Single Grid&#039;&#039;&#039; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index]}}: is replaced with the text of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index].value}}: is replaced with the value of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index].text}}: is replaced with the text of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index].index}}: is replaced with the index of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;** grid_index should be replaced with the index of the subquestion the users wants the text replacement based on. The first subquestion is always indexed with 0, next one is 1 and so on.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Multi Grid&amp;lt;br/&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index][AnswerOption_index]}}: is replaced with the text of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index][AnswerOption_index].value}}: is replaced with the value of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index][AnswerOption_index].text}}: is replaced with the text of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index][AnswerOption_index].index}}: is replaced with the index of the respondent&#039;s chosen answer option on the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;** grid_index should be replaced with the index of the subquestion the users wants the text replacement based on. The first subquestion is always indexed with 0, next one is 1 and so on.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Text, Open, Multimedia, Scale, Numeric&#039;&#039;&#039;&amp;lt;br/&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label}}: is replaced with the respondent&#039;s actual answer&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Open - closed answer&#039;&#039;&#039;&amp;lt;br/&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[index]}}: return true/false, get status checked of closed answer options&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;Scale Grid, Text Grid&#039;&#039;&#039;&amp;lt;br/&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Q_label[grid_index]}}: is replaced with the respondent&#039;s actual answer to the specified sub question&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== &#039;&#039;&#039;CGScript&#039;&#039;&#039;&amp;lt;br/&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{Script;}}: CGScript can also be run in text by placing them in the {{}} brackets. &amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Resource_searchByName&amp;diff=24975</id>
		<title>Resource searchByName</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Resource_searchByName&amp;diff=24975"/>
		<updated>2014-09-24T07:09:11Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Resource_searchByName  =&lt;br /&gt;
[[Category:Resource_Functions]]&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
&lt;br /&gt;
Search resources by name. &lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621;&amp;quot;&amp;gt;&#039;&#039;&#039;Syntax&#039;&#039;&#039;&amp;lt;/span&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
Resource_searchByName(ResourceName, ResourceType, ResourceTemplateResourceID, SearchType, SearchMaxCount) &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621&amp;quot;&amp;gt;&#039;&#039;&#039;Arguments&#039;&#039;&#039;&amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
*ResourceName: is a string. It is the pattern of name of resource which user want to look up.&lt;br /&gt;
*ResourceType: is a value of Resource type constants. Or we can also use the name of [[CGS Constants list|Resource type constants]].&lt;br /&gt;
*ResourceTemplateResourceID: is a number. It is the resource id of resource template ID. This value can be set 0 if don&#039;t care which template to search for.&lt;br /&gt;
*SearchType: is a number. It&#039;s the value of the Search type constants. Or we can aslo use the name of [[CGS Constants list|the Search type constants]].&lt;br /&gt;
*SearchMaxCount: is a number. It&#039;s the number of resources we want this function return. default vaulue = 10, if set value to 0, it&#039;ll return all&lt;br /&gt;
&lt;br /&gt;
The SearchType constants list:&lt;br /&gt;
&lt;br /&gt;
*NAME_SEARCH_TYPE_START&lt;br /&gt;
*NAME_SEARCH_TYPE_END&lt;br /&gt;
*NAME_SEARCH_TYPE_ANYWHERE&lt;br /&gt;
*NAME_SEARCH_TYPE_IDENTICAL&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621;&amp;quot;&amp;gt;&#039;&#039;&#039;Return type&#039;&#039;&#039;&amp;lt;/span&amp;gt;  ===&lt;br /&gt;
&lt;br /&gt;
An array of matched resources, which contain the information of resources that match the search pattern. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The matched resources will be represent by an array. Below is the constants list which explain the meaning of each element in this array:&lt;br /&gt;
&lt;br /&gt;
*RESOURCE_RESOURCE_ID : Rid of resource&lt;br /&gt;
*RESOURCE_NAME : Name of resource&lt;br /&gt;
*RESOURCE_TYPE : Type of resource&lt;br /&gt;
*RESOURCE_PARENT_RESOURCE_ID :  Rid of parent resource&lt;br /&gt;
*RESOURCE_TEMPLATE_RESOURCE_ID : Rid of resource template&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;span style=&amp;quot;color:#DF8621;&amp;quot;&amp;gt;&#039;&#039;&#039;Examples&#039;&#039;&#039;&amp;lt;/span&amp;gt;  ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
string ResourceNamePattern = &amp;quot;phong&amp;quot;;&lt;br /&gt;
number ResourceType = 10; // or ResourceType = Resource_Type_Report;&lt;br /&gt;
number ResourceTempRID = 0;&lt;br /&gt;
number SearchType = 1;  // or SearchType = NAME_SEARCH_TYPE_ANYWHERE;&lt;br /&gt;
&lt;br /&gt;
Number SearchMaxcount= 3;&lt;br /&gt;
array Result;&lt;br /&gt;
&lt;br /&gt;
Result = Resource_searchByName(ResourceNamePattern, ResourceType, ResourceTempRID, SearchType); &lt;br /&gt;
print(Result.Count);&lt;br /&gt;
print(Result); &lt;br /&gt;
&lt;br /&gt;
// 5 resources were found&lt;br /&gt;
//{{10,37257205,Phong report 2,12,37246022,34409964},{10,37257212,Phong report 1,12,37246022,34409964},{10,37272405,phong report 3,12,37246022,34409964},{10,37272427,Phong report 4,12,37246022,34409964},{10,37272501,phong,12,37272491,34409964}}&lt;br /&gt;
&lt;br /&gt;
Result = Resource_searchByName(ResourceNamePattern, ResourceType, ResourceTempRID, SearchType, SearchMaxcount); &lt;br /&gt;
print(Result.Count);&lt;br /&gt;
print(Result); &lt;br /&gt;
&lt;br /&gt;
// 3 resources were found&lt;br /&gt;
//{{10,37257205,Phong report 2,12,37246022,34409964},{10,37257212,Phong report 1,12,37246022,34409964},{10,37272405,phong report 3,12,37246022,34409964}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Attachment_class&amp;diff=24972</id>
		<title>Attachment class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Attachment_class&amp;diff=24972"/>
		<updated>2014-09-18T03:11:13Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=Attachment&lt;br /&gt;
|Description= Represents an attachment object&amp;lt;br/&amp;gt;&lt;br /&gt;
NOTE&amp;amp;nbsp;: can&#039;t use with mail template, bulk mail&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=resourceId|Description=ResourceId of existing attachment}}&lt;br /&gt;
|Description=Fetch existing attachment}}&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=name|Description=Resource name. If set to empty, the name is taken from the downloaded or copied file}}{{CGscriptParameters_Template|Type=number|Name=parentResourceId|Description=Parent resource}}&lt;br /&gt;
|Description=Create new attachment}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=GetChildAttachments|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=parentResourceId|Description=Parent resource}}&lt;br /&gt;
|Description=Get all of the attachments associated with the resource}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=SaveFromDownload|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=WebResponse|Name=response|Description=Response from HttpRequest}}&lt;br /&gt;
|Description=Download from an HttpRequest&#039;s response}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=SaveFromFileCopy|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=name|Description=Name of the file}}{{CGscriptParameters_Template|Type=bool|Name=isTemp|Description=Is the file temporary}}&lt;br /&gt;
|Description=Copy from an already stored file using Catglobe.File}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=FileSize|HasGetter=1|Description=The size of the file on disc}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Name|HasGetter=1|HasSetter=1|Description=Resource name. If set to empty, the name is taken from the downloaded or copied file}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=ResourceId|HasGetter=1|Description=The Id of the Attachment}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Attachment_class&amp;diff=24971</id>
		<title>Attachment class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Attachment_class&amp;diff=24971"/>
		<updated>2014-09-18T03:09:49Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=Attachment&lt;br /&gt;
|Description= Represents an attachment object&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=resourceId|Description=ResourceId of existing attachment}}&lt;br /&gt;
|Description=Fetch existing attachment}}&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=name|Description=Resource name. If set to empty, the name is taken from the downloaded or copied file}}{{CGscriptParameters_Template|Type=number|Name=parentResourceId|Description=Parent resource}}&lt;br /&gt;
|Description=Create new attachment}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=GetChildAttachments|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=parentResourceId|Description=Parent resource}}&lt;br /&gt;
|Description=Get all of the attachments associated with the resource}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=SaveFromDownload|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=WebResponse|Name=response|Description=Response from HttpRequest}}&lt;br /&gt;
|Description=Download from an HttpRequest&#039;s response}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=SaveFromFileCopy|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=name|Description=Name of the file}}{{CGscriptParameters_Template|Type=bool|Name=isTemp|Description=Is the file temporary}}&lt;br /&gt;
|Description=Copy from an already stored file using Catglobe.File}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=FileSize|HasGetter=1|Description=The size of the file on disc}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Name|HasGetter=1|HasSetter=1|Description=Resource name. If set to empty, the name is taken from the downloaded or copied file}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=ResourceId|HasGetter=1|Description=The Id of the Attachment}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
NOTE&amp;amp;nbsp;: can&#039;t use with mail template, bulk mail&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Attachment_class&amp;diff=24970</id>
		<title>Attachment class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Attachment_class&amp;diff=24970"/>
		<updated>2014-09-18T03:08:27Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=Attachment&lt;br /&gt;
|Description= Represents an attachment object&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=resourceId|Description=ResourceId of existing attachment}}&lt;br /&gt;
|Description=Fetch existing attachment}}&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=name|Description=Resource name. If set to empty, the name is taken from the downloaded or copied file}}{{CGscriptParameters_Template|Type=number|Name=parentResourceId|Description=Parent resource}}&lt;br /&gt;
|Description=Create new attachment}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=GetChildAttachments|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=parentResourceId|Description=Parent resource}}&lt;br /&gt;
|Description=Get all of the attachments associated with the resource}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=SaveFromDownload|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=WebResponse|Name=response|Description=Response from HttpRequest}}&lt;br /&gt;
|Description=Download from an HttpRequest&#039;s response}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=SaveFromFileCopy|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=name|Description=Name of the file}}{{CGscriptParameters_Template|Type=bool|Name=isTemp|Description=Is the file temporary}}&lt;br /&gt;
|Description=Copy from an already stored file using Catglobe.File}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=FileSize|HasGetter=1|Description=The size of the file on disc}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Name|HasGetter=1|HasSetter=1|Description=Resource name. If set to empty, the name is taken from the downloaded or copied file}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=ResourceId|HasGetter=1|Description=The Id of the Attachment}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
** NOTE : can&#039;t use with mail template, bulk mail&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Attachment_class&amp;diff=24969</id>
		<title>Attachment class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Attachment_class&amp;diff=24969"/>
		<updated>2014-09-18T03:05:26Z</updated>

		<summary type="html">&lt;p&gt;Nguyenhientrung: Created page with &amp;quot;{{CGscriptClass_Template |Name=Attachment |Description= Represents an attachment object |Constructors= {{CGscriptConstructors_Template|Parameters= {{CGscriptParameters_Templat...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=Attachment&lt;br /&gt;
|Description= Represents an attachment object&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=resourceId|Description=ResourceId of existing attachment}}&lt;br /&gt;
|Description=Fetch existing attachment}}&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=name|Description=Resource name. If set to empty, the name is taken from the downloaded or copied file}}{{CGscriptParameters_Template|Type=number|Name=parentResourceId|Description=Parent resource}}&lt;br /&gt;
|Description=Create new attachment}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=GetChildAttachments|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=parentResourceId|Description=Parent resource}}&lt;br /&gt;
|Description=Get all of the attachments associated with the resource}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=SaveFromDownload|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=WebResponse|Name=response|Description=Response from HttpRequest}}&lt;br /&gt;
|Description=Download from an HttpRequest&#039;s response}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=SaveFromFileCopy|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=name|Description=Name of the file}}{{CGscriptParameters_Template|Type=bool|Name=isTemp|Description=Is the file temporary}}&lt;br /&gt;
|Description=Copy from an already stored file using Catglobe.File}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=FileSize|HasGetter=1|Description=The size of the file on disc}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Name|HasGetter=1|HasSetter=1|Description=Resource name. If set to empty, the name is taken from the downloaded or copied file}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=ResourceId|HasGetter=1|Description=The Id of the Attachment}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Nguyenhientrung</name></author>
	</entry>
</feed>