Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- General Development
- :
- SOQL ContentVersion and Content Packs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
SOQL ContentVer sion and Content Packs
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-23-2012 05:59 AM
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!
Re: SOQL ContentVer sion and Content Packs
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-23-2012 07:34 AM
'You can't create, edit, or delete content packs via the API'.
I guess this function is not open to API access yet.
Re: SOQL ContentVer sion and Content Packs
[ Edited ]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-23-2012 08:11 AM - edited 07-23-2012 09:09 AM
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!
Re: SOQL ContentVer sion and Content Packs
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-23-2012 08:48 AM
http://www.salesforce.com/us/developer/docs/api/Co
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.
Re: SOQL ContentVer sion and Content Packs
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-18-2012 02:14 PM
Where you ever able to query the Content Pack?
Re: SOQL ContentVer sion and Content Packs
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-19-2012 12:55 AM
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.
Re: SOQL ContentVer sion and Content Packs
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-19-2012 07:00 AM
This is unfortunate, thanks for your quick response.
Re: SOQL ContentVer sion and Content Packs
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-09-2012 10:08 AM
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.

