Difference between revisions of "GetResourceTemplateIdByName"

From Catglobe Wiki
Jump to: navigation, search
(getResourceTemplateIdByName)
Line 1: Line 1:
 
[[Category:Resource_Functions]]
 
[[Category:Resource_Functions]]

+
[Obsolete - please use [[ResourceTemplate_class|ResourceTemplateHelper.GetTemplate(resourceTemplateName, ResourceType).ResourceId]]]
  
 
====getResourceTemplateIdByName====
 
====getResourceTemplateIdByName====

Revision as of 11:41, 12 May 2022

[Obsolete - please use ResourceTemplateHelper.GetTemplate(resourceTemplateName, ResourceType).ResourceId]

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