Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently, dynamic form is created per paragraph. Either by FormType.SIMPLE, e.g.
select * from data where key > ${minKey=10}
or FormType.NATIVE, e.g.
val formValue = z.input("minKey", 10)
And the dynamic form only update the paragraph who defined the form.
But sometimes, updating entire note by changing single dynamic form is useful. So, how about introduce note level dynamic form?
Note Level Dynamic Form
Note Level Dynamic form is created on top of the Note, always. No matter which paragraph defines it. And no matter how many paragraphs define the same form, form is displayed only once. Once user updates dynamic form, all the paragraphs in the note will run.
FormType.SIMPLE, use double $$ instead of single $ to define Note level dynamic form
select * from data where key > $${minKey=10}
FormType.NATIVE, use z.noteInput() instead of z.input() to define Note level dynamic form
val formValue = z.noteInput("minKey", 10)
Attachments
Issue Links
- relates to
-
ZEPPELIN-1680 how to pass parameters to jdbc paragraph
- Open
- links to