Difference between revisions of "GetResourceTemplateIdByName"
(jrfconvert import) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Resource_Functions]] |
− | | + | [Obsolete - please use [[ResourceTemplate_class|ResourceTemplateHelper.GetTemplate(resourceTemplateName, ResourceType).ResourceId]]. More detail at [[ConversionMethods|ConversionMethods]] ] |
====getResourceTemplateIdByName==== | ====getResourceTemplateIdByName==== | ||
Line 21: | Line 21: | ||
getResourceTemplateIdByName("My project template"); | getResourceTemplateIdByName("My project template"); | ||
+ | |||
+ | //Return the resource template id | ||
'''Availability''' | '''Availability''' |
Latest revision as of 03:37, 13 May 2022
[Obsolete - please use ResourceTemplateHelper.GetTemplate(resourceTemplateName, ResourceType).ResourceId. More detail at ConversionMethods ]
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