Part Tag Navigation Criteria Examples
Part tag navigation criteria are the equivalent of a structure filter in Windchill MPMLink, where a part tag is selected on the Part Tag Filter tab of the Edit Filter window.
An example of a JSON payload that can be used as part tag navigation criteria is provided for the processPlanNavigationCriteria input parameter on the ConvertFromProcessPlanID service: Part Tag Filter Example for the processPlanNavigationCriteria Input Parameter. Part tag navigation criteria is not intended for use in the relatedAssemblyNavigationCriteria input parameter.
* 
Unlike the other navigation criteria, the JSON payloads for part tag navigation criteria cannot be constructed using individual values retrieved from Windchill MPMLink. The JSON payloads for part tag navigation criteria must be retrieved from a saved structure filter and sanitized for use, as described in Creating Your Own Navigation Criteria Example.
The following table shows the relationship between the settings on the Configuration Specification tab of the Edit Filter window in Windchill MPMLink and the objects and attributes in a JSON payload for part tag navigation criteria.
Windchill MPMLink Setting
JSON Object Attribute
Saved filter from the Filter action set on the Structure tab.
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
Apply to top level object checkbox.
"ApplyToTopLevelObject": "...",
Choose a Type=Latest.
"@odata.type": "#PTC.NavCriteria.WTPartStandardConfigSpec",
Include Work In Progress checkbox.
"WorkingIncluded": "...",
View field.
"View": "...",
Life Cycle State field. For more information, see Retrieving Life Cycle State Values.
"LifeCycleState": {
"Value": "...",
"Display": "..."
},
BOM Type field.
"Variation1": "...",
Alternate BOM field.
"Variation2": "...",
One or more part tags are selected on the Part Tag Filter tab.
"@odata.type": "#PTC.NavCriteria.PartTagFilter",
Information from the selected part tags.
"Tags": [{
"ObjectTaggerReference": "...",
"TagDisplayString": "..."
Apply latest for unresolved dependents checkbox.
"UseDefaultForUnresolved": "..."
Part Tag Filter Example for the processPlanNavigationCriteria Input Parameter
The following code shows an example JSON payload for the processPlanNavigationCriteria input parameter, providing navigation criteria for a part tag filter:
{
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ApplyToTopLevelObject": false,
"ConfigSpecs": [{
"@odata.type": "#PTC.NavCriteria.WTPartStandardConfigSpec",
"WorkingIncluded": true,
"View": "Manufacturing",
"LifeCycleState": null,
"Variation1": null,
"Variation2": null
}],
"Filters": [{
"@odata.type": "#PTC.NavCriteria.PartTagFilter",
"Tags": [{
"ObjectTaggerReference": "wt.part.WTPartMaster:104389",
"TagDisplayString": "WCDS000465, 01-50000.asm"
}]
}],
"UseDefaultForUnresolved": false
}
Was this helpful?