Difference between revisions of "GetProjectQuestionnaireName"

From Catglobe Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 3 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====
  
Returns the name of the questionnaire specified by its id
+
Returns the qualified name of the questionnaire specified by its id
  
 
'''Syntax'''
 
'''Syntax'''
Line 23: Line 23:
  
 
print(pqName);
 
print(pqName);
 +
 +
//Output : "nguyen tan phong\phong questionnaire 1"
 +
  
 
'''Availability'''
 
'''Availability'''
Line 30: Line 33:
 
==getProjectQuestionnaireName (alternative)==
 
==getProjectQuestionnaireName (alternative)==
  
Returns the name of the current questionnaire.
+
Returns the qualified name of the questionnaire of the resource project questionnaire context
  
 
'''Syntax'''
 
'''Syntax'''
Line 49: 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