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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Is there a way to enforce character limits for attributes?

ptc-3024623
1-Newbie

Is there a way to enforce character limits for attributes?

I'm new to the Windchill/PDMLink application and I need to find the best/easiest way to restrict the number of character to be input for a wtpart name and number as this information gets pushed to another system later on and the size for these fields is limited on the downstream system. Can anybody point me in the right direction?
1 REPLY 1

Your easiest option would be to customize the create and update pages for WTParts and add a maxlength attribute to the name and number fields. Make sure you add the modified files to the wtsafearea so they will be taken into account when applying maintenance releases. The Windchill Customizer's Guide is a good place to start.
Top Tags