As part of one of our integrations we are trying to generate a URL that can be used to launch Cube from a webpage. Cube needs to open on a specific element and visio page.
We can achieve this (more or less) using the following URL: http://<DMA IP>/DataMinerCube/DataMinerCube.xbap?element=<ElementName>:visual:<VisioPage>
However there are several limitations here:
- The URL needs to launch through Internet Explorer which probably hasn’t been anyone’s default browser for 10+ years.
- This actually starts a brand new instance of the client instead of opening the element on the Cube instance (browser version) that is already running.
As such we were trying to investigate how to do the same but launching the standalone (launcher) version instead. Here is what we found:
Which leads us to believe that it is actually impossible to create a command line/shortcut target that can be used to launch Cube automatically on the intended element and visual page. Is this true?
What we want to achieve:
- A way to open a specific element on a specific visual page from a weblink generated by a webpage.
- If there is already a standalone Cube client running on the computer then the element should open on the existing session and not launch a new one (Cube is already heavy enough with a single open session).
- If the standalone Cube is not running then it should launch and open the element and visual card.
How can we achieve this?
If the launcher is installed, you can use cube:// URL's. You can use the same syntax as for XBAP URL's, for example cube://MyDataMiner?element=MyElement:visual:Pagename
Note: because of security, not all applications will automatically make hyperlinks of these kinds of URL (for example Slack does, Teams doesn't).
As with the XBAP URL's this will always open a new Cube. It's currently not possible to let it open in an existing Cube session.
Sure, you can create a feature request for this.
Thanks Lander.
However, in order for this to actually be useful it would be required that a Cube session that is already running would capture the command and open a new card rather than launching a brand new session. To give an example of the behavior: With notepad++ if you open a text file the application launches and the file is open in a new tab, if you open a second file while the application is still running this command is captured and a new tab is opened on the same notepad++ instance.
Can we put in a request for this behavior?