Skip to main content
Sep 20, 2023 12:36 PM UTC
Question

How to set the classification constraint legal value list using API or java code

windchill: The requirement is to update the legal value list of the classification attribute using an API/java code and the list should be available to search in the classification search.

How to set the constraints of the classification attribute using code since we don't have any direct api currently available in ptc.

 

 

 

 

 

 

 

2 replies

Sep 20, 2023 1:59 PM UTC

How often does that constraint get or need to be updated? It does not take long to do manually and should not change often. The last part is OOTB that if you have an attribute with a legal value constraint, you can filter on it on it in the classification search. It is picked up in facet searching.

Sep 20, 2023 2:17 PM UTC

Everyweek I need to run the utility to get the values from the specific output file like excel,json and update the legal value list values on each classification attribute.