cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We recently received a question asking for advice on how to set up a Dropbox account for an elderly family member. This prompted us to think about the different ways we can make Dropbox more accessible in general, learn about it and add your tips right over here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Comments

Dopbox API downloading xls file as pdf

Dopbox API downloading xls file as pdf

barathseshadri
Explorer | Level 3

I was looking at the dropbox API and I noticed that download doesn't take a file format to download as and getPreview doesn't convert .xls to .pdf , but does an html conversion. Is there another way to convert .xls to .pdf through the API even it involves multiple steps?

1 Accepted Solution

Accepted Solutions

Re: Dopbox API downloading xls file as pdf

Greg-DB
Dropboxer

No, the Dropbox API doesn't offer a way to get a PDF version of a .xls file, but I'll pass this along as a feature request. 

That being the case, you'd need to download the original .xls file data (using the download method you mentioned, which always returns the raw data) and convert that to PDF in your app's code.

View solution in original post

1 Reply 1

Re: Dopbox API downloading xls file as pdf

Greg-DB
Dropboxer

No, the Dropbox API doesn't offer a way to get a PDF version of a .xls file, but I'll pass this along as a feature request. 

That being the case, you'd need to download the original .xls file data (using the download method you mentioned, which always returns the raw data) and convert that to PDF in your app's code.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?