Hi,

Currently, it's not supposed to create new cells within a notebook.
I think it really make sense creating new cell and running it
programmatically.

I think InterpreterContext is right place to provide such ability.
https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/InterpreterContext.java#L37

And i think, following issue is related.
https://issues.apache.org/jira/browse/ZEPPELIN-66 - Add the ability to
execute a notebook as a program from another notebook

Thanks,
moon

On Mon, Jul 13, 2015 at 7:32 AM <steven.pomervi...@thomsonreuters.com>
wrote:

>  Hello everyone,
>
>  How could I programmatically create new cells within a notebook?
>
>  I am creating a custom interpreter that interacts with some web services
> and renders the results using the %table macro. Depending on the query, the
> service can produce more than one result set. Each cell can only render one
> table, though (please correct me if I am wrong about this). So my goal is
> to output multiple cells. I’m hoping I could do this right from my
> interpreter or perhaps the interpreter could output some links or angular
> buttons and when clicked it would create the new cells and pass in the
> %table data to render. Hopefully this makes sense. Any help or advice is
> appreciated. Having a lot of fun with zeppelin so far!
>
>  Thanks,
> Steve
>
>
>

Reply via email to