Skip to main content

Hello,

 

Recently I wanted to present some data in a form of interactive map generated in Python and include that into html site. I had an idea that if I cannot insert that as any other component, I could try to use Iframe to just place that in the business view.

 

I've tried to do with my own private domain and it look promising, however much better would be just running local webserver in ML workbench and seeing that.

 

Here's the code snippet used from internet:

image 

I've also check if the site is really accessible in the ML workbench with Curl tool - I can see whole html code.

Image 

Unfortunately when inserting that URL as src in Iframe component I can't get any data:

 

Iframe 

I've tried to put URLs:

http://localhost:8080/example.html

http://localhost:8080/example

 http://localhost:8080

 

Any ideas how to access localhost website? I'm not sure if I can change anything in html code, as event simplest html sites if hosted on normal domain, seems to be working fine.

Please note that I cannot edit most of linux system files, I would like to avoid setting additional infrastructure with website, domain etc..

 

image I've attached files - please change path to file if needed.

 

#Edit:

I know that in code port is set to 8081 and in src it's 8080 - I've changed that, and tested.

Standard maps are too limited to use for my purpose.

 

Best Regards,

Mateusz Dudek

Hi Mateusz,

thank you for reaching out to us.

Could you please create a case on servicedesk@celonis.com?

Your understanding is highly appreciated.
Hi Mateusz,

thank you for reaching out to us.

Could you please create a case on servicedesk@celonis.com?

Your understanding is highly appreciated.

Hi Lejla,

 

I've created case no: 00179709, however responding time in such cases is usually quite long, so if anyone would have any kind of workarounds or ideas it would be highly appreciated :)

 

Best Regards,

Mateusz Dudek


FYI: I've been not able to solve my problem, however I've found workaround.

Even if referencing hosted webserver URL is not working, there's possibility to reference download link to specific file, f.e. html one. The only problem is that webserver is more dynamic, however html can also be changed in background with python scripts.

 

There's also possibility to reference whole ML app instance, however that creates unnecessary security risk (ML app access from business views - studio).


It seems that workaround can be applied for applications hosted outside internal network or static HTML files, which in some case is fine.

 

However in order to use easy-to-use components and filter data visible on map in real time we probably will have to use flask or Streamlit which will require referencing localhost machine (at least for development / POV purposes when usualy it's hard to get budget). So in our case we still search for the solution.


Reply