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
525 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
  • 8
  • 8
16 Comments
 
LVL 24

Expert Comment

by:Will Loving
Comment Utility
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
Comment Utility
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
Comment Utility
Is there any other script I need to include,
Even with the "no dialog" I still get a popup to confirm the url.
0
 
LVL 24

Expert Comment

by:Will Loving
Comment Utility
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 24

Expert Comment

by:Will Loving
Comment Utility
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
Comment Utility
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 24

Accepted Solution

by:
Will Loving earned 500 total points
Comment Utility
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 24

Assisted Solution

by:Will Loving
Will Loving earned 500 total points
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:j_rameses
Comment Utility
How do I mount it?
0
 
LVL 24

Expert Comment

by:Will Loving
Comment Utility
0
 

Author Comment

by:j_rameses
Comment Utility
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
Comment Utility
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 24

Expert Comment

by:Will Loving
Comment Utility
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
Comment Utility
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 24

Expert Comment

by:Will Loving
Comment Utility
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
Comment Utility
True.
Just started changing some of the PCs drive letter.
Thank you.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

728 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now