Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [content]

Content storage organized as files and libraries in the Sales Cloud.

0
votes
1answer
20 views

How to create an inline image as files in lightning

I'm having a rich text area in my lightning component. On clicking "Save" button, I want to create files if any inline image is added to that rich text area. I'm having an idea that if I,m able to ...
3
votes
0answers
33 views

Make Images uploaded via lightning:inputRichText publicly available

We are developing a managed survey app which has two parts: Survey Construction and Survey Execution. Survey Construction: The interface built on Lightning Component, where the admin setup the ...
3
votes
0answers
136 views

Guest license users cannot access ContentDistribution object anymore?

I have a Site, where external, unauthenticated users can access some of the files we store in Salesforce. To achieve this, I use Content Distribution records, to obtain the public URLs for these files....
0
votes
2answers
126 views

Cannot update contentDocumentId in contentDocumentLink

I am sharing a file with a task by creating ContentDocumentLink. The LinkedEntityId points to the task record. Now, if a certain update happens to a parent record then i am trying to update only ...
0
votes
1answer
35 views

Disabling 'Populate Custom Fields When Uploading Files' feature

I'm using lightning:fileUpload component to load files, and I came accross a new, unnecessary feature. Recently when adding file, the button on popup window displaying uploading status changed from '...
0
votes
0answers
23 views

Is there a maximum number of Files for a single library?

I've checked here and its not clear. it has 30,000,00 files (i'm assuming global) but not any mention on a per library basis.
0
votes
1answer
64 views

How do I build a related list against a Files Library (in Lightning)

I want in the related tab of a record to have a Library related list shows all the files in a library? Is that possible?
2
votes
1answer
149 views

Need to give guest profile access to documents

I need to give the guest user profile access to view files/documents (PDF, Excel, Word, etc.). I have a public Customer Service/Napili community with Knowledge set up. Guest users can see the ...
0
votes
1answer
57 views

What event fire when you attach a file/attachment on the record page?

I've created a lightning component that shows a table of all contentversions related to the record detail page you are on. However, if upload/add a new file using the "Files" related list, it doesn't ...
0
votes
0answers
18 views

How send an email with a content file which is stored in content object

I know how to send an email with an attachment, the document which is stored in attachments and document object using apex. But this seems to be more complex to me sending an email with a content ...
1
vote
2answers
255 views

Unable to extract bulk ContentVersion and ContentDocumentLink data using Salesforce API

Use Case: Transfer existing (and OOTB) Files that are linked with couple of custom objects (CO 1 & 2) to another Custom object (CO X)? The new custom object (CO X) has look up fields for CO 1 &...
6
votes
2answers
116 views

Query optimization for ContentVersion

For a project I wrote a query to get all needed ContentVersion records. But after the deployment to full sandbox we have seen the performance issues with it. It only happens for the first time, all ...
0
votes
2answers
54 views

Salesforce content

I want to validate the file format of the file uploaded on file related list on record detail page and on the object record feed. Which content object to use to achieve this. Contentversion, ...
0
votes
1answer
88 views

Not able to insert public group id as LinkedEntityId in contentDocumentLink object

I have written one trigger which makes file private on the creation and has another trigger which shares the file access to a public group, but the second trigger is not working since, when I try to ...
0
votes
1answer
76 views

copy all files to a library using apex Salesforce [closed]

