Skip to main content
1-Visitor
April 29, 2010
Question

Is there a way to enforce character limits for attributes?

  • April 29, 2010
  • 1 reply
  • 1546 views
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-Visitor
April 30, 2010
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.