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
dev9dev9 

How retrieve the content of content pack using APEX?

I want to get the content(files) of a content pack using apex but was unable to find the apt object where they are used. 

Andy BoettcherAndy Boettcher

Have you investigated the ContentDocument and ContentVersion objects?

Jia HuJia Hu
doc:
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_contentdocument.htm

You can't create, edit, or delete content packs via the API.
1t1t
There is an idea here to vote on. It includes a number of requested enhancements, including the API access to query relationships:
https://success.salesforce.com/ideaView?id=08730000000HuTDAA0