Solved

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

Posted on 2011-09-28
16
722 Views
Last Modified: 2012-05-12
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?
0
Comment
Question by:j_rameses
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 8
16 Comments
 
LVL 25

Expert Comment

by:Will Loving
ID: 36718887
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
 

Author Comment

by:j_rameses
ID: 36719043
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
 

Author Comment

by:j_rameses
ID: 36719089
Is there any other script I need to include,
Even with the "no dialog" I still get a popup to confirm the url.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 25

Expert Comment

by:Will Loving
ID: 36719114
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
 
LVL 25

Expert Comment

by:Will Loving
ID: 36719127
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
 

Author Comment

by:j_rameses
ID: 36719181
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
 
LVL 25

Accepted Solution

by:
Will Loving earned 500 total points
ID: 36719198
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
 
LVL 25

Assisted Solution

by:Will Loving
Will Loving earned 500 total points
ID: 36719214
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
 

Author Comment

by:j_rameses
ID: 36719225
How do I mount it?
0
 
LVL 25

Expert Comment

by:Will Loving
ID: 36719243
0
 

Author Comment

by:j_rameses
ID: 36719263
You mean, "Map" it.
I did that years ago, it is under drive "'K'.
I will try it under that drive letter.
0
 

Author Comment

by:j_rameses
ID: 36719288
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
 
LVL 25

Expert Comment

by:Will Loving
ID: 36719346
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
 

Author Comment

by:j_rameses
ID: 36719376
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
 
LVL 25

Expert Comment

by:Will Loving
ID: 36719445
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
 

Author Comment

by:j_rameses
ID: 36719593
True.
Just started changing some of the PCs drive letter.
Thank you.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question