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.

Insert pdf file to container by script

Featured Replies

hello i need some help:

I am trying to run a script that will insert a pdf file to a field container .

the script goes like this

filepath ="imagemac:/mac/Users/usera/Desktop/to/Cliant/902/1638.pdf"

goto field = [pdffile]

insert image [$pdffile]

at the end of the i get a empty filed no file is in the field , i did a check by GetAsText ( pdffile )

what am i doing wrong.

Thank you dani

from your sample above, you've never defined $pdffile.

Isn't it Insert Picture? and why not Insert File?

  • Author

$pdffile="imagemac:/mac/Users/user1/Desktop/to/Cliant/902/1638.tiff"

The insert image step should be insert file.

  • Author

But it is not insert the image

You need to use filemac in place of imagemac

Then use Insert File

A PDF file (on the Mac OS platform) can be inserted into a container field as a file, as a picture or as a movie. If you want the field to display the contents of the PDF file, then you must insert it as a picture or as a movie (for multi-page documents).

If the script:


Set Variable [ $path ; ... ]

Go to Field [ YourTable::Containerfield ]

Insert Picture [ $path ]

does not produce a result, then the $path is wrong.

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.