?
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
Medium Priority
?
810 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 2000 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 2000 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

Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

765 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