Questions tagged [contentdistribution]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
79 views

Create a Public Download Link for my Attachment

I have an Object which has attachments and I can access those using ContentDocument and ContentVersions. but when i try to create a download link for the same using ContentDistribution I am able to ...
user9158002's user avatar
0 votes
1 answer
30 views

DistributionPublicUrl String length limit

Can anyone know what is the DistributionPublicUrl in ContentDistribution object String length limit in Salesforce ? I was trying to create an DistributionPublic URL whenever a new file is created or ...
Van Minh TRan's user avatar
0 votes
0 answers
35 views

ContentDistribution endpoint - exclude links that refer to 'This content delivery has expired'

When calling the 'ContentDistribution' endpoint, What are some possible reasons for receiving files with the key ExpiryDate = Null Is there a way to filter the results from DistributionPublicUrl to ...
Yuavl_Dayan's user avatar
0 votes
1 answer
515 views

Another ContentDocumentLink, ContentVersion & ContentDistribution Question

I apologize if this has already been covered (It probably has, I just cant find it in the 'Open your eyes' section of the forum) But I'm having troubles creating a list of publicly accessible URLS ...
Mike Cuming's user avatar
0 votes
0 answers
139 views

ContentDistribution Not Creating From Guest User - SF Community Site

I'm getting the following error for the guest user while creating contentDistribution. But, I'm able to delete the same contentDistribution records from the guest user profile. "...
Abhijith S's user avatar
0 votes
0 answers
454 views

How do I get the ContentDistribution full url of an image?

We have images stored in Salesforce as ContentDocuments, and have generated ContentDistribution records for them in order to display them publicly in our portal and on our website (which is Webflow ...
Irene's user avatar
  • 1,753
0 votes
2 answers
749 views

Create DistributionPublicUrl with image format

I need to send Image Url (which is stored in Salesforce) to External Service. I can send only url, there are no possibility to send Blob or something else. I created DistributionPublicUrl with ...
Vitalii Dehnerys's user avatar
0 votes
1 answer
982 views

Relationship between ContentDistribution and ContentDocument build SOQL query

Is there a way to query ContentDistribution and ContentDocument ? I'm looking to pull few fields from ContentDocument while building the ContentDistribution query. Here is what I have done so far: ...
Nick's user avatar
  • 6,924
1 vote
1 answer
684 views

ContentDistribution error = INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY

EDIT: I have enabled Salesforce CRM Content I still see the insufficient access. I'm trying to insert a record to ContentDistribution object using the following: ContentDistribution cd = new ...
Nick's user avatar
  • 6,924
2 votes
1 answer
420 views

iOS Swift Package Manager Support [closed]

Is there any plan regarding support MarketingCloudSDK iOS through Swift Package Manager? Best Regards, Inácio.
Anidrium's user avatar
1 vote
0 answers
129 views

Can't Find Content Permissions Referenced in Official Documentation

I'm developing a solution which leverages ContentDistribution, and I'm figuring out access levels and permissions. I read this page in the Soap API Developer Guide: However, I can't find the ...
Gabriel Rivera's user avatar
0 votes
0 answers
36 views

How to create a public Url for an attachment? [duplicate]

I used a lightning:fileUpload to insert a file into the Attachment object: <lightning:fileUpload recordId="{!v.patientId}" aura:id="fuploader" name="files&...
Jayesh Babu's user avatar
1 vote
1 answer
495 views

FATAL_ERROR System.DmlException: Insert failed

I am having trouble setting the relatedRecordId on ContentDistribution. When I run from the trigger on ContentDocumentLink I get the following error: FATAL_ERROR System.DmlException: Insert failed. ...
zachary edgell's user avatar
1 vote
1 answer
3k views

Content Distribution Records are not getting created

I have a trigger which create content Distribution Records. Creating content distribution Record using following code:- ContentDistribution cdist = new ContentDistribution( Name = ...
Manjot Singh's user avatar
  • 3,406
1 vote
1 answer
2k views

Retrieve Preview Image URL of Salesforce Image Files

I am trying to get the image addresses from Salesforce Files using the following query in workbench. There are thousand files, but no results are displaying. Select Id, ContentDocumentId, ...
Ertyq's user avatar
  • 331
0 votes
1 answer
2k views

How to share an attachment using url?

I am new to saleforce and I used the following code to save files to the Attachment object in salesfore: String base64Data = EncodingUtil.urlDecode(base64Data, 'UTF-8'); Attachment attach = new ...
Jayesh Babu's user avatar
1 vote
1 answer
466 views

How to get image link from DistributionPublicUrl (outside Salesforce)?

I need to display pictures outside salesforce so Im generating DistributionPublicUrl from ContentDistribution but the 'DistributionPublicUrl' its a page with the picture but its not the picture. Cant ...
Tomas Garcia Etchegaray's user avatar
0 votes
0 answers
307 views

Image Formula Fields in HTML Email Template

Trying to put a Formula Field Image on an Email template so to have images unique to the Account. So Email templates replaces & with &amp; thus the parameters in externally shared links from ...
stackasaur's user avatar
0 votes
1 answer
455 views

content deliveries and public links missing in npsp org

I have created a trigger on contentDocumentLink in my developer org and generating public url for file sharing using ContentDistribution object and when i started moving code to npsp org sandbox, ...
Suraj's user avatar
  • 11
1 vote
2 answers
1k views

How to set ContentDistribution password?

I kindly ask for help with setting ContentDistribution password on a published document link. In the Controller I have: ContentVersion conVer = new ContentVersion(); conVer....
user2759543's user avatar