Jump to content

Changing Name Of Pdf


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

Recommended Posts

  • Newbies

Is it possible to change the name of the PDF file you created (on Ipad) prior to emailing it. Currently it names the pdf the name of the database. I need to be able to put the customer name in he pdf name prior to emailing. Any thoughts?

Link to comment
Share on other sites

  • 3 weeks later...

I'd use two variables: 1 for the path to save to & 1 for creating the new filename. To retrieve the desktop path of your device use get(documentspath)

In a script this could look like:

set variable ($$customer; value:table::yourcustomernamefield)

set variable ($$path; get(DocumentsPath & $$customer & ".pdf" )

Than to save the pdf:

Save records as PDF(restore;no dialog;"$$path";current record)

Than use your email script to send the mail with the name you gave to the pdf.

Should work... :)

Link to comment
Share on other sites

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