+ Start a Discussion
Luke Osmundson 2Luke Osmundson 2 

Creating ContentDelivery Object

Hello,

I am trying to use the ContentDistribution object to be able to generate links through Apex code. However, any time I try to use the object like this:
ContentDistribution cd = new ContentDistribution();
I get an 'This entity is not org-accessible' error. Is there a reason I can't create this object?

Thank you
 
Scott Haleo 4Scott Haleo 4
Hi Luke,

Verify you have enabled this in your org and verify you have right permission to create this.

Take a look here https://help.salesforce.com/apex/HTViewHelpDoc?id=content_delivery_create.htm

Let me know if any other issues?

Regards,
Scott Haleo
@Hytechpro.com