Just wondering what the best way to open an M-Files Show link:
m-files://show/....
Via UIX? Something like an href also opens the browser, is there an internal method to pass the link or reference to the object and open it?
Just wondering what the best way to open an M-Files Show link:
m-files://show/....
Via UIX? Something like an href also opens the browser, is there an internal method to pass the link or reference to the object and open it?
From recollection you can "run" it, like you run any application. There's a sample on github.
Hey Craig, can you point me to the sample I need to look at on GitHub? In my case we were looking at setting up the link directly(straight text) or alternatively we have access to something like the ID of the object.
The line in question is this one: https://github.com/M-Files/MFilesSamplesAndLibraries/blob/1dc12368147c41b0d6b7c3a94b5220de51e082a1/Samples/UIX%20Applications/OpenExternalApplicationOnCommand/main.js#L64
That said: note that this approach (using WScript.Shell) is not compatible with the new version of the UIX and the new clients that we discussed at our conference this year. It would be significantly better to probably use the web-style links which will be able to be opened using the UIX.
So what is the best way to open an M-FIles link without having an instance of Internet Explorer open up and stay alive as a blank page because right now when I open a link using <a href... I get a blank page of IE left behind that doesn't automatically close.
So what is the best way to open an M-FIles link without having an instance of Internet Explorer open up and stay alive as a blank page because right now when I open a link using <a href... I get a blank page of IE left behind that doesn't automatically close.
At the moment any web links opened that way will stay open.
No worries, just wanted to know if there was an alternative way to open links that wouldn't behave as such. Thanks!
© 2024 M-Files, All Rights Reserved.