Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Using Windchill Rest to retrieve a BoM, and mainly referencing: https://support.ptc.com/help/windchill_rest_services/r1.7/en/index.html#page/windchill_rest_services/WCCG_RESTAccessExamplesReadBOM.html
I have found the correct rest endpoint to return navigate criterias. However this service returns an empty array for the available navigation criterias. Anyone know why this is, or can explain/point me in the right direction of what a navigation criteria is and how to work with them.
Solved! Go to Solution.
Hi @travman7777
It should return some data like this in within an array of strings :
"CreatedOn": "2021-05-17T12:51:55+01:00", "Filters": [], "HideUnresolvedDependents": false, "ID": "OR:wt.filter.NavigationCriteria:656243200", "LastModified": "2021-05-17T12:51:55+01:00", "Name": "Release to Manufacture", "SharedToAll": true, "UseDefaultForUnresolved": false
These nav criteras relate to filters in Windchill, like the one shown below:
Maybe you don’t have any filters setup, or perhaps they're not accessible.
Hi @travman7777
It should return some data like this in within an array of strings :
"CreatedOn": "2021-05-17T12:51:55+01:00", "Filters": [], "HideUnresolvedDependents": false, "ID": "OR:wt.filter.NavigationCriteria:656243200", "LastModified": "2021-05-17T12:51:55+01:00", "Name": "Release to Manufacture", "SharedToAll": true, "UseDefaultForUnresolved": false
These nav criteras relate to filters in Windchill, like the one shown below:
Maybe you don’t have any filters setup, or perhaps they're not accessible.
@rhart thank you for the direction! I was able to create a filter in the WC UI and run the REST endpoint to retrieve it.