Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

When exporting a pdf file from a container field is there a way to name the file with the contents of a text field in the same record - adding the .pdf extension?

Many thanks for any help.

  • Newbies
Posted

Thanks so much for responding.

I've looked at the thread you recommended.

Do I understand correctly that the file naming ability is only available in version 8.5 (I'm currently using version 7 ) and only if I loop the scrip with variables set?

What I would really like to do is to automatically name one (the current record) exported Container Field content at a time - this is never a batch job. I could isolate a record using "find" if the loop can work for a found set only. Is this possible?

Posted

In versions 7 and earlier, you can also do it with Applescript (Mac) or VBscript (Windows). Simply export your file with a default name like "Export.pdf" and then rename it using the applicable OS scripting.

On a Mac:

After your export script step, add a Perform Applescript command, select "Calculated Applescript" and enter a do shell script command like so:


"do shell script "mv /Users/Shared/ExportFolder/output.pdf /Users/Shared/ExportFolder/"" & FileName & """

You will need to change the pathnames to suit your own particular setup.

This topic is 6640 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.