I want to include a Visualforce component on a Lightning Record Page that routes to a specific file library. As neither Files nor Libraries are Objects, I am having some trouble developing this component. Also there is not much documentation on Files and Libraries.

Anyone have experience with this?

1 Answer 1


The premise of the question is mistaken. Files and Libraries are both objects.

For a quick overview of the admittedly complex object model for Salesforce's Content system, review the ERD. You're probably specifically interested in ContentWorkspace, which is a library, and ContentDocument, which is a file.

The SOAP Reference, to which I link above, is often the most useful source on the intricacies of interacting with these objects, some of which come with unique behaviors and restrictions.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .