Jump to content

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


Rich
 Share

This topic is 1537 days old. Please don't post here. Open a new topic instead.

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

Link to comment
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.

Link to comment
Share on other sites

This topic is 1537 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

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