I am trying to pass several files through the anonymous window to a library using ContentWorkspaceDoc, someone can help me. this is my code: List<ContentDocument> dc = [Select id, Title From ...
0
votes
1answer
98 views

Can we preview a content file?

Earlier version there used to be an option to preview content files. but now there just seems to be only a screenshot. I have a VF page which shows the some content files and i am looking to see if ...
0
votes
1answer
142 views

How to import contentversion records(csv file) using dataloader

i have three records in csv file and three pdf files. how can i import these content version records to sandbox. i tried, but when i am uploading csv file using dataloader, i got Required fields are ...
0
votes
0answers
9 views

Custom Button Content Search Parameter Behavior - &searchTags parameter (ContentDocument sObject)

I have a custom button that is dynamically generating a URL to search Content in Salesforce. Everything works fine with the following except for one caveat: /sfc/#search?&searchWorkspaceIds=%5B%...
0
votes
1answer
107 views

Ampscript Dynamic Content Blocks

I'm building an eDM campaign for a retailer and I need to create dynamic content that will display content differently for 5 different users. I have these columns within the DE: Gender: Female or ...
0
votes
0answers
37 views

Pardot dynamic content from RSS feed

We're looking for a solution to use Pardot for our email marketing communication. Our intention is to serve personalised content to customers based on selected preferences. The content is published ...
0
votes
0answers
10 views

Where to see number of content-delivery viewed in a 24-hour period?

I am getting the error as attached when viewing a document in the SFDC library. As I am aware that As per Salesforce limits, the total number of content-delivery views allowed within a 24-hour period ...
0
votes
0answers
47 views

CRUD/FLS Check for Content Document

How can we check CRUD/FLS for ContentDocument, ContentDocumentLink, ContentVersion while querying. At profile level we are having Content and Files are listed in Object Settings list view. But there ...
1
vote
1answer
34 views

Rating content files in Apex

Is there any possibility to vote for ContentDocument from Apex? Or maybe it is possible to enable this functionality in Lightning Experience? Which objects are responsible for votes management? I ...
4
votes
1answer
478 views

Files with Content Delivery & Public Links as a CDN

I'm trying to figure out if there's a way that I can leverage Salesforce Files, plus the Content Delivery and Public Links feature to create sort of a poor man's CDN for serving up images to a ...
3
votes
0answers
76 views

System Authenticated Redirection - redirecting to login page over and over

I'm trying to set up a 'System Authenticated Redirection' microsite in Marketing Cloud. Even though I'm logged in, it keeps redirecting me to the login page. I enter my details over and over again, ...
2
votes
0answers
136 views

Visualforce generated MS Word .doc does not show file Preview

I'm generating an MS Word document .doc in Visualforce using markup as below: <apex:page controller="MyController" contentType="application/msword#myDocument.doc" sidebar="false" ...
0
votes
1answer
156 views

Publish ContentDocument into another Library

Am trying to publish the uploading file into another library with linked enitity id of normal public group. Here is the trigger code: trigger publishContentToAnotherLib on ContentDocumentLink (...
0
votes
1answer
22 views

File previews in binary

We have a functionality to create leads out of Emails. To do this we have a custom class in which we extract the details of the customer from the inbound email and add the email as an attachment. This ...
3
votes
1answer
2k views

How to get ContentVersion Public Link?

I am trying to get ContentVersion i.e Files public link URL of File Attached to any object which I need to pass in XML. So that it is visible to anyone without logging to salesforce(Want public link ...
1
vote
1answer
43 views

Can feature content be configured in lightning experience

In SFDC Classic,I'm able to select content/files to “feature” and they appear in a featured section under libraries I cannot find the same featured content files list in lightning experience. Can ...
0
votes
1answer
203 views

Impression tracking on dynamic content block with amp script

I want to add Impression tracking to a dynamic content block that is added with amp script. So the dynamic content block looks like this in our email template: %%=ContentAreaByName("my contents\...
0
votes
1answer
245 views

File SOQL query

I need to search for Partner Accounts that don't have a Partner Agreement attached in the Files section. To find that, I believe the best way is to get a list of all Files attached to the Accounts ...
0
votes
1answer
1k views

Display list of related Content (Files) in Lightning Component

I am looking for a way to display my related content to my case using Lightning, I currently can display attachments perfectly as seen below: <span class="text-blue"> <aura:iteration ...
0
votes
0answers
317 views

Understanding ContentDocumentLink object API

As per documentation, I am trying to understand the following point - "For organizations with Communities enabled, a document can only be shared with users and groups that are a part of the community ...
4
votes
1answer
540 views

Salesforce ContentDocumentLink public guest user

I have a few documents uploaded to salesforce files and i have a force.com site with the public guest user profile. When i enter my force.com domain my visualforce page queries for ...
3
votes
1answer
74 views

Is there a limit for number of content folders?

I am getting this error when I try to create a content folder using a visual force page(by inserting a record in contentfolder. As per this link, there should not be any limit for the number of ...
0
votes
1answer
52 views

Is there an API that can be used to programitically regenerate previews

I need to regenerate an unknown number of file previews. I have not found anything in the documentation so far. Does the Apex API support this? Really don't want to use the online "Regenerate a ...
0
votes
1answer
51 views

Parent object not updated when I update using child object

I have a few contentfolders. I have a linking object(Asset_DMSFolder__c) to relate these contentfolders to records. Can't we update the parent object properties via child objects? Please advise. List&...
1
vote
1answer
1k views

Salesforce Files Vs Salesforce CRM Content [closed]

Which one is the future? Or shall they continue to coexist? Can there be a scenario where both features are recommended to be used in tandem or interchangeably?
0
votes
1answer
65 views

How to create custom field in content object

I tried to create fields in content object, But i couldn't get any solution. Even I gone through the page, but it does not provide much clarity. Can anyone help me to create a custom field in ...
8
votes
1answer
55 views

How to deliver large volumes of help content for a managed package?

We have been using ZIP static resources included in our managed packages for help content. These are exported from Confluence and linked into our managed packages via Visualforce pages (so that $...
0
votes
1answer
71 views

How to make this sub query work

I get this error when I run this query. The inner and outer selects should not be on the same object. select Id from contentFolderItem where ParentContentFolderId in (select Id from ...
0
votes
1answer
82 views

SOQL - How to get the ParentContentFolderId by querying ContentDocument

Recently I have been working a lot in content management system. I have 2 standard objects- contentDocument and contentfolderitem. I assumed the contentfolderItem as master and contentDocument as ...
1
vote
2answers
315 views

Maximum number of folders in a library

Is there a limit for the number of folders a library can have? If so, what is the limit?
1
vote
1answer
365 views

Feed Attachment to Content Version - Retrieve ContentVersion.PathOnClient

I'm attempting to pull case feeds with their associated attachment's meta-data. What I'd like to do is pull feed attachment data like I am in the attached query, however I'd like to add another field ...
0
votes
1answer
412 views

Insufficient Privleges while delivering content

I am having trouble delivering an existing content file. I am unable get any of files while performing a search. I am able to deliver content if i am uploading the file instead of searching for it. It ...
1
vote
1answer
2k views

How to download content file data through lightning/visualforce

I am using content files to drive documentation about products in a lightning community. I've researched the ContentDocument and ContentVersion documentation but I am unable to figure how to get ...
1
vote
1answer
874 views

Inserting ContentDistribution

I have a ContentVersion (zip file) and I am trying to insert a ContentDistribution in Apex to get the DistributionPublicUrl field related to my file. I get this error: Line: 3, Column: 1 System....
2
votes
2answers
463 views

extract existing files from opportunities and send as an attachment in email

I have changed the SF file setting by checking the ‘Files uploaded to the Attachments….’ checkbox. Loaded a file called test.pdf to an opportunity and noticed the title no longer contains the ...
0
votes
1answer
1k views

Not able to create ContentDocumentLink from sforce ajax

I have followed this to create a content version from vf page using sforce ajax and it is working fine. To link the uploaded content to one of my custom object I added the below code; var result1 = ...