Jump to content

Export Field Contents on Server


This topic is 2726 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I want to export a PDF file from a container field to a file using FMS15. The Export Field Contents script step does not work on Server. It seems that Scriptmaster has a function to IMPORT from a file into a container field, and it works on a server. So what can I use to EXPORT from a container field to a file on the server? I want to avoid running FMP on the server machine, but I will if I have to.

Link to comment
Share on other sites

You could use the fmpro object that is available from within a Scriptmaster module. It has a function called 'getContainerStream' that will return an InputStream of the file in the container field you pass in. You can then write that input stream to a file. This topic has a few different implementations that should work for you.

Link to comment
Share on other sites

This topic is 2726 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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