Questions tagged [contentdistribution]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
30 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
1answer
52 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
1answer
55 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
0answers
34 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
27 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
58 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
1answer
333 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
28 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
90 views

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

APEX CODE listContentDistribution = [SELECT Id, DistributionPublicUrl, PdfDownloadUrl, ContentVersionId FROM ContentDistribution WHERE ContentDocumentId = :listContentDocumentLink[0]....
1
vote
1answer
182 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
403 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
0answers
63 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
118 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
227 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
394 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....