How to open a folder in Filemaker that is loacted in a folder on the server with open url?

I have FM 10 Pro Advanced.  My users have just Pro.
I would like to be able to create a button on my FM layout so when a user clicks on it it opens a folder with files in it.
But the folder is located on the server on dirve letter 'j'.
How do I get that folder to open up so users can use the files they need from there?
j_ramesesInfo Sys MngrAsked:
Who is Participating?
 
Will LovingConnect With a Mentor PresidentCommented:
You may or may not require an additional forward slash at the end to open a folder. On the Mac it doesn't require it but I don't have Windows booted up at the moment to test. I think it will work either way:

File://J:/Scan Documents/

or

File://J:/Scan Documents

You should only get a Confirm dialog if the URL is invalid, which your original one is.
0
 
Will LovingPresidentCommented:
Very simple to do using the Open URL script step.

Open URL [ No dialog ; "File://j:/SomeDirectory/SomeFolderName/"]

Create a button and then set it to trigger this script step with your folder path included in it.

For more details, see:

http://www.filemaker.com/11help/html/scripts_ref2.37.63.html
0
 
j_ramesesInfo Sys MngrAuthor Commented:
I did as above but it changes to this:
"No dialog ;\"File://J:/Scan Documents\""

Nothing happens.
I am using my computer and trying to access a folder on the network share server.
That is what I am trying to do.
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
j_ramesesInfo Sys MngrAuthor Commented:
Is there any other script I need to include,
Even with the "no dialog" I still get a popup to confirm the url.
0
 
Will LovingPresidentCommented:
Your quotes have been have had escape characters added to them The path should simply be:

File://J:/Scan Documents

 Open URL Options
 Button Setup
0
 
Will LovingPresidentCommented:
The 'escape' characters are  the backslashes. Just type in

File://J:/Scan Documents

in to URL Options and it should save it with the appropriate set of double quotes, one on each end.
0
 
j_ramesesInfo Sys MngrAuthor Commented:
Will,

I did that.
Nothing happens.
We are running Windows, your images are Mac.
The folder does not pop-up.
If I try it on one of my folders on my desktop or in my 'C' drive directory it pulls it up.
But, if I try to access a folder that is on the network, it does not pop-up.
Is there a different structure for Windows or for accessing the a network folder?
0
 
Will LovingConnect With a Mentor PresidentCommented:
Is the j drive already mounted? Try mounting it, go to your Scan Documents folder and then check the full path in the Properties dialog. It might require an additional something to the string to access a folder in a network drive. I'll see if I can check it out. Most likely the j drive would need to be already mounted at a minimum.
0
 
j_ramesesInfo Sys MngrAuthor Commented:
How do I mount it?
0
 
Will LovingPresidentCommented:
0
 
j_ramesesInfo Sys MngrAuthor Commented:
You mean, "Map" it.
I did that years ago, it is under drive "'K'.
I will try it under that drive letter.
0
 
j_ramesesInfo Sys MngrAuthor Commented:
Ok, it opened it under drive letter 'K'".
I wonder if another user from a different computer clicks on the button, but the Mapped drive is a different letter, will it open?
0
 
Will LovingPresidentCommented:
If the path is hard coded in the Open URL script step and the network drive is mapped to a different letter then it will fail. If there is a way to dynamically determine the letter you could try to do that by using a calculation in the URL path, but your best bet is to simply make sure all computer use the same mapping (which from an organizational standpoint is a good practice anyway).
0
 
j_ramesesInfo Sys MngrAuthor Commented:
Yes, I just checked.
It did not work.
I will have to check everyone's computer to see what is their map letter.
I wish it could be dynamic.
0
 
Will LovingPresidentCommented:
Hard to make something dynamic that is manually set by many different people. It might be possible to make a script that runs through a list of possible drives letters and keeps checking until it finds one, but much better just to have everyone be consistent.
0
 
j_ramesesInfo Sys MngrAuthor Commented:
True.
Just started changing some of the PCs drive letter.
Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.