I have a table which contains of services that are present in the view. Whenever I create new service in DM i want the low-code app table to automatically refresh to display the new data. For now, I have added a refresh button in the header to perform the refresh action manually. I want this to happen automatically. Is there any way to do this?
As this question has now been inactive for a very long time, I will close it. If you still want more information about this, could you post a new question?
General Feature Release 10.3.10 | DataMiner Docs - Since 10.3.10 real time updates are supported for GQI data sources: Parameter table and Views.
You should check your LCA version and make sure you enable the Update data setting:
I have this update data option turned on in low-code app. But it is not fetching in regular intervals. is there any action i can create to fetch the data from DM for every 30secs?
Hi, the way/frequency in which data in the table will be updated is based on the query that is added to it. There are both real-time and notification events that immediately update the data or perform a refetch after 30s respectively. More info can be found here: https://docs.dataminer.services/user-guide/Advanced_Modules/Dashboards_and_Low_Code_Apps/GQI/Query_updates.html?q=realtime#supported-data-sources . If you want to automatically update the table every 30s, you can use a trigger component (https://docs.dataminer.services/user-guide/Advanced_Modules/Dashboards_and_Low_Code_Apps/Visualizations/Available_visualizations/Feeds/TriggerFeed.html).
Hi Baranisudha!
This is only possible (as far as I know) if you add the service through the same low-code app as the refresh component is not reachable from outside the LCA.
The way you would do this is add a trigger of your "fetch table data" after your script which adds the service finishes.
You can see the example of how to set up button click actions here.
As you see, it's possible to chain more actions after a click. So your end result will look something like the chain in the picture attached below. Button launches a script which creates a service, after which you trigger your table with services to re-fetch the data.
I hope this helps!
Unfortunately, im adding the service outside the low-code app. through external API im calling DM automation script to create service. Once created my low-code app need to auto-refresh. Do we have any option to create custom action in low-code app?
Hi,
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer that has been most helpful for you (using the ✓ icon)?