GetResourceTemplateIdByName

From Catglobe Wiki
Revision as of 09:15, 23 December 2011 by Cg huyphong (talk | contribs) (getResourceTemplateIdByName)
Jump to: navigation, search



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