I would like to create custom Formula checkbox field "UniqueId" which is true or false based on values in my Custom Settings.
I have got Hierarchical Settings based on Profiles with one custom field which stores Record Type Ids for Cases.
For example:
CUSTOM SETTING:
Profile – System Administrator
"RecordIdField" – Id1,Id2,Id3
Profile – Standard User
"RecordIdField" – Id1,Id3,Id5
And field for System Admin will take true for Cases with RecordTypeId 1,2 or 3 for rest false, for Standard User will take true for Cases with RecordTypeId 1,3 or 5 and rest false.
Is there any way to get this?
Best Answer
If it a hierarchy custom setting then you can access the custom setting using
Now you can use formula's
CONTAINS
to check recordType Id is present all or not. Based on that return true or false