Difference between revisions of "SetResourceTemplateId"

From Catglobe Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:Resource_Functions]]
 
[[Category:Resource_Functions]]
{{HelpFiles}}
+
[Obsolete - please use [[SetResourceTemplateResourceId|SetResourceTemplateResourceId]]. More detail at [[ConversionMethods|ConversionMethods]] ]
  
 
====setResourceTemplateId====
 
====setResourceTemplateId====

Latest revision as of 03:36, 13 May 2022

[Obsolete - please use SetResourceTemplateResourceId. More detail at ConversionMethods ]

setResourceTemplateId

Sets the resource template id for a resource specified by its unique resource id. If empty is specified as the second argument, then null is set to the resource as resource template, except user resource.

Syntax

setResourceTemplateId(resourceUniqueId, resourceTemplateId)

Arguments

resourceUniqueId: Is a number expression. It is the unique id of a resource.

resourceTemplateId: Is a number expression. It is the id of the resource template.

Return type

empty

Examples

setResourceTemplateId(1, 1);

Availability

Version 5.4