Jump to content

Save as PDF to Dropbox


Recommended Posts

I have seen various articles and videos that explain how to upload a file from a Filemaker Container to Dropbox using the Dropbox API. However I would like to create a script so that a user can save a pdf directly from Filemaker to a shared Dropbox Folder. Any tips?

Link to post
Share on other sites

Don't worry. I have figured this out using Get(DesktopPath) to identify where the shared folder will be on each user's computer, saving that as a variable, then including that in the filepath when saving PDF.

Link to post
Share on other sites
  • 2 months later...
  • 3 weeks later...

Hi Extreme,

The whole script is pretty long and specific to our company, however the critical steps are:

Early in the script:

Set Variable [ $path1 ; Value: Substitute ( Get (DesktopPath) ; "Desktop/" ; "" ) ]

Set Variable [ $filename ]

Then when you get to the Save Records as PDF script step the Specify Output File should be:

filewin:/$path1/Dropbox/Folder/$filename 
filemac:/$path1/Dropbox/Folder/$filename 

Where I have used "Folder" you could put the name of the folder of your choice or you can create folder names as variables as part of the script.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who Viewed the Topic

    1 member has viewed this topic:
    OlgerDiekstra 
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.