Functions Taking Resources in Input

The CreateSheet, CreateOrModifyTemplate, InstantiateTemplate, ManageInstance, and AccessResource functions take resources as input. There are five different ways of accessing resources depending on the context.

See Also
About Configured Resources
Path Description
resourceLogicalName To access a resource stored in a local resource table.
DataSetupCategory|resourceLogicalName To access a resource stored in Data Setup.
Note: the pipe ("|") is used to separate the Data Setup category from the resource logical name.
containerLogicalName>resourceLogicalName To access a resource stored in a resource table, in a container that will be filtered using the predefined Product Configuration.
Note: > is used to separate the containerLogicalName from the resourceLogicalName. It also indicates that a call to AccessResource is made in a context where you want to use a Product Configuration to filter a 150% product structure (containerLogicalName).
let wantedResource (VPMReference)
wantedResource = AccessResource("myContainerLogicalName > Prod_AA.1/Prod_JJJ.1/ myResourceLogName", "VPMReference")
containerLogicalName>instancePLMName1/instancePLMName2/resourceLogicalName To access a resource stored inside a container that will be filtered using the predefined Product Configuration, and is consistent with the path provided. Use this path when working with large containers.
DataSetupCategory|containerLogicalName>resourceLogicalName To access a resource stored in Data Setup, in a container that will be filtered with a predefined Product Configuration.
DataSetupCategory|containerLogicalName>instancePLMName1/instancePLMName2/resourceLogicalName To access a resource stored in Data Setup, in a container that will be filtered with a predefined Product Configuration, and consistent with the path provided. Use this path when working with large containers.
Note: the ">" is used to separate the containerLogicalName from the resourceLogicalName. It also indicates that a call to AccessResource is made in a context where you need to use a Product Configuration to filter a 150% product structure (containerLogicalName).