https://community.filemaker.com/Open URL [No dialog; "fmp://account:password@host/database"]
#where "account" is the FileMaker Pro account name, "password" is the account password, "host" is a DNS entry, IPv4 address, or IPv6 address for the machine where the file resides, and "database" is the FileMaker Pro filename.
There's no mention of being able to do what you want in the open url help item...
The fmi tag instead of fmp may be the clue. FileMaker recently changed to using fmp which may not use the same parameters as the older fmi. Could be a security issue or new engineers that didn't follow up...
Jack, you're completely mixing up features here. The OP is talking about WebDirect, you are talking about using the fmp protocol which is meant to open things in FMP, not WebDirect.
So there are no clues in "fmp" vs. "fmi", no engineers that goofed up...
192.168.1/fmi/webd#Get ( FileName )& lay=Get ( LayoutName )&"viewstyle"=Get ( LayoutViewState )&"record"=Get ( RecordNumber )&"mode"=Get ( WindowMode )
If is is a calculation then it should read something more like
"192.168.1/fmi/webd#" & Get ( FileName ) & "& lay=" & Get ( LayoutName ) & "&\"viewstyle\"=" & Get ( LayoutViewState ) & "&\"record\"=" & Get ( RecordNumber ) & "&\"mode\"=" & Get ( WindowMode )
You have viewstyle, record and mode quoted in your original and I'm not sure that is right.
The other thing to keep in mind that a WebD session is a new session, it can not inherit anything from the user's FMP session - like credentials. Given that you are using Get() functions it seems that you are trying to do this from inside FMP? What's the end goal here?
thats correct I'm trying to have views of records in an browser. Very often you have to compare data from one screen to an other and it is easier having it next to each other, as FM can have several session open at once.
Yes that the UID and PW are not give is very annoying and as well that the browser does not store the credentials.
Your code does show up but does not bring me to that layout and to that record.
I have seen as well that each tab in a browser is considered a concurrent webdirect viewer, is that correct?
Have you considered doing a screen snap and then using that for your compare? I use Snagit and it will capture a window and also scroll a long browser window and caputer it all. It can open in a photo app or pdf.
You can also save the snap to a file for alter viewing or import into FileMaker, etc.
Interesting view point but not really great. We have now a cloud based ERP / CRM and we hate it due to speed and flexibility. But are used to multiple tabs, and I try to reproduce that in Filemaker. If you do some accounting work like comparing invoices, credits, etc then snap shots make your live very cumber sum, so having it with one click open in a browser makes it easy. but the url above does not work and the password issue and as well the situation concurrent users.
Allowing for a typo: 192.168.1/fmi looks like an invalid internal wifi address. If this is an actual copy of your Open URL calculation, then recheck your 192 number.
I refer often to the Sharing dialog which has the correct 192.168.10.110 number that I set up with my wifi router to share my laptop with my IOS goodies for development.
Ooops. Thought I had a cheap answer...
Yes, I've used both version of Open URL one for opening fmp files on my laptop seeking to find a way to do an Open File on IOS and Pro that will work on both and avoid the problem of only using the FMP dialog for Open File.
fmpHost supplies the correct open url calcs for files they host.
I am curious as to why you have FileMaker open and then want to use WebDirect to view multiple screens rather than use more Windows in FileMaker? Of course you may be developing a WebDirect solution which will be used by others.
Have you tried using New Window to duplicate the FileMaker window? Excuse me for asking but sometimes newer FileMaker users who are very experienced in other apps try using that experience rather than FileMaker's built in functions.
I've often opened multiple windows displaying tables and then used the options under FileMaker Pro's Window menu for tiling the windows. Having 3 or so Table Views tiled so I can see the info in all three is quite convenient. And being able to move among 10 different reports...
Each webviewer you load will be a separate WebD session.
I think you can achieve what you want without using WebD by either:
- using multiple windows in FM
- or using a technique like virtual lists to load whatever you want to look at without actually going here
thanks several windows could be okay but then you have to make sure that all others are hidden.
Is there a way how to spread FM across 2 screens with out using the mouse and dragging the program to the second screen.
I dont know what virtual lists are, can you tell me where I can look that up and which tools you use from FM?
thanks a lot for the support.