cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

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

PavaniA_10
4-Participant

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 2
avillanueva
22-Sapphire II
(To:PavaniA_10)

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.

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.

Top Tags