Can I write an HTML script and pass information from the script to a cell on Qubole?

96 Views Asked by At

Is it possible to write an HTML script and have the user interact on the HTML script and pass the data back to the zeppelin cell and have it rerun the data passed back? Thank you!

Update:

Have some progress on rerunning the cell on a html click.

Cell I want to re-run and pass data into: %pyspark print("Hello "+ z.z.angular("input"))

or z.angular("input") depends on your zeppelin version.

Scrip to rerun the cell: stop

The next problem I have is how to pass a variable from java scrip into the z.z.angular("input")

Here is a link about how to do it using a button and input box in html. https://zeppelin.apache.org/docs/0.7.0/displaysystem/front-end-angular.html

Update

(https: //codepen.io/qwertynl/pen/jqIrK) This should solve most people's problem if you are able to call outside URL. I am still looking for solution from any one if there is a way to get it done without getting an external URL.

1

There are 1 best solutions below

3
On

Dillon, I found this

https://zeppelin.apache.org/docs/0.8.0/usage/display_system/basic.html

I think it's will be helpful for you.here is everything to interact with HTML from Zeppelin. but otherwise, if you want to interact to zeppelin with HTML I think you might need work with forms