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
Luke Osmundson 2Luke Osmundson 2 

Creating ContentDelivery Object


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

Let me know if any other issues?

Scott Haleo