Hi !
I'm using this greeeeat plugin to parametrize the build of a complex pipeline.
So I need to define/select some properties before running the build.
Bruno helps me to set the first level of Active Choices Reactive Parameter, as-is.
Environnement
 (do a SQL query to populate a Single Select)
     |
     |___ Version
          (do a SQL query to populate a Single Select)
            |
            | ____ Site
                 (do a SQL query to populate a Multi Select)
                   |
                   |____ User
                         (do a SQL query to populate a Multi Select)
So, it's working nice. The different components are updated accordingly to the selection.
What I need now, is to add a way to "overwrite" the selection for the "User" list.
I want to be able to define if I want to use the selection from "User", or to use all the values defined in "User", or to take the information from another way.
For this, I think I can have a 5th "active choices parameter" named 'selection" with a list of radio buttons and 3 choices; All users, Selected Users, External, and add another component which will list the users accordingly to the Radio button selected:
1- if " All users" => list all the values displayed in "User"
2- if " Selectedl users" => list all the values selected in "User"
3- if "External" => list the values from a sql query in a db
What I don't know is if I have to use the   Active Choice Reactive Reference  to do that,by creating a bulleted list maybe, and how to proceed ?            Â
                                 Â
Specially, I don't know how to dynamically get the list of "user", complete or selected items only, from another active reactive component.
At the end, I should have:
Environnement
 (do a SQL query to populate a Single Select)
     |
     |___ Version
          (do a SQL query to populate a Single Select)
            |
            | ____ Site
                 (do a SQL query to populate a Multi Select)
                   |
                   |____ User
                         (do a SQL query to populate a Multi Select)
Selection
   |
   |___ Radio Buttons
User List
   |
   |____  Bulleted List
         (according to 'Selection', get full User list, or selected List, or data from DB, will be refreshed if 'Site' or 'Selection' is changed)
Can you help ?
Thanks
Olivier