
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
App Script is empty after duplicating app
Sep 9, 2021 5:02:15 AM
Aug 30, 2016 2:59:19 AM
App can be duplicated successfully by a user that does not have full access but the script is empty in the script editor.
The App can be used as expected, but not reloaded.
Environment:
- Qlik Sense all versions
Resolution:
A user that has read access to an app and to the related sections in the Qlik Sense Management Console (QMC) will be able to duplicate an app. If the user does not have full access to it, then only the front end of the app will be duplicated, and the script will not be copied.
The user will be able to use the app, but unable to access the original script.
This is working as design:
"Another user is not supposed to be able to duplicate the script, but the rest of the App should be able to be duplicated.
This is due to the fact that you can otherwise load data that you should not have access to removing the section access inside the script."
The reason why no error is printed, and the app can be duplicated successfully, is because the user should still be able to duplicate the rest of the App, without the script.
If full rights to the App and its App objects are given to the user, he will be able to duplicate the whole App including the script.
This behavior is documented on Qlik Sense help site.
A work-around solution is to duplicate the app with a user having RootAdmin or ContentAdmin role. (or) Create another rule to provide App objects access to the respective user or group.
Resource Filter: App.Object_*
Action: Read
Context: QMC and HUB
Conditions: user.name="User1"

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hello @Damien_V ,
Thanks for the explanation. I have another query regarding script changes in the published apps.
What level of access is required in order to publish and replace the apps with script changes by a non owner of an published app. By default only owner has an access to publish the script changes in the published apps.thanks.