Skip to main content
14-Alexandrite
December 27, 2022
Solved

Is it possible for me to simply exceed the 500 character limit of the string Length?

  • December 27, 2022
  • 5 replies
  • 6343 views

Is it possible for me to simply exceed the 500 character limit of the string Length?

 

onur_0-1672144055548.png

onur_1-1672144104487.png

 

Best answer by BenLoosli

I don't think so. The 500 character limit is, I believe, hard coded into Windchill.

If you need a longer length field, open an Idea in the community so PTC will see the request.

I would guess most Windchill admins will vote it up. 

However, getting an Idea acknowledged and voted up does not mean PTC will implement the change. IF they happen to be working on that area of the code for some other change, then the chances improve for a change to the string limit.

5 replies

BenLoosli23-Emerald IIIAnswer
23-Emerald III
December 27, 2022

I don't think so. The 500 character limit is, I believe, hard coded into Windchill.

If you need a longer length field, open an Idea in the community so PTC will see the request.

I would guess most Windchill admins will vote it up. 

However, getting an Idea acknowledged and voted up does not mean PTC will implement the change. IF they happen to be working on that area of the code for some other change, then the chances improve for a change to the string limit.

16-Pearl
December 27, 2022

If you update your database to exceed the character limit, it will cause issues in your upgrade. I would not recommend trying to exceed 500 characters. I would recommend instead, using a second field. 

13-Aquamarine
December 27, 2022

As for IBAs, we extend them up to 4000 byte (= 1333 characters).

Refer to following article.

https://www.ptc.com/en/support/article/cs249295

I hope this is helpful for you.

18-Opal
December 28, 2022

The column size in the dB where the String is store has a size of 500. In fact, there are actually two column in the same table that would need to have their size increased.

So, that’s a negative unless you are going to increase the column size.

That covers the dB side

On the application side the class the creates the entry into the dB has an upperLimit = 500

constraint.

 

So, you have to edit the dB table and the class in Windchill.

 

I wouldn’t recommend it.

How about unchecking the Single Value constraint on the attribute? Band-aid solution for sure and not pretty but you’ll

have more room.

1-Visitor
December 28, 2022

Steps to reproduce the behavior:

  1. Send more than 500 Characters to a bot using LUIS

Expected behavior

The 500 Character Limit is a built in limitation of LUIS, it would be expected that the bot framework truncate the text sent to LUIS to be 500 Characters or less. Allowing LUIS to return an intent and not cause an error.

14-Alexandrite
December 28, 2022
21-Topaz I
December 28, 2022

Our partner company was able to increase the number of characters for the Resulting Objects table to 2000 characters and the out of the box Description on a Change Notice to 4000 so I would assume it could be done on a problem report.

This has never created a problem during an upgrade as far as I know.

STEVEG_1-1672261444758.png

We were told it is fully supported by PTC.

I found this on PTC's website:

https://www.ptc.com/en/support/article/cs129982?language=en&posno=1&q=comment%20change%20task%20character%20limit&source=search

 

14-Alexandrite
December 29, 2022

I started a vote so that it can be resolved without changing anything on the server, but I think your solution is quite reasonable as well. Thank you.