I have a GQI which displays a table in LCA and during the selection of a any row in that table, an automation script should be triggered. Is it possible to trigger an automation script on that case or do we have any alternatives if not
Dear Hari,
I have worked previously on a similar use case. I think you could assign an action to an specific column. To do this, you should first enter Edit Mode for the LCA (basically enter draft mode).
Then click on the pencil on the top left side of your screen. You will see something like this.
Once you do that, you should see a component window on the right side of your screen.
There you should see your collumn appearance. In my case I selected the first column and created an entry in that column appearance. This collumn includes the name of the destination address.
It makes sense that the user will click that one if they want to see some metrics about that destination. You could however set the rule for all collumns so your AS will be run for all of them.
Once you have created that click on the three dots on that entry and click the pencil again. This will lead you to a screen like the following. There select the empty collumn box as I have and chose configure actions.
There you will be able to add an action, that you could use to trigger an AS.
You can play around with that and chose what you want to do with that AS.
Hope this was helpful,
Jon
Hi Hari priya,
It is indeed possible to trigger a script when a row in the table is clicked, there are different options:
Use the double click event from the table
You can execute an action (for example, 'Launch a script') when a row in the table is double clicked.
Configure an action on click of a template block
Using this method you can execute a script on click of a table cell.
- Select table, go to 'Layout'
- Go to 'Column appearance' and select a column
- Select the 'Hyperlink' preset
- 'Customize preset' by clicking the 3 dots
- Within the template editor (see image) you can change the action that should happen when a click event occured
More info in this tutorial: https://docs.dataminer.services/user-guide/Advanced_Modules/Dashboards_and_Low_Code_Apps/Low_Code_Apps/Tutorials/Tutorial_Apps_Style_A_Table.html
Let me know if anything is unclear!
Hope this helps!
Best regards, Ward
Thanks so much Ward and Jon. That was pretty helpful.