SetResourceTemplateResourceId
setResourceTemplateResourceId
Set the resource template RId for a resource
Syntax
setResourceTemplateResourceId (number resourceRId, number resourceTemplateRId);
Arguments
resourceRId: number. It's resourceId of the resource you want to set resource template
resourceTemplateRId: number. It's resourceId of resource template
Return type
Empty
Example
number resourceRId = 11560690;
number resourceTemplateRId = 2076;
setResourceTemplateResourceId (resourceRId, resourceTemplateRId);