Wow, that's awesome if it works like expect it to: such as basic feature that was missing from IWP and FM13 WebD, will be great to remove all the hack-workarounds we had to use. Anyone tested this yet to confirm?
I am trying to test this an i am having some trouble. It appears not to work if used in a web viewer.
This was a feature that was available in WebDirect when it was first released. It was then disabled in 13.0v2 due to security concerns of people passing plain-text credentials via URL parameter.
FileMaker brought back the ability for URL parameters in v.14 per request of the development community (they definitely listened to feedback on this one).
Incidentally, a few of us figured how to get around the parameters being disabled in 13, here's my blog post on it:
Maybe you can point me in the right direction. I want to create a navigation menu and use a web viewer (prefered) or portals. I would like to use the FMP or some other url without PHP or a wrapper script. Every attempt I have made with WebDirect 14 is opening a new window and requiring log in again. Any thoughts?
Sorry, I don't really understand what you're trying to do. If you're just making a navigation menu in webdirect, just use FMS14, and use the new navigation parts and the button bar objects to make one. They're the most compatible.
For security reasons i want to be able to easily turn navigation options on and off. Using the navigation part and a button bar requires me to go to every layout any time I want to make a change (not ideal at all). Using a portal I can have the object already set-up and just and a record to a menu table. To make this work however i need to use a fmp url. This method works great in pro but i can't seem to get it to work in Web Direct. It seemed like this post was saying that option now existed. am i missing something.
Opening URLs is fundamentally different in WebDirect, that's what's different.
I still am not seeing why you can't just do this with a script and a parameter, rather than a URL. If you're dealing with a portal you're already using native filemaker objects.
Button bars can be done completely dynamically, so it's not true when you say you would have to go to every layout to update button bars when something changes.
Completely aside from the navigation aspect. I use FMP url's in many web viewers in my solution. None of these work in webdirect. Does anyone know if these can be made to work in 14?
My understanding is that the behavior that you have described above, where a new window is opened and credentials are requested is (currently) the expected behavior with using a URL to target a FM database hosted via WebDirect.
Unlike the FMP protocol URL which can trigger a script in an already open FMP client session, the HTTP(S) URL used with WebDirect could be thought of more as a "prompt to open a new connection to a database file", and, as such it will attempt to start a new session, hence requesting credentials, etc..
I believe that you will find that this behavior is true regardless of whether you invoke the URL from a WebViewer, or whether you simply paste the URL into the location bar of a browser -- at the end of the day, in the context of WebDirect it is still interpreted as though it is a request to open a new session. And yes, just to be clear -- this behavior is different from what we are accustomed to with a FMP(A) client.
There are certainly those of us who would like the behavior to be otherwise, but, as far as I know, this is its current expected behavior. If anyone knows otherwise, I hope that you will chime in and share what you know.
HTH & kind regards,
p.s. Earlier this year I posted a question to the SeedCode blog asking about this, and the reply posted by John Sindelar helped solidify my notions about this: http://www.seedcode.com/awards-and-integrations-with-slack-and-harvest/
Thank you for the information. We have made a little step closer to where we need to go in 14. Maybe soon we will get the rest. In the mean time I have set up a button bar using some sql statements and a wrapper script which will have to work
Sent from my iPhone
Thanks to a tip from Vin Addala, I realized the following:
For some odd reason I did not make the connection that my scripted FMP calls to my GoTo script could be adapted for WebDirect. E.g.:
If [ Get(SystemPlatform) = 4]
Open URL [ http://<host>/fmi/webd#<dbname>?script=GoTo...]
Open URL [ fmp://...]
I was still about to hope that when WebDirect's Open URL sees "fmp://", it would just automatically run the WebDirect equivalent, but I guess that doesn't make sense, since FMP is only meant to open a client. If anything, I suppose even WebDirect's Open URL ["fmp://...] should only attempt to open the client.