Questions tagged [file-storage]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
48 views

Allow users to add attachments in SFMC cloud page

I have some use cases where I need to build a web form that includes a way for a site visitor to upload a file (jpeg, png, pdf types) Any ideas on the best way to do this?
0
votes
1answer
31 views

[APEX][File System] Save and Read KML files with APEX

I am new to Salesforce and Apex.I have a requirement of uploading a KML file to Salesforce and save it in a Workspace named 'My Files'. Then I should be able to list down filenames of 'My Files' ...
1
vote
1answer
55 views

How to store huge text in Salesforce record

I want to store the content of a small book in a Salesforce record. I want to make the text to be searchable by the Standard Salesforce UI and via Apex and SOSL and display it in Lightning UI. I know ...
1
vote
1answer
209 views

Trigger on content document to retrieve the body

I believe this question is a possible continuation of this other question: How to retrieve the file content for a ContentDocument object? I am trying to get the body of a JSON file that is uploaded ...
0
votes
1answer
158 views

Data Storage on Scratch Org

Is 200 MB data storage limit for scratch orgs? Is it possible to increase it? I need 2 GB to fully test our app. I cannot find anything about this on Stack, SF Dev Forum.
-1
votes
1answer
41 views

Deploy files from one Org to Another [closed]

I have an object that has a 'Files' list in the 'Related' tab and have attached a Microsoft Word document to that list in my testing org. Is it possible to deploy that file so I don't have to manually ...
0
votes
1answer
57 views

service workers in salesforce

Hey I am building a salesforce lightning application to present html slide shows with images and videos. I would like to store the assets on the device so that the presentation can still be shown ...
2
votes
0answers
35 views

Dropbox File Management Alternative for Salesforce

Trying to find an external file management app like Dropbox which is integrated with Salesforce. Unfortunately, Dropbox for Salesforce has some really bad reviews in Appexchange(2.7 rating :-( ). What ...
0
votes
1answer
104 views

APEX Class to transfer Files to External Cloud Storage

Can anyone point me to the SF documentation to write/ transfer files uploaded to SF to an external cloud storage system e.g. GDrive. I have got an OAuth Script with all the client Key and Private Key ...
1
vote
0answers
24 views

Need clarification for the Copy sharing mode of Files Connect

We want to connect Google Drive as a Connected Source. We want also share files with external users. That's why Reference sharing mode is not an option in our case. While reading the documentation: ...
0
votes
1answer
439 views

Can we configure an external FTP Location in Marketing Cloud?

Can we configure an FTP Location which is outside Marketing Cloud FTP?
3
votes
1answer
253 views

What contributes to Salesforce File Storage?

I was asked by one of my colleagues to delete the the files of one inactive user since he's currently the top user by file storage. I know I can delete some of his files in the documents tab but is ...
0
votes
1answer
351 views

How to get “Storage Usage” organization information of a salesforce to another salesforce org? [closed]

I want "Storage usage" fields like data storage, field storage of a Salesforce Org to custom page of another Salesforce Org. Can anybody suggest someway around?
2
votes
1answer
196 views

How to store email conversations on Salesforce?

By "conversations" I mean the process of sending and receiving emails on the platform. Imagine a situation where you have a commerce running on Salesforce, and an employee needs to contact a supplier ...
0
votes
1answer
89 views

Is it posible to use Salesforce Files with community portal?

I need to use salesforce files in the community portal (with the Napili template). Is it possible to display salesforce files in the portal. and is it possible to query the files object?
1
vote
1answer
488 views

How do I find/delete old knowledge article file attachments?

We have knowledge articles that contain attachments (e.g. PDFs). Over time, we'll update the article and replace the attachment with a newer version. It appears that old links to older attachments ...
0
votes
0answers
606 views

File attachment XML as HTML

I have a file attachment that I want to display as html, this attachment is created as a note and Attachment after a response from an API Call. The file attachment is an xml that I link at the moment ...
0
votes
1answer
2k views

Rich Text area field

We have a requirement to upload before and after pictures, can we use rich text area field ? Which storage category does Rich text area field comes into - data storage or file storage ?
0
votes
0answers
71 views

Unable to add new records to Sandbox

In my storage information I see : I am unable to create any new record as it says the data storage limit has exceed. What I did - I queried all the contentDocument, Attachment and deleted them which ...
3
votes
1answer
653 views

Upload ~20mb file to Salesforce via REST API

I'm looking for the API call (or set of) that will allow me to upload a roughly 20mb file to somewhere in Salesforce that would later let me process this file via APEX to update various objects based ...
1
vote
1answer
86 views

Salesforce storage solutions depending on business requirements

We have a business requirement to use cloud storage with Salesforce. Below are major requirements on the storage. The storage provides an independent way for people to browse the files stored in the ...
0
votes
1answer
67 views

Attach files to objects without using Salesforce storage

My company is looking to use Salesforce first as a CRM and then we are looking to re-implement ERP using the Force.com platform. We would like the ability to attach files to individual objects, but ...
0
votes
2answers
202 views

Batch Class Removing all .pdf Documents Except first and most recent where name is “x”

Similar to my question yesterday, the title pretty much explains what I'm trying to do. I want to remove all .pdf documents from Contact records with the exception of the first and last where the name ...
2
votes
1answer
72 views

Removing all Word Documents starting with “x”

We have a problem in our org whereby we're using 122% of our Salesforce File storage, looking at what we have stored and where, almost all of that is within the Attachment object. Record Type - ...
5
votes
1answer
826 views

What happens when you exceed the File Storage limit?

I've just noticed that our org (Salesforce Unlimited Edition) is 122% of the file storage limit. Specifically, we're using 1.1TB out of a limit of 899.5GB. I understand we need to reduce this by ...
2
votes
0answers
39 views

Unable to delete a 21 Mb attachment

I created a 21 Mb attachment to test some code I was writing. Later I saw that my DE org ran out of file storage and it wont let me save any new records (even when the data storage is 40%). I deleted ...
1
vote
0answers
35 views

Salesforce file paths

Are there file paths that I can use in salesforce? for example you have;- "/resource/filename" is there one for your visualforce pages? or other objects and components?
1
vote
1answer
48 views

Can I choose the kind of org that is provisioned via trialforce?

We have an OEM managed package and we provision new org to customers during the trial. Most of the customers run out of storage during the trial. Can we decide the kind of organization that is ...
2
votes
2answers
2k views

How to store record attachments and documents in external storage [duplicate]

is it possible to use external storage to store Attachments? As a company we have large files that sales need to upload and associate to opportunities. We also want to save on the Salesforce storage ...
3
votes
1answer
443 views

Apex code to access external files datasource e.g. sharepointonline [closed]

I've got files connect set up to access sharepoint. I'm however also interested in using Apex code to browse this external data source like. Is this possible? if so can you share your code?
1
vote
1answer
559 views

Salesforce HttpRequest blob results in Internal Server Error

I am currently uploading files to a third-party storage space through its API. This is the API through Java which was uploaded: HttpPost post = new HttpPost(url); post.setHeader("Token", ...
1
vote
0answers
40 views

Different result with the same search keyword on search all files

Am having some problem with search (number 3 in picture below). I have two users, one from country A and another from Country B When country A do a search on search all files, for eg testing file, ...
1
vote
1answer
157 views

Make uploading a file required for creation of users and contacts

I am using salesforce to create portal for a school. I am using students and parents as contacts and staff as users. When I am creating students I need to make it manadatory to collect certain ...
1
vote
0answers
446 views

Uploading a file from mobile Andoid to force.com

I want to upload an image that I get from my camera mobile to force.com, but i have an error that i couldnt handle. Here is my code , if you have any ideas, please share. Thank you! private void ...
0
votes
1answer
46 views

Which storage mechanism will be more efficient?

Case 1: If I have one record, and create 1000 attachments to that record worth 1KB each. Case 2: In another case, if I create one attachment and zip all the files together. Assuming that zipping the ...
1
vote
0answers
100 views

Is it possible for a sys admin to delete a chatter file from a user's personal library?

I read that Modify All Data should give Sys admins access to all chatter files, provided they are not in a personal library. However we have users uploading lots of data to personal libraries (via ...
1
vote
1answer
2k views

Error when validating External Data Source for SharePoint Online

I get the following error when trying to validate and sync my newly created External data source for SharePoint Online in Salesforce: "Status An unknown error occurred while accessing Files Connect."...
-2
votes
1answer
326 views

Can a document be stored against a Community User?

Suppose I have 10000 Community Users, can I store a document for each of them? The content of the document would be miscellaneous info, logs etc.., . If so what are the file size limitations? Also I ...
0
votes
2answers
2k views

Read from and write to file or Document

Is there any easy way to read from and write to a file in Salesforce?. I want to store metadata, let's say something like log data of a user, by mimicking the functionality of log4j.
3
votes
2answers
3k views

How to upload 6Mb attachment in a custom Apex Rest service (heap size issue)

I have a .Net app, which works with SFDC via REST API. Not so long time ago we faced with big files. Usually they were around 2-3 Mb and it was OK for both .Net app and SFDC. Now there are some ...
1
vote
1answer
777 views

Communities - Where To Store User Uploaded Files?

I am building a custom communities app where users will configure their profile, and it will be displayed on a public listings page if they opt-in. As an FYI, the public listing page will be hosted ...
1
vote
1answer
1k views

Best option to store files and show them in communities

What is the difference between CHatter files and Salesforce CRM content with regard to their usage in communities? What are known limits/ restrictions to use them in communities? To manage Salesforce ...
1
vote
1answer
71 views

insert large file to content from salesforce visualforce site page

Can I insert large files into content from Visualforce page enabled on sites? I want to insert more than 50MB files. Can Vf page transfer more than 50mb file to controller for insertion? Please share ...
1
vote
1answer
184 views

Mobile SDK - whitelist URLs cordova 2.3.0

I need to download some files with cordova with the mobile SDK. Apparently I need to allow the remote origin to download the file because I keep on getting http status 401 when I use the FileTrasnfer. ...
2
votes
1answer
2k views

Is it possible to search for text within a File?

Let's say I am using Libraries and it contains a document that says something like: John has an apple tree. This tree is very old. It gives off fruit. And the user wanted to find all files with ...
5
votes
2answers
2k views

Upload files upto 2GB from Apex

How to upload a file of size 2GB from Apex? Is there any sobject that I can make use of?
2
votes
2answers
1k views

Attach attachments to multiple records?

Is there any way to attach Notes or Attachments to multiple records? I had originally thought that the Attachement.Body field was a pointer to the location of an attachment, and I would be able to ...
3
votes
1answer
1k views

Is it possible to get data storage details of a Salesforce organization using Apex code

I am trying to get details of space used by several sObjects, Attachment and other using Apex code. I can get Attachments details but is there any possibility to get how much data has been consumed by ...
2
votes
1answer
1k views

How to write a fixed width file in apex and download it as text file

I am trying a download file program which should be of the Fixed width Text file format. For example:- My object name is College and it has fields(length) namely Name(10),rollno(7),marks(3)....
4
votes
1answer
96 views

Why are Cases also listed under file storage?

I've been analysing our data and filse usage in an attempt to set up archiving mechanisms, and on the Storage Usage page Cases are displayed both on the Data storage usage as in the File storage usage ...