Skip to main content
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [file-processing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
2 answers

Make a Lightning Button Download a .html Report

I am trying to create a .html file using Apex and when a user clicks a button on the front-end, they can download the .html file. Below is the code I have and when I am loading the component and ...
Illusion's user avatar
  • 185
3 votes
1 answer

Checking code before I deploy it

Just making sure that my code looks correct before I shoot myself in the foot. I just need this trigger to generate a custom object with an attachment for every ContentVersion there is that's a jpg ...
LewdLime's user avatar
  • 243
0 votes
1 answer

Uploading two files simultaneously not working

I am trying to upload two doc at a time and saving both the files. But only 1st file is getting saved not the second one. Please help. public void UploadPhoto(){ try{ con.Name= ...
sfdc_to_learn's user avatar
1 vote
0 answers

Is it possible to Navigate back in Salesforce1 after opening pdf file in SalesForce1

We have developed a VisualForce page and have link to a PDF file and are rending that in SalesForce1 app.( VisualForce has only HTML5 + Remoting Functions). Its working fine in SalesForce1 app and ...
Shrivaths Kulkarni's user avatar
1 vote
0 answers

Files getting corrupted using apex:inputFile

I am using apex:inputFile to upload documents in a vf page, but sometimes the file is getting saved as .dat file. This is not happening always. I am not rerendering the apex:inputfile and we are not ...
akash's user avatar
  • 937
0 votes
1 answer

Multiple File Data Set Import Cleaning

It is pre-Salesforce import, I have designed the Named Account structure inside Salesforce, and I have 1500 Hoover's D&B Family Trees with the same columns and headers in .xls form. What do I use ...
MeighanRocksSF's user avatar
-2 votes
1 answer

How to preview a PDF file before upload on a Visualforce page?

I have an <apex:inputFile /> for selecting a PDF file from system. After selecting the PDF file I want to view (watch) selected PDF. How can I do it. Please give me some idea for to do it? ...
user9839's user avatar
  • 305
3 votes
1 answer

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 ...
dphil's user avatar
  • 6,185
2 votes
2 answers

How To Download ZIP Files From URL?

I want to read a zip file from a give url. That zip file is having a XML file which is the main file which I want to access. Is there a way to access/read that XML/Zip file ?
S.Sharma's user avatar
  • 1,637
2 votes
1 answer

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)....
Mr.Blend's user avatar
  • 255
6 votes
2 answers

Check if a .txt file of IDs all exist in Salesforce

I receive a .txt files of type ID, e.g. 003U000000PL9LN, 001U000000PL9LM, a1fU000000PL9LO. I need to check if these IDs correspond to valid objects within Salesforce. I have a List of IDs in Apex. ...
George S.'s user avatar
  • 2,730
-1 votes
1 answer

HTML5 FileReader API & IE Support (reader.readAsBinaryString) [closed]

I have trouble reading the Uploaded File (XLSX) via FileReader API's "readAsBinaryString" method in IE10. "readAsText" method works fine. Has anyone come across this, does IE support this method? Am I ...
KaLi's user avatar
  • 1,519
3 votes
2 answers

apex program to create and download a file

So I'm trying to find a way to download a report from salesforce programmatically, to a local machine. so, I've found the XMLStreamWriter class, and am writing the XML just fine... I'm just wondering ...
gfppaste's user avatar
  • 845
2 votes
1 answer

Is it possible to to download file larger than 3mb in apex?

Right now I'm limited by the 3mb heap restriction. Since an httprequest cannot be chunked when requesting a file be downloaded is there another way?
fourq's user avatar
  • 2,111
13 votes
3 answers

need to process an excel file with apex

I have a need to process an excel file with apex. Once a user uploads an excel. Once they click the upload button it should store probably in contentversion (libraries) or documents and once it is ...
Sathya's user avatar
  • 3,232