CATRule to Create Customized Mapping to a Resource in a Data Collect

Using a CATRule, you can map the origin machine name to the configured machine parameters that store under an operation. This mapped parameter appears as a customized field when you click Data Collect from the Instructions Authoring section of the action bar.

This page discusses:

General Information

The DELPPRMachineParamDataCollectObjectMap.CATRule is located in ..\resources\knowledge\scripts and can be invoked when you use Data Collect from the Instructions Authoring section of the action bar.

By default, the PLM Parameter name (PLM_ExternalID) maps to the Data Collect Label (V_WIDC_Label). V_WIDC_Label manages the mapping between the PLM Parameter and the Data Collect Label.

Administrator can add a deployment extension on Data Collect Label that adds an attribute that manages the mapping between a resource and Data Collect Label. This allows the Data Collect to map some attribute on the resource. Ideally, this mapping is to the resource PLM_ExternalID attribute.

Output Arguments

IntegerValue
PLMParmAttrNameString
DCAttrName
String
ResourceAttrNameString
DataCollectCustomizedAttrNameString

Sample

let PLMParmAttrName(String)
let DCAttrName(String)
let ResourceAttrName(String)
let DataCollectCustomizedAttrName(String)

PLMParmAttrName = "name"
DCAttrName = "V_WIDC_Label"
ResourceAttrName = "PLM_ExternalID"
DataCollectCustomizedAttrName = "Custo_Resource_Name"

Parameters->SetAttributeString("MappingAttributePLMParameter", PLMParmAttrName )
Parameters->SetAttributeString("MappingAttributeDataCollect", DCAttrName)
Parameters->SetAttributeString("MappingAttributeResource", ResourceAttrName)
Parameters->SetAttributeString("MappingAttributeDataCollectCustomized", DataCollectCustomizedAttrName)