Qlik Community

Qlik Sense Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
Highlighted
Not applicable

Replace app on sense hub to preserve task

Hi everyone,

Can someone point out how we can replace an app on the qlik sense hub?

If we import the same existing app, it'd be created again and when we delete the older one, its task is also deleted.

Thanks.

1 Solution

Accepted Solutions
Partner
Partner

Re: Replace app on sense hub to preserve task

It's kind of unusual case: creating a task for non-published apps... What's the reason for that?

If you do not want other users to access this QVD-building application - just publish it in some stream that could be accessed by Admins only, for example...

This would be definitely a better process and will allow you to update your file independently.

Regards,

Vlad

View solution in original post

5 Replies
Partner
Partner

Re: Replace app on sense hub to preserve task

if it's a published app

you can publish the new app to replace the old app

Not applicable

Re: Replace app on sense hub to preserve task

Hi,

It's an unpublished app.

An app just to reload data and prepare qvds.

Partner
Partner

Re: Replace app on sense hub to preserve task

It's kind of unusual case: creating a task for non-published apps... What's the reason for that?

If you do not want other users to access this QVD-building application - just publish it in some stream that could be accessed by Admins only, for example...

This would be definitely a better process and will allow you to update your file independently.

Regards,

Vlad

View solution in original post

Not applicable

Re: Replace app on sense hub to preserve task

Hi Vlad,

Appreciate your reply.

I'm kinda new to Sense and actually trying to apply the best practices for everything

Considering your suggestion, we want to be able to edit the script anytime (unlike a final dashboard, where we would be dealing with objects mainly)

So these were the steps:

  • From the hub: duplicate the app
  • Edit the needed script/reload
  • From qmc: publish and replace the existing app
  • Delete the duplicated app

Would these be the correct steps?

Thanks.

Partner
Partner

Re: Replace app on sense hub to preserve task

These steps are correct.

Another option to consider: use external script file (for portions of the script you are modifying frequently).

In this case you will be using the same published app, which will load the script file from shared location...

You have to arrange a shared folder, worry about access rights for different people (if any), but it might be less complicated solution (do not need to handle publishing, do not need to worry about overwriting the published version accidently and have better source control).

You can even use different conditions to load different pieces of code in this case (using CASE: or IF options).

For example: load portion of your script from File_1 on Monday and from File_2 on Friday....

Regards,

Vlad