Thank you, yes, I saw this page too... There's also API to run individual paragraphs sync or async...
I still don't know how to *automatically* trigger one or more paragraphs - when a notebook loads up. I guess it will have to be some external trigger/callback if no such mechanism available within Zeppelin. Thank you again for your inputs, Jeff! On Tue, 28 Jun 2022 at 13:18, Jeff Zhang <zjf...@gmail.com> wrote: > You can call run all paragraphs rest api for your scenario. > https://zeppelin.apache.org/docs/0.10.1/usage/rest_api/notebook.html#run-all-paragraphs > > > On Tue, Jun 28, 2022 at 3:16 PM Vishal Rao <vishal...@gmail.com> wrote: > >> 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. >> > > > -- > Best Regards > > Jeff Zhang > -- "The World is a book, and those who do not travel read only a page." - St. Augustine.