Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Save Record as PDF Then email???

Featured Replies

This is what I am trying to achieve...

Any user on the network can run a script that will do the following:

1. Print a layout to PDF

2. Create & send an email (get email address from a field and attach the PDF created in step 1 above)

3. Store the PDF in a container field

All this to happen with the click of a single button :)

Thanks!

#INFO: These Steps will will setup where the file is to be saved to.

Set Variable [ $file_extension; Value:".pdf" ]

Set Variable [ $file_name; Value:"My_pdf" ]

Set Variable [ $file_path; Value:Get ( DocumentsPath ) ]

Set Variable [ $file_export; Value:$file_path & $file_name & $file_extension ]

#INFO: This step saves a single or multiple records, however it is configured, as a .pdf to My documents.

Save Records as PDF [ File Name: “filewin:$file_export”; Current record ]

[ Document - Compatibility: Acrobat 5 and later ]

[ Pages - Number Pages From: 1; Include: All pages ]

[ Security - Printing: High Resolution; Editing: Any except extracting pages; Enable copying; Enable Screen Reader ]

[ Initial View - Show: Pages Panel and Page; Page Layout: Single Page; Magnification: 100% ]

[ Restore; No dialog ]

#INFO: This step emails the current .pdf to whomever you would like it sent to....

Send Mail [ To: "[email protected]"; Subject: "Your Subject Here"; Message: "Your Message Here"; Attachment: “filewin:$file_export” ]

These are the basic script steps needed. Obviously you have to get to the record you want to pdf, etc... but this should get you on your way!

  • Author

Thanks for that - I'll give it a go!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.