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

Why can't I see Documents sObject in list for creating lookup relationship


For one of my custom object, I want to create a lookup relationship with Documents. But when I go for adding a new fields on my custom object of type lookup relationship, I don't see Documents sObject as one of the option in the 'Related To' list. Can anybody tell me what's the reason for this? Is is not possible to create a new custom field of type lookup relationship with Documents sObject?

Thanks in advance

Best Answer chosen by Admin (Salesforce Developers) 

You don't see document as documents are not meant to be looked up as per salesforce design.

You may alternatively use formula field to serve your purpose.



Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.