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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Attributes - Discrete set values using ResourceBundle?

ddemay
1-Newbie

Attributes - Discrete set values using ResourceBundle?

You could code the interface to read a resource bundle or other file format as a way to display for the UI and remove it as a discrete set in type def.

Perhaps the best solution which can easily be automated is to use a load file to update the type definition.

The constraints are applied once you add an attribute to the type not beforehand.

Therefore you can use an xml based load file. I can send you or anyone interested an example.

What I would do because I'm lazy and want to reduce human error you have multiple xml loadfile for all your soft types. In those file where the constraint values are definedn place a string pattern ensured to be unique that you can do a find replace text against. Then run the load file command for each one in an automated fashion. ANT can handle both.
0 REPLIES 0
Announcements

Top Tags