Jump 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.

Featured Replies

Hello - If I run my script to insert a PDF from a saved PDF I get an error after the insert picture step saying "can't find the file" - I tried "insert PDF" but the debugger says it is a wrong file type. The data viewer shows - $temppath as 

filemac:/Macintosh HD/var/folders/bd/v_q7j9997d1dph_lz5m1x_mm0000gn/T/S10/Dec 2016-2077 UTAS Retainer.pdf

the Script is as follows;

Set Variable [ $temppath; Value:"filemac:/"&Get(TemporaryPath)&Project»DATA::worksheet filename&".pdf" ]
Save Records as PDF [ File Name: “$temppath”; Current record ]
Go to Field [ worksheet PDFs::PDF ]
[ Select/perform ]
Insert Picture [ “$temppath” ]

Any help would be appreciated. Cheers John

 

Edited by Aussie John

Drop filemac: , it's not needed. You have an extra space before .pdf.

Not sure what context you are in. So, does that Go to Field fail?

  • Author

Thanks but unfortunately no luck

  1. I had already tried with out filemac (didn't work).
  2. There is no space - just looks that way
  3. And yes I can see the field highlight during the script

What is the error when you step the script?

  • Author

The file appears to save ok and the error occurs on the insert picture step. (error 100 file is missing).

Just to be sure I changed get(temporarypath) to get(desktop path) but with same error.

Screen Shot 2016-12-16 at 7.28.15 am.png

Edited by Aussie John

So, you see the PDF on the desktop. What if you used Insert File instead of Insert Picture?

  • Author

Yes PDF is visible and will attach to an email if the check box is selected.

Insert file does work. just not Insert picture or PDF

Create an account or sign in to comment

Important Information

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

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.