Questions tagged [contentdistribution]
The contentdistribution tag has no usage guidance.
20
questions
-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 ...
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 ...
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 ...
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 ...
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.
"...
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 ...
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 ...
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:
...
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 ...
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.
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 ...
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&...
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. ...
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 = ...
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, ...
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 ...
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 ...
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 & thus the parameters in externally shared links from ...
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, ...
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....