How to restrict "Name" field to allow less than 128 characters?
In Teamcenter 8.3, Name field can take 128 characters which is defined in the teamcenter model. Now, I have to reduce it into hundred character limit. Which is the best way to do it? Bmide or Xml rendering or
• Obtaining one form property
TCFormProperty p = f.getFormTCProperty(“my_prop_name”);
If it were TC11.x, you could set a naming rule (with regex to limit the character input) on any persistent property (TC enlarged the naming rule applicability on properties from TC 8.3 to TC9.x to TC 10.x to TC11)
I don't seem to recall if naming rules worked in TC 8.3: If they don't work, you could avoid customization by creating a custom name attribute (hide it from users), set the custom attribute to your desired character limit and then do a complexproperty (using custom attribute) on object_name field.