Skip to main content
4-Participant
September 20, 2023
Question

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

  • September 20, 2023
  • 1 reply
  • 1348 views

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.

 

 

 

 

 

 

 

1 reply

avillanueva
23-Emerald I
23-Emerald I
September 20, 2023

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.

4-Participant
September 20, 2023

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.