Jump to content
Sign in to follow this  

Just can't nail the path to open a .pdf in a container

Recommended Posts

I've been told by The Powers That Be that we don't have the money to purchase a plug-in to view .pdfs in externally-stored containers, so I need a native solution to accomplish that with solutions stored in FileMaker Server (Windows). Mind you, users won't be editing .pdfs, just looking at them.

I perused this forum and found the suggestion in a post to open the .pdf using Open URL so it can be viewed in a Web browser but try as I might, I just can't nail down two tasks: (1) What script/calculation do I use to grab the .pdf's filename, and (2) Setting the path to the file in the Open URL script step. I included a screenshot of the paths.

TIA for your help!

Screen Shot 2018-05-30 at 8.47.03 AM.png

Share this post

Link to post
Share on other sites

Thanks! That solved the first part. I used this calculation:

Substitute ( GetValue ( Syllabus__lxr ; 2 ) ; "FILE:" ; "" )

...to remove the "FILE:" text leading the filename.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

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