You need to sign in to do that
Don't have an account?

Custom fields in custom settings
Hi,
is there any way to create custom fields of type 'long text' in custom settings? I coulnt see long text type while creating custom fields in custom settings. This seems very weird.
Thanks
Ceyhun Karimov
No you can not add a log text in custom setting field and there is a reason also, custom settings are primarily used to save configurations for any application. Now long text as a configuration is impracticle. But now as there must me some need of yours thats why you are asking. So I would suggest you to create a custom object, use it as Custom Setting. Even when salesforce did not introduced custom setting we used a custom object as to keep org configurations. So I hope your case can also be solved with custom object.
All Answers
No you can not add a log text in custom setting field and there is a reason also, custom settings are primarily used to save configurations for any application. Now long text as a configuration is impracticle. But now as there must me some need of yours thats why you are asking. So I would suggest you to create a custom object, use it as Custom Setting. Even when salesforce did not introduced custom setting we used a custom object as to keep org configurations. So I hope your case can also be solved with custom object.
Thanks for the reply Sharma,
Salesforce forces developers to use custom setings and not to use custom objects, for example i save activation key code which can be quite very long. But nevertheles, thank you very much