Difference between revisions of "GetProjectQuestionnaireName"
Cg huyphong (talk | contribs) (→getProjectQuestionnaireName) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Questionnaire_Functions]] | [[Category:Questionnaire_Functions]] | ||
− | + | [OBSOLETE - Please use [[GetProjectQuestionnaireNameByResourceId|GetProjectQuestionnaireNameByResourceId]], [[Resource_getResourceName|Resource_getResourceName]], or [[Questionnaire_class|Questionnaire_current().QualifiedName]]. More detail at [[ConversionMethods|ConversionMethods]] ] | |
====getProjectQuestionnaireName==== | ====getProjectQuestionnaireName==== | ||
Line 33: | Line 33: | ||
==getProjectQuestionnaireName (alternative)== | ==getProjectQuestionnaireName (alternative)== | ||
− | Returns the name of the | + | Returns the qualified name of the questionnaire of the resource project questionnaire context |
'''Syntax''' | '''Syntax''' | ||
Line 52: | Line 52: | ||
print(pqName); | print(pqName); | ||
+ | |||
+ | //Output : "nguyen tan phong\phong questionnaire 1" | ||
'''Availability''' | '''Availability''' |
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