Share interactive view

Hi there,

I generated a nice layout for the interactive view of my metanode results (activity clustering metanode for example). It opens in a kind of web portal where I see the results and I would like to be able to share this interactive view with others. Is this possible? And how?

Thanks in advance.
Madalena

Hi there @madalena_barroso,

Components are for sharing!

https://www.knime.com/blog/knime-analytics-platform-40-components-are-for-sharing

How? KNIME Hub for example :wink:

Br,
Ivan

Hi Ivan,

Thank you very much for your reply. I think this was not exactly what I meant. I am sorry, I am still new to KNIME. My doubt was not about sharing nodes or their components but about sharing the results that come out in the interactive view.

Namely, if I prepare a interactive view with results and what to share it with a partner that does not have KNIME. How could I do it?
As this interactive view seems to be opening in a browser I thought maybe there could be a way to easily share it, so others can open just the view of the results.

Thank you!
Madalena

Hi Madalena!

no problem. Well, besides saving Interactive view as HTML and sending it to partner (i.e. someone without KNIME access) not sure of any other way. And haven’t tested this one either.

Br,
Ivan

1 Like

Hi.

Thank you once again. Yes, that is what I would like, maybe to save it as a HTML, but I can’t find a way to do that. Please if you manage to do that, let me know how.
It would be very much appreciated.
Thank you! :slightly_smiling_face:
Best,
Madalena

Hi,

right-click on Interactive View and choose Save As. Files you downloaded send to partner and check what he can see :slight_smile:

Br,
Ivan

1 Like

Thanks for the tip. It partially works as it looses its interactivity.
But it is something!.. Thank you!
Madalena

Hi there @madalena_barroso,

glad it helped. Regarding interactivity - if other person doesn’t have KNIME interactivity can’t be there as it depends on KNIME software.

If you are interested in sharing and collaboration you should check KNIME Server.

Br,
Ivan

1 Like

Hi,
it may be a bit cumbersome and not efficent, but it is possible export the interactive view and keep its interactivity, by enabling debug HTML for Interactive Views:

  1. In KNIME, go to File>Preferences>JavaScript Views and make sure the “Create debug HTML for JavaScript views” option is enabled
  2. In File>Preferences>KNIME GUI set the “Console View Log Level” to INFO
  3. Open your Interactive View
  4. Look at the KNIME Console for a line starting with INFO JavaScriptViewCreator and look at the file path at the end of the line
  5. With your operating system file navigator, copy the directory of file path in previous step to a destination of your preference.
  6. In the copied directory, search for an HTML file whose name starts with debug and open it with your browser. The view with its interactivity should be opened in your browser, independent of KNIME

You can rename the HTML file as you prefer and share the directory.

HTH
Fabrizio

2 Likes

Dear Fabrizio,

Thank you very much. It would be great if this works but it seems like I still need a little bit more help. I did all the steps you mentioned and in the end I could find the directory and open it on the file navigator. I found the debug file and I opened it in my browser, it works great so far. However, when I move the html file somewhere else (e.g. desktop) or if I try to send it via email, then, it is not opening anymore.
I also then tried to save it on the browser (“save as…” webpage complete) but then there it looses interactivity. Is there something that can be done to avoid this?

Thank you.
Madalena

Dear Madalena,
the ‘debug’ html file has links to other files located in the directory, and it can work only when those files exist: this is the reason why sending only the html file is not sufficient.

The only way I know to share the interactive view is to share the entire directory.
Unfortunately, the size of this directory can be so large that it may be difficult to share it via email as a compressed attachment (such as zip file).

Fabrizio

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.