So I have this popup I have that is meant to grab data from a selected row of a window so user can make changes to the data and update it.
I have some datasets components on the main page on the RootContainer for fault reasons, basically depending on what department the user selects those the fault dropdown will change to the appropriate dataset.
Now I want to have that option in the popup window and I was thinking instead of bringing all of those datasets to the popup window lets try to have one dataset component and grab the data i want dynamically from the main window based on what department the user selects.
Here is the question, for the following script:
How can I make the “someDataSet” dynamic, the fault datasets are the same names as the department names being selected so if I can just change the last part of that script dynamically I’m set. Something like:
I tried a few things and none worked, I figured I put it on here and see what happens.
If there is no easy way I’ll just pass the datasets when I open the window, I just thought it be cool to learn a new trick.