Qlik Community

Qlik Sense EA Powertools

Discussion board where members can learn more about Qlik Sense Powertools.

Announcements
See why Qlik is recognized as a Leader for the 10th year in a row – and discover how Qlik can help put your business in the lead. Get Report
Highlighted
Partner
Partner

Is it possible to automatically reload and update KPIs?

Hi!

Trying out the Governed Metrics subscription feature which works great. Say we are loading from a database instead of an Excel file, that is updated regularly with new KPIs. We can automatically reload the Metrics Library app through the task in QMC, but can we automatically push out the new KPIs somehow? Or do we have to go through the GMS web interface to push them out?

Thanks in advance.

1 Solution

Accepted Solutions
Highlighted
Not applicable

Re: Is it possible to automatically reload and update KPIs?

@Erik, GMS is a REST api so you can set up a schedule to kick off a reload and update through a job in scheduler or some other scheduling solution of your choice.  You are not obligated to use the testpage. API docs: http://eapowertools.github.io/GovernedMetricsService/gmsapi/

View solution in original post

4 Replies
Highlighted
Partner
Partner

Re: Is it possible to automatically reload and update KPIs?

I think if your library app has a reload task assigned then you should set this to update daily. All other apps should then be updated if you have applied the custom properties to those apps.

This is because you have to specify the reload task in GMS Setup;

5.png

I believe it monitors this task and 'pushes' out the new library after the task completes.

QMC Configuration - EA Powertools Governed Metrics Service

Highlighted
Not applicable

Re: Is it possible to automatically reload and update KPIs?

@Erik, GMS is a REST api so you can set up a schedule to kick off a reload and update through a job in scheduler or some other scheduling solution of your choice.  You are not obligated to use the testpage. API docs: http://eapowertools.github.io/GovernedMetricsService/gmsapi/

View solution in original post

Highlighted
Partner
Partner

Re: Is it possible to automatically reload and update KPIs?

So a call to https://senseHostname:gmsPort/masterlib/update/all is needed either in a new task or at the end of the Library refresh task?

Highlighted
Partner
Partner

Re: Is it possible to automatically reload and update KPIs?

Thanks for the replies. Yes, that is what I wonder too - any easy way to pull off the push of the APIs?