Pardon me, I should have probably put in more effort in coming up with a usage scenario :-)
Say we have a notebook with multiple (many) paragraphs and some of these generate/display visuals (charts etc) using data pulled based on the authenticated user's ID. I'd like to generate and display these charts coded up in paragraphs when the user opens a link to the notebook without needing them to manually click the run button on every such paragraph one by one. Is this a reasonable scenario? When you asked for a usage scenario and why I would want to run, should I presume there isn't such capability currently in Zeppelin? In that case, a "fallback" method of perhaps externally triggering paragraphs via the Java or REST APIs would be appropriate here? Thank you! Vishal On Tue, 28 Jun 2022 at 12:32, Vishal Rao <vishal...@gmail.com> wrote: > A notebook with multiple paragraphs and would like to reduce the number of > paragraphs a user has to manually run? > > On Tue, 28 Jun 2022 at 11:31, Jeff Zhang <zjf...@gmail.com> wrote: > >> What is your usage scenario? Why do you want to run paragraphs when the >> notebook is loaded instead of triggering it manually. >> >> On Tue, Jun 28, 2022 at 1:57 PM Vishal Rao <vishal...@gmail.com> wrote: >> >>> Hello, >>> >>> I'm looking for a way to run paragraph (s) when a notebook is loaded. >>> >>> Is there some sort of callback or hook mechanism available in Zeppelin >>> or would I have to externally trigger this using, say, the Java or REST API? >>> >>> How about writing an angular paragraph in the notebook to use ngInit() , >>> but would this be triggered automatically? >>> >>> Any suggestions? >>> >>> Regards, >>> Vishal >>> >> >> >> -- >> Best Regards >> >> Jeff Zhang >> > > > -- > "The World is a book, and those who do not travel read only a page." - St. > Augustine. > -- "The World is a book, and those who do not travel read only a page." - St. Augustine.