eapowertools-archive / GovernedMetricsService

Unsupported - Qlik Sense Governed Metrics Service - Deploy centralized metric definitions to specific apps in Qlik Sense.
http://eapowertools.github.io/GovernedMetricsService/
MIT License
32 stars 17 forks source link

Duplicating an application with updated metrics doesn't work #114

Open mwz05github opened 7 years ago

mwz05github commented 7 years ago

After an application is updated with the GMS, duplicating the application yields an application with none of the loaded master items.

goldbergjeffrey commented 7 years ago

@mwz05github I will investigate.

goldbergjeffrey commented 7 years ago

Hi, I've tried this and don't see an issue. Can you describe the use case? Is the app published? Are you updating existing metrics and then performing a duplicate?

goldbergjeffrey commented 7 years ago

ok, found the issue here. Because the metric being added is not being set to "approved" it won't come over on a duplication. This seems to make sense to not change because if we approve these items and the application is duplicated the lack of the custom prop set on the back end will mean dims and measures will not get updated.

On the flip side, we want users who are duplicating to be able to take advantage of those items populated in the master library.

goldbergjeffrey commented 7 years ago

Will be approving gms items delivered to published apps with the following caveat. If a gms subscribed app is duplicated or copied, the gms based dimensions and measures will move with the application, but the subscription will not. The subscription will need to be set for the duplicated app in the QMC.

josesdggroup commented 7 years ago

Hi @goldbergjeffrey What does it means that the metric must be set to "approved"?

Is it somehow related with the published/unpublished sheet or application?

Thank you

lyonsdave commented 7 years ago

Using the App Object mover, I can set the new measures/Dimensions to "Approved", then when I duplicate the app those master items come over with the duplicated app.