Questions tagged [content]
Content storage organized as files and libraries in the Sales Cloud.
204
questions
-3
votes
0
answers
39
views
What is the reason for the PATCH request to update HTML content in the SFMC is not working in Postman when updated using content as a variable
When I add actual HTML content in place of variable the Email Asset gets updated, Is there any workaround for this.
0
votes
0
answers
17
views
How can we add a File Link to the Record in Salesforce user interface?
Looks like we can add a file link using Dataloader or sf data upsert bulk command by populating ContentUrl field but we can't really do the same thing in the User interface. Is this a platform ...
0
votes
0
answers
45
views
Custom Error Message on ContentDistribution Object in Apex Trigger
I am trying to create a apex trigger on contentdistribution object by following this documentation and added a logic to throw a custom error message as 'This file is not allowed to be delivered.' but ...
0
votes
1
answer
38
views
Can I send Content Selection click data to a DE?
Salesforce Marketing Cloud, Einstein
I send an email to a client with 2 assets and I would like to save in a DE which image the client clicked on. For example: "Do you like movies or series more?&...
0
votes
0
answers
48
views
How can I create a public link for a content folder via Apex that opens the folder in Salesforce Lightning Experience?
I was trying to generate public link for content folder inside one of my library via apex.
I am using following code snippet from anonymous window:-
String folderUrl = URL.getOrgDomainURL()....
0
votes
1
answer
74
views
Does standard search index against content file body
I cannot find any documentation regarding if Standard Salesforce search performs the search against File Content, for example, if I have a PDF document with content 'ask my anything' or 'hallucinating'...
0
votes
1
answer
224
views
What is the efficient way to programmatically fetch binary blob data for automation?
Bulk API 2.0 which is the most efficient way to fetch data in range between 2000 and 15000000, doesn't support binary (blob) data in ContentVersion VersionData and it also doesn't support Attachment ...
0
votes
1
answer
112
views
How can I determine parent record of file uploaded through related list of notes and attachment?
I have uploaded a file to Notes and Attachment section and I expect ParentId field on ContentDocument record to be populated with the actual Opportunity record Id where I have uploaded this record but ...
0
votes
0
answers
146
views
Using Content Block of type Layout in a custom HTML template for SFMC
I am working on an email template that uses content blocks. The content blocks are retrieve using some ampscript that loops through a JSON string of contentBlocksIDs.
I also wanted to use content ...
-1
votes
1
answer
315
views
Adding image dynamically into Quote pdf
We have a requirement to add Image that's associated to Quote as Salesforce file into Quote pdf. (we aren't using CPQ) Using formula field we can display image if its available as static resource. ...
-2
votes
1
answer
101
views
getting wrong rendering in Image over image using HTML [closed]
I am trying to add one image over another image, however i am unable to do so , while previewing and testing, it's rendering correctly however in outlook it's getting misplaced
Please can someone help ...
0
votes
1
answer
690
views
List of file types that generate a thumbnail preview?
Is there a list of file types/extensions that Salesforce create a preview of?
ie. when using /sfc/servlet.shepherd/version/renditionDownload?rendition=THUMB720BY480&versionId=${versionId}
For ...
1
vote
2
answers
2k
views
How to create a public link for library in files?
I Have a library let's say "XYZ Library" in Libraries Section of files and I need to get a public link for that library same as we create for Folders from the drop down, so that I can use it ...
0
votes
1
answer
1k
views
How can we retrieve E-mail attachments using Flow?
We have a requirement to retrieve Email-to-Case attachments using Flow. We've written an invocable action to use the EmailMessage ID and traverse the ContentDocumentLink, ContentDocument, and ...
0
votes
1
answer
340
views
Query files from private folders by SOQL to wipe content?
My QA users have overfloaded the Developer Sandbox with 234 MB of files.
I try to wipe all the content, however, looks like SOQL query doesn't return all the files even though I can see them in UI.
I ...
1
vote
0
answers
452
views
Sort Knowledge Articles by custom logic rather than publish Date
Hoping someone can help me out here.
I am working on set up of public customer knowledge center but the articles need to be sorted in a specific logical manner and not in the order they were published....
0
votes
0
answers
665
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 ...
1
vote
1
answer
602
views
Dataloaded ContentWorkspace (libraries) with no permissions and they are now hidden from all users
I have a question about data loading ContentWorkspace (Library) records into an org. I used dataloader to load a number of library records. I set the ShouldAddCreatorMembership field to False so now ...
0
votes
0
answers
160
views
Querying ContentWorkSpace as a community portal user results 0 rows
I have an apex controller for an aura components that is suppose to query ContentWorkSpace object to get the workspace Id. But the issue is, it results in 0 rows when it runs as community portal user. ...
0
votes
2
answers
505
views
Update custom field on Opportunity on attached file deletion - Lightning
I have setup a trigger to update a custom checkbox Attachment__c on opportunity on uploading or deletion of file as an attachment. This seems to work fine on the file upload but fails every time on ...
0
votes
1
answer
848
views
Guest User create ContentDelivery record
I am trying to let a guest user from our Salesforce site create a ContentDelivery record in order to create a public available link for a signature he just posted in the website.
I cannot give him the ...
0
votes
0
answers
404
views
How to access content library as guest user in experience builder
in "VNSK" library i have some images that i use as URL for custom object and later i'm retrieving this object via SOQL in my LWC component
this works fine for manage library members (i have ...
3
votes
1
answer
4k
views
What's the best way to display a PDF file in community builder?
I have a pdf file that I'd like users to be able to open from their home landing page. I've tried using CMS in community builder, but the content just comes up as a big white or grey box.
I went into ...
0
votes
1
answer
2k
views
Get image by Content Key added by the User, using ContentReference in code's metadata
I'm new to Salesforce and I'm stuck with showing an imaged added by ContentReference, when adding the image in the Experience Builder it returns a Content Key like this "...
3
votes
2
answers
2k
views
Find the name of an image based on its URL in Marketing Cloud
As part of our blog subscription process, we send out an automated email, confirming someone's subscription. The email includes an image that is stored in our Marketing Cloud platform, although the ...
1
vote
1
answer
728
views
DmlException Creating CMS Library/Folders
I have some Apex code written to create a new Account, and then create a new Library (ContentWorkspace) and new Folder (ContentFolder) within that Library to house assets for that Account. It appears ...
0
votes
1
answer
477
views
Query users having "Manage Content Permissions" OR "Manage Salesforce CRM Content" permission
I am trying to find out the API name and respective object where these permission are stored?
"Manage Content Permissions" OR "Manage Salesforce CRM Content"
I was able to find the ...
1
vote
1
answer
920
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
0
answers
2k
views
ContentVersion FirstPublishLocationId, specify ShareType `I`
If i create a ContentVersion e.g. via Apex like so
ContentVersion conVer = new ContentVersion();
conVer.ContentLocation = 'S';
conVer.PathOnClient = fileName;
conVer.Title = fileName;
conver....
0
votes
1
answer
70
views
Track individual clicks for content delivery
We are looking into Salesforce Content Delivery (CD) to send out marketing material, white papers to our clients. However, CD only creates a unique link per file and reports how many views that file ...
0
votes
1
answer
492
views
How can I populate Bullet points through AMP script
I wanted to understand how I can populate bullet points through AMP script in an email when my imported file has a column of values separated like this below:
hazelcast-hibernate5 (devOpsHazelcast);...
0
votes
1
answer
2k
views
Recall email sent from Salesforce Marketing Cloud
Is there a way to recall the email that has been sent out from Salesforce Marketing Cloud?
Let's say the email that we sent out to our customers had some error in the content which got identified only ...
0
votes
1
answer
557
views
Limit the amount of dynamic content blocks into an email
I have an email that will pull in content blocks according to category selection in a table within a DE. The user could have up to 11 categories selections associated to there User ID in the DE. I ...
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 = ...
0
votes
0
answers
272
views
How to export content note for other users via data loader
When I export Content Notes via Data Loader I only get the records I own. How can I export ContentNotes for other users?
Here is the query:
Select Content, ContentSize, CreatedById, CreatedDate, ...
1
vote
2
answers
1k
views
How to retrieve the IDs of existing custom managed content types
I have followed these steps to create some custom managed content types for my organization. It seems like the delete request needs an ID of the record to be deleted via the tooling API, which makes ...
1
vote
1
answer
2k
views
Is there a way to change padding of content at mobile in content Builder?
I have an email I am creating in content builder and I cannot change the padding in layout settings at the MOBILE level to whatever i want. I know this can be done using custom HTML, but is there a ...
6
votes
0
answers
295
views
How is the IsReadOnly attribute used on ContentNote?
I'm trying to create a read-only "enhanced note" and I see that there is a property on ContentNote for IsReadOnly which would work perfectly for the use case but unfortunately:
Line: 1, Column: 17
...
0
votes
1
answer
95
views
How to subscribe to a ContentDocument using API?
I am trying to develop a Custom UI for subscribing ContentDocument and found out that we have ContentSubscriptionObject which stores subscription information of the document.
However we cannot insert ...
2
votes
0
answers
415
views
LWC download ContentDocument with alternative name
I have a LWC component where i render some ContentDocument information.
If the user goes to /sfc/servlet.shepherd/version/download/ContentDocument.LatestPublishedVersionId (e.g. by clicking on a ...
1
vote
1
answer
421
views
Keep content blocks up-to-date Not working?
I have an email that uses a dynamic content block which switches images based on country.
When I selected the option "Choose Keep content blocks up-to-date to apply future source block edits to ...
0
votes
0
answers
265
views
Added ContentDocumentLink to Library but Library Members Can't See Record
So I have a ContentVersion that gets added to a record, then I create a ContentDocumentLink record connecting that File to the Library. That Library includes community users. How come they can't see ...
1
vote
0
answers
1k
views
How do I customize the zip file name when downloading multiple files?
I know how to download a single file from salesforce. I just open a new tab with the url /sfc/servlet.shepherd/version/download/068xxxxxxxxxxxxxxx/.
Likewise, I know how to download multiple files ...
1
vote
1
answer
107
views
Salesforce CRM Content Pack Preview... life after Adobe Flash?
Adobe Flash is officially end of life in 2020.
I assume Content Pack Preview (which relies on Flash) will be reworked. Has there been any communication from SF regarding this matter?
0
votes
1
answer
592
views
Real time dynamic emails
A client of mine is making the switch from Selligent to Salesforce Marketing Cloud and wants to show the most recent opening hours in their e-mail. Real-time stock is also a nice to have. Is there a ...
0
votes
1
answer
59
views
Can we use encryption for journey builder, automation and HTML contents in Marketing cloud
I just want to encrypt my automation and codes in SFMC is this possible and how it cane be done. I know we can encrypt the data but I am looking for encryption of automation, journey and content.
-2
votes
1
answer
156
views
How to store the content in content block using AMPScript in salesforce marketing cloud? [closed]
How to store the content(FN,LN,Email) in content block using AMPScript through landing pages?
1
vote
1
answer
3k
views
Is the ContentBodyId the ContentPack Id on ContentVersion Object
Is the ContentBodyId the ContentPack id/reference on the ContentVersion Object?
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_contentversion.htm
The official docs,...
3
votes
1
answer
884
views
Sharepoint Files Connect identifiers in Content Version Object
After uploading a Sharepoint file via Salesforce Files Connect, i see a record gets created in Content Version object
I want to know one of the field in Content Version (ExternalDocumentInfo2) , how ...
1
vote
0
answers
166
views
Tracking Email Links to Microsoft Office Users
We insert URLs from a Data Extension for our deployments, and all is working as expected - except, when the recipient is using Microsoft Outlook. In the past we corrected this using the <!--[if ...