Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [file-sharing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

How to make on the uploaded file setting: "File Privacy on Records" to be set to "Private on Records" by default

Currently, every uploaded file has "File Privacy on Records" set to "Visible to Anyone With Record Access". I want this to be always "Private on Records". FYI "Set ...
user3299199's user avatar
1 vote
1 answer
53 views

Not able to share files with external users

We have a use case to share files created by internal user to be available to the external users automatically. The external user is the owner of the record, but still cannot see the file uploaded by ...
Mitesh Sura's user avatar
0 votes
0 answers
89 views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, You don't have permission to share this file.: [ContentDocumentId]

I am Facing this issue only while executing the below code in the Guest User context, how to resolve it? The exeption occurs while inserting contentDocumentLink Record. ContentVersion cv = new ...
Satyendra Raghuvanshi's user avatar
0 votes
1 answer
480 views

How to make Product Images visible in Partner Community when user selects "Add Products" on an opportunity

I uploaded images to "Files" and created to Fields on the Product Object, "Product Image"(Formula) and "Product Image Link"(Text255). My formula below displays images on ...
Darius Kimbrough's user avatar
2 votes
1 answer
186 views

Is there any way to remove the option "Customer Access” from UI while sharing file attached to a record?

We don’t have either community or chatter enabled in our Org, but still seeing this option which will be misleading for the Users. I looked at salesforce help page but no luck so far! Appreciate ...
Subhasis Das's user avatar
1 vote
0 answers
116 views

Why files related list showing Delete button when I have read-only access?

Why Files related list showing Delete button when I have read and edit ponly access? The ContentVersion sharing is 'Inferred' -> set by record
Neha Saxena's user avatar
0 votes
1 answer
796 views

Salesforce Files - Is it possible to link a file with Case + specific user and skip it from Content Document link API call?

We've a use case where our customer wants us to link a File record to Case but not fetch it via Content Document link API call i.e. mark it private for selective internal Salesforce users. In nutshell,...
Sahil's user avatar
  • 159
1 vote
1 answer
2k views

How to generate an external downloadlink for files

I have created a visualforce page (site) with a dowloadlink from files. I can use this when I am logged in into Salesforce. I want to achieve this for external users by a site. In salesforce It is ...
Thomas's user avatar
  • 2,310
0 votes
0 answers
24 views

How can i control users from accessing files

How can I control access to files although the user has read/write access to the records? Ex scenario: User A & B have r/w access to a record X. User A wants to attach a file to record X, but do ...
Ashok's user avatar
  • 258
0 votes
1 answer
524 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, ...
Suraj's user avatar
  • 11