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
siddarth rajsiddarth raj 

Why not look up field on custom settings

Why not element lookup field can be added to the custom settings.
KaranrajKaranraj
Hi Siddarth - Its platform limit. You can't create following fields in custom settings Formula,Picklist and relationship fields(lookup and master detail). 
siddarth rajsiddarth raj
Yeah Your right and I am aware of it My Question what do you think having such limit in place.   Why not it can be allowed as new change or feature.
AshlekhAshlekh
Hi,

As I know custom setting data know as static data and user can change and this data no't depend on other data thats why lookp up field is not there. IF there will be look up field then it's mean current data depent on other data of other data has some depenendcy on other and then we want look up than why not we can use object instead of custom setting.
David "w00t!" LiuDavid "w00t!" Liu
Common workarounds:
  1. Simply hardcode the ID in a text field
  2. Use a custom object with as many lookup fields as you want!