Why string type field value is truncated ?

Ankita Kolhe
Tera Contributor

Hi Community,

 

I have copied glist_list type field value to string type field. The values are getting copied correctly in dev environment while in itest the values are truncated.

 

Field length is 256.

 

I have checked the columns of table in both instances. Both instances has same no of columns with same field length.

 

dev instance:-

AnkitaKolhe_0-1730098872114.png

 

test instance (truncated values):-

AnkitaKolhe_1-1730098913279.png

Could someone please help o n this?

 

Thanks,

Ankita

3 REPLIES 3

palanikumar
Mega Sage

Hi,

How are you copying the field? if you are using importset, make sure import set field length is also same

Thank you,
Palani

Through scripting.

Moin Kazi
Kilo Sage
Kilo Sage

Hi @Ankita Kolhe ,

 

Please review your field dictionary in the test instance and check the attribute field (if it's not visible, click on the "Advanced View" related link). There is one attribute you need to verify: no_truncate. If it's not present, you should add it like this:

no_truncate=true

 

MoinKazi_0-1730104059530.png

 

no_truncatetrue/falseany string fieldIn a list view, shows the entire text value of the multi-text value in a list, without truncating it. Without this attribute the string is truncated based on the UI property Number of characters displayed in list cells which is 40 by default.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you found my response **helpful**, I’d appreciate it if you could take a moment to select **"Accept as Solution"** and **"Helpful"** Your support not only benefits me but also enriches the community.

 

Thank you!
Moin Kazi
www.linkedin.com/in/moinuddinkazi

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~