Difference between revisions of "GetProjectQuestionnaireName"

From Catglobe Wiki
Jump to: navigation, search
(getProjectQuestionnaireName (alternative))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:Questionnaire_Functions]]
 
[[Category:Questionnaire_Functions]]
{{HelpFiles}}
+
[OBSOLETE - Please use [[GetProjectQuestionnaireNameByResourceId|GetProjectQuestionnaireNameByResourceId]], [[Resource_getResourceName|Resource_getResourceName]], or [[Questionnaire_class|Questionnaire_current().QualifiedName]]. More detail at [[ConversionMethods|ConversionMethods]] ]
  
 
====getProjectQuestionnaireName====
 
====getProjectQuestionnaireName====

Latest revision as of 03:28, 13 May 2022

[OBSOLETE - Please use GetProjectQuestionnaireNameByResourceId, Resource_getResourceName, or Questionnaire_current().QualifiedName. More detail at ConversionMethods ]

getProjectQuestionnaireName

Returns the qualified name of the questionnaire specified by its id

Syntax

getProjectQuestionnaireName(id)

Arguments

id: is a numeric expression. It is the id of a questionnaire.

Return type

string

Example

string pqName = getProjectQuestionnaireName(1);

print(pqName);

//Output : "nguyen tan phong\phong questionnaire 1"


Availability

Version 5.2

getProjectQuestionnaireName (alternative)

Returns the qualified name of the questionnaire of the resource project questionnaire context

Syntax

getProjectQuestionnaireName()

Arguments

None

Return type

string

Example

string pqName = getProjectQuestionnaireName();

print(pqName);

//Output : "nguyen tan phong\phong questionnaire 1"

Availability

Version 5.2