Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hello,

 

I need to open existing PDF(s) that are located on a windows server from a layout. I'm able to open the files manually from the volume disk on my desktop without any issues..

I have a button with the following script:

 

     Open URL: Table1::FIELD1

 

Breakdown:

 

     Sample PDF name: 5554B.pdf

 

          Field1 contains path and filename: smb://SERVERNAME/pdf/5554B.pdf   (calculated field:  "smb://SERVERNAME/pdf/" & Table1::FIELD1 & FIELD2 & FIELD3 & ".PDF" )

          Field2 contains numeric portion of PDF name.

          Field3 contains letter in PDF name.

 

When I click the button, a new OS X window opens up showing the server folder with all the PDFs. Highlighting the PDF specified from FM but it does not open it up to view its contents.

 

Thank you in advance for your help. :smile:

 

System Info:

Filemaker Pro 13

MacBook Air

OS X

Windows Server

Posted

Is this an issue with the "/" and "" differences of files struture between Windows OS and Mac OS??

 

On a purely windows environment I do a very similair things with : Open URL {No dialog; "file:///W:/VendorDocs/"& VendorsID&".pdf"] where W is a shared drive.

 

However, if trying to perform the same script on a Mac, I have to have the "/"'s replaced with ""'s

This topic is 3535 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
×
×
  • Create New...

Important Information

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