function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Deshraj KumawatDeshraj Kumawat 

Character limit for Name field of a list type custom setting

I Created a custom setting of List type and inserting a 34 character string in name field but I am getting "Custom Setting Name too long" error. Salesforce defined limit for Name field in custom setting is 38 character.

 

Can any one help in this ?

 

Thanks

Deshraj Kumawat

Jeff MayJeff May

I have been able to set Names to 38 characters.

Deshraj KumawatDeshraj Kumawat

Thanks Jeff for quick response.

 

Sorry, I forget to metion I include special charatcters in the Name string. I am also able to set Name up to 38 character only if I dont use special characters. I am getting this error if I include special characters in the Name string.

 

Thanks

Deshraj Kumawat