Questions tagged [contentdistribution]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
20 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
0answers
26 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
1answer
40 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. ...
0
votes
0answers
57 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 = ...
0
votes
0answers
26 views

How to get all sharing details of a File

I am using below SOQl to get sharing details of a particular file, With below query I am able to get sharing details if file is shared to a particular User, Group and Organization but Its not giving ...
0
votes
0answers
39 views

Using renditionDownload?rendition=SVGZ only first page of pdf displays

----* code in apex *---- listContentDistribution = [SELECT Id,DistributionPublicUrl,PdfDownloadUrl,ContentVersionId FROM ContentDistribution WHERE ContentDocumentId = :listContentDocumentLink[0]....
1
vote
1answer
68 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
1answer
141 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 ...
0
votes
0answers
43 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
0answers
13 views

How is ContentDistributionView created?

So I want to make an image link viewable by community members only if they're logged in. I wanted more information on how ContentDistributionView is created because I have a contentDistribution that ...
0
votes
0answers
98 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 ...
0
votes
1answer
167 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
2answers
310 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....