Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
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
vlad_komarov
Partner - Specialist III
Partner - Specialist III

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
lironbaram
Partner - Master III
Partner - Master III

if it's a published app

you can publish the new app to replace the old app

Not applicable
Author

Hi,

It's an unpublished app.

An app just to reload data and prepare qvds.

vlad_komarov
Partner - Specialist III
Partner - Specialist III

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

Not applicable
Author

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.

vlad_komarov
Partner - Specialist III
Partner - Specialist III

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