You need to sign in to do that
Don't have an account?
SOQL ContentVersion and Content Packs
Greetings,
I've been trying to implement a UI for the Content Packs feature that's available in CRM Content. I know that it's possible to get the ContentVersion objects that have FileType set to PACK and I have that already implemented.
Now I'm having problems with getting the stuff that actually resides in the Content Pack itself. The documentation is very sparse here, if not to say there's not documentation, as Content Packs are mentioned twice, only in context that there's it's not the method to get these. They appear in ContentVersion ("Use the ContentDocument object to retrieve, query, update, and delete the latest version of a document, but not a content pack") and in ContentDocument ("Use this object to retrieve, query, update, and delete the latest version of a document, but not a content pack") and as you can see in the quotations there's nothing helpful there, unfortunately.
So the question is: how, using SOQL, can I access and download files that are located inside a Content Pack?
Any help is appreciated!
'You can't create, edit, or delete content packs via the API'.
I guess this function is not open to API access yet.
Well, it doesn't say anything about viewing - currently I don't need editing/creating/deleting of Content Packs - just view them. I hoped there'll be something for that... (as it's not mentioned in docs).
Anyway, thanks for the answer!
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_contentversion.htm
Use this object to create, query, retrieve, search, edit, and update a specific version of a Salesforce CRM Content document or Chatter file. Use the ContentDocument object to retrieve, query, update, and delete the latest version of a document, but not a content pack, in a library or a file in Chatter.
Where you ever able to query the Content Pack?
Unfortunately I haven't found a way to access any data from content packs (expect for their name, that is). As people above wrote, that feature is not yet available in SFQL.
This is unfortunate, thanks for your quick response.
This is a shame. It sure is difficult to migrate content from one org to another for customers especially those that leverage content packs alot.
https://success.salesforce.com/ideaView?id=08730000000HuTDAA0