Action Button within Modal

andrewbettc
Kilo Sage

I have a related list declarative action that opens a modal in a workspace. It shows risk statements that a user can select and then, they click another button (on the modal itself) to create a project risk using that risk statement (i.e.it mimics an OOTB UI Action called "Create from Library).

The problem is that it's supposed to only show risk statements that haven't already been used. Somehow, I need to query a related list from the parent to see which statements have been used and pass that into the filter on the presentational list component.

I can't work that bit out. I'm trying to get an encoded query from a script include into a client state which I can then refer to. Surely that shouldn't be so hard?

 

0 REPLIES 0