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
sachin.ramdasisachin.ramdasi 

Textarea(long) field for custom setting

Is there a way we can use textarea(long) field for custom settings? I know we can use textarea field but it limits to only 255 characters. I need to store some delimiter separated data which will need textarea(long) kind of field.

Any suggestion on how to go about it?

 

Thanks in advance.

Best Answer chosen by Admin (Salesforce Developers) 
sfdcfoxsfdcfox

No, you can't currently store more than 255 characters in any field in a Custom Setting. If you absolutely need this, you'd have to use multiple fields or use a full-blown Custom Object. It is easy enough to just set the object's permissions such that normal users can not edit the records, and if you do not create a tab for it, then it will be essentially invisible in the system.

All Answers

sfdcfoxsfdcfox

No, you can't currently store more than 255 characters in any field in a Custom Setting. If you absolutely need this, you'd have to use multiple fields or use a full-blown Custom Object. It is easy enough to just set the object's permissions such that normal users can not edit the records, and if you do not create a tab for it, then it will be essentially invisible in the system.

This was selected as the best answer
Sridhar BonagiriSridhar Bonagiri

Hi,

 

I think we cannot use Textarea field type in custom settings.

 

Sridhar Bonagiri