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

GetResourceTemplateIdByName: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Line 21: Line 21:


getResourceTemplateIdByName("My project template");
getResourceTemplateIdByName("My project template");
//Return the resource template id


'''Availability'''
'''Availability'''

Revision as of 08:15, 23 December 2011



getResourceTemplateIdByName

Returns a resource template's id by its name.

Syntax

getResourceTemplateIdByName(name)

Arguments

name: Is a string expression. It is the qualified name of the resource.

Return type

number

Examples

getResourceTemplateIdByName("My project template");

//Return the resource template id

Availability

Version 5.4