Baseline Navigation Criteria Examples
Baseline navigation criteria are the equivalent of a structure filter in Windchill MPMLink, where Baseline is selected for the Choose a Type field on the Edit Filter window.
Examples of JSON payloads that can be used as baseline navigation criteria are provided for each of the input parameters on the ConvertFromProcessPlanID service:
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 baseline navigation criteria.
Windchill MPMLink Setting
JSON Object Attribute
Saved filter from the Filter action set on the Structure tab.
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
Saved filter from the Related Assembly Filter action set on the Structure tab.
"ApplicableType": "PTC.ProdMgmt.Part",
Apply to top level object checkbox.
"ApplyToTopLevelObject": "...",
Choose a Type=Baseline.
"@odata.type": "#PTC.NavCriteria.WTPartBaselineConfigSpec",
ID value for the baseline selected on the Configuration Specification tab. For more information, see Retrieving Baseline ID Values.
"Baseline": "...",
Apply latest for unresolved dependents checkbox.
"UseDefaultForUnresolved": "..."
Baseline 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 baseline filter:
{
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ApplyToTopLevelObject": true,
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartBaselineConfigSpec",
"Baseline": "wt.vc.baseline.ManagedBaseline:284734"
}
],
"Filters": [],
"UseDefaultForUnresolved": false
}
Baseline Filter Example for the relatedAssemblyNavigationCriteria Input Parameter
The following code shows an example JSON payload for the relatedAssemblyNavigationCriteria input parameter, providing navigation criteria for a baseline filter:
{
"ApplicableType": "PTC.ProdMgmt.Part",
"ApplyToTopLevelObject": true,
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartBaselineConfigSpec",
"Baseline": "wt.vc.baseline.ManagedBaseline:284734"
}
],
"Filters": [],
"UseDefaultForUnresolved": false
}
Was this helpful?