Hi Dojo Community
I have a Custom GQI that retrieves some historical information events from a DMA, with a list of entities as filter.
In the Dashboard, the user would have to select the entities through a Parameter Feed that results in a list of indices, this is the list I'd want to receive in the GQI.
When I try to directly use it as feed in the input of the GQI, it sets the input to only one of the selected entities, instead of all of them.
Is there a way to get the complete list of selected entities? It wouldn't matter if is a single string that needs to be parsed after since the GQI can handle that.
Hi Luis,
It is maybe a workaround, but it might unblock you while you wait for it to be tackled by SW. You can use a button in low-code apps to set your filter somewhere in DM for your user. To give you an idea the action would look like this:
The script can then store the filter somewhere in DM that you can use in your ad-hoc data source. If you want this to be unique for every user, you can retrieve the user from 'engine.UserDisplayName'. The problem might be when you want to retrieve the user in your ad-hoc data source. There you need to do another workaround as explained in this question: How to filter data based on the user in GQI? - DataMiner Dojo
Hi Sebastian,
Not quite sure how you are going to pass the script output to the ad-hoc data source?
Hi Michiel,
If you link a script to a button, and the script uses script outputs, you can then use the button as a feed in GQI (similar of what you would do with any other feed e.g. table row)
To avoid saving the data somewhere in DM, probably a better approach is to use Script Outputs (https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Automation.Engine.AddScriptOutput.html). These outputs can be reused in other components of LCA and they are independent for each user.