Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
sank5644
Contributor
Contributor

Qlik Sense SDK: Updating/Deleting DB connection own by different owner through Qlik Sense SDK

We ran into another issue  with our Qlik Sense integration. Basically, we are unable to update/overwrite Qlik Sense DB Connection created by a different owner via the Qlik Sense SDK.

This issue causes an error on subsequent Qlik Sense DB connection updates through the sdk if the user doing the update is different than the user that currently owns that DB connection.

  • How can a DB connection created by a different owner be updated or deleted via Qlik Sense SDK?
  • Is there a way to create a DB connection  through the Qlik Sense SDK that can be modified/deleted by any Qlik Sense Admin?

 

 

Labels (2)
1 Reply
Øystein_Kolsrud
Employee
Employee

Isn't that something you would typically do with a security rule in the QMC? I think that by default Qlik Sense is set up with a security rule called "ManageAnalyticConnection" with the description "RootAdmin, ContentAdmin and SecurityAdmin roles should be able to manage an analytical connection". Sounds like you want to do the same thing for "Data Connections". It would be an identical rule to the on I referred to except for the resource filter which should be set to "DataConnection_*" instead of "AnalyticConnection_*".

Now, there could be reasons for not exposing those connections as sometimes the connection strings include passwords and other sensitive information. So be careful when modifying those setting.