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

Hi All,

I have requested this before but have not come to a solution yet.

I have a container with a PDF insert.

when selected, the user must be able to read the PDF attachment

At this stage the PDF is not opening. It displays the PDF file name with the PDF logo only

If I insert a picture it does display

 

  • Author

Hi,

I looked at all the references your provided but still can not get it to work.

I have quite a few layouts with either photos or PDF attachments.

at this stage all attachments are imported into File Maker tables and not linked to external files.

the commands seems to require a path and a serial number which I do not have.

also not sure where to add the command. I placed it in the script opening the PDF display layout, just before the goto layout script

please could you assist? 

image.png.fe26119cfcaf2e1fd0a41cf06dee3f3d.png

  • Author

ok I have discovered a different method

but from Line one, I get a operator expected error.

Set Variable [$path; Value:Get (TemporaryPath ) ]
Save Records as PDF [Restore, No dialog; "$path"; Records being browsed]
Go to Field [select/perform; myContainerField]
Insert PDF ["$path"]
Go to Field [select/perform]

What I want to accomplish is:

open folder

select the PDF file

insert the PDF file to container

I think I am almost there with below code

image.png.b4e2acff6565bde024a9cc71a83b356e.png

Edited by Gismo12

4 hours ago, Gismo12 said:

ok I have discovered a different method

but from Line one, I get a operator expected error.


Set Variable [$path; Value:Get (TemporaryPath ) ]
Save Records as PDF [Restore, No dialog; "$path"; Records being browsed]
Go to Field [select/perform; myContainerField]
Insert PDF ["$path"]
Go to Field [select/perform]

What I want to accomplish is:

open folder

select the PDF file

insert the PDF file to container

I think I am almost there with below code

image.png.b4e2acff6565bde024a9cc71a83b356e.png

the $path variable should be;

get(temporaryPath) & "Name.PDF"

 

you need to specify the name of the file (it can be a calculation too)

 

 

Try that.

 

Jerry

  • Author

I can not specify a file name, i want to be able to open the location, select the specific file, then link to the container

is that possible?

I came so far as to select the file but then it actually opens the PDF file instead of directing me to link the file

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.