Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi All,
Rename of an object to greater than 80 Character is possible for one of the object. Where as when tried rename few other objects, it says "The length of name must be 0 and 80".
Not sure how it allowed for one of the object and why not for others? Any suggestions on how to troubleshoot this?
Thanks
Hari
Solved! Go to Solution.
80 is an interesting clue here. I found this article that talks about default lengths for the name field:
https://www.ptc.com/en/support/article/CS113275?source=search
It does make a note about 12.1 and beyond the limit coming down to 80 characters. What version are you on? Is this an upgraded system? If PTC has reduced the length, I doubt it was a DB restriction since they would have had to handle existing names that were too long. Are there any constraints present in the Type Administrator?
What object type are you working on (screenshots are helpful ) , the name length , is governed by physical database column size in DB an other logical constraints defined in types and attributes Manager
Hi @Fadel ,
We are working on a CAD Part. Current Name length is less than 80. We want it to be 110 characters. Main point to be worried here is, we were able to rename one object to 110 Characters. But all others we are not able to.
Thanks
Hari
you should follow steps like for https://www.ptc.com/en/support/article/CS155068
just change the file towt \ epm \ epmModel.properties and content to EPMDocumentMaster.name.UpperLimit = 110
Hi @Fadel ,
Thanks for the suggestion. However, my ask is, this particular property is not updated. So the OOTB rule is the name should not be more than 80 Characters. How come we are able to rename one of the object? Hope my query is clear.
Thanks
Hari
80 is an interesting clue here. I found this article that talks about default lengths for the name field:
https://www.ptc.com/en/support/article/CS113275?source=search
It does make a note about 12.1 and beyond the limit coming down to 80 characters. What version are you on? Is this an upgraded system? If PTC has reduced the length, I doubt it was a DB restriction since they would have had to handle existing names that were too long. Are there any constraints present in the Type Administrator?