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
kranjankranjan 

How to clone a Contentpack Content record with no PathOnClient, ContentURL or VersionData

Hi,

We have a Contentpack Content record which is created using an existing content. Suprisingly the new contentversion record for the contentpack  has no PathOnClient, no ContentURL and No VersionData. But it has content attached in the database which can be seen and can be downloaded from its content detail page. We need to clone this content Pack record from the org to a community. How can this be done as when one tries to create a ContentVersion record with no PathOnClient, no ContentURL and No VersionData, salesforce does not allows you to do that.

Any help is highly appreciated

Thanks
Kamal Ranjan
ShashForceShashForce
Hi,

There doesn't seem to be a way for this at present. Please see these links for more details:
http://salesforce.stackexchange.com/questions/13255/how-can-you-interrogate-the-contents-of-a-content-pack-using-apex-and-soql
https://success.salesforce.com/ideaview?id=08730000000HMq4AAG

Thanks,
Shashank