Skip to main content

Questions tagged [contentdistribution]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

What is the easiest way to update an LWC component on mobile user devices?

Whenever we have an update, currently we are pressing many buttons to clear the cache. Examples are: Clear Cache inside the SF app Reload Salesforce button Force stop in app info Clear cache in app ...
Z0q's user avatar
  • 91
-1 votes
1 answer
593 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
67 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
85 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
1 vote
1 answer
2k 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
620 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,849
0 votes
1 answer
1k 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
  • 7,074
1 vote
1 answer
872 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
  • 7,074
2 votes
1 answer
457 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
204 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
37 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
738 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,526
1 vote
1 answer
3k 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
803 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
344 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
520 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
2k 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