Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all
I have a button in my Qlik Cloud app that executes an automation in triggered mode. When I publish the app to a managed space so that end users can trigger it themselves, they click the button, but the automation won't be executed.
It seems like only the owner of the automation is allowed to execute it.
I did everything in this video: https://youtu.be/uwtpmjumejc?si=9kLwfiOoab4Ywhr0 in manual mode and trigger mode, also nothing.
How can I resolve this? Also is this a limitation of the Analyzer License?
Thanks
Important Update: The automation trigger works inside the tenant but not in the embedded app. I forgot to mention that I'm embedding the app inside and iframe in my web app, and I think the limitation comes from this.
Hi @Ibrahim_Izz ,
clicking the button with the browser's developer tools on should give you some hints.
Check for the response to "execute" and also the following ones, and see you if you are getting anything else than "200"
Hello,
Did you check this in the button properties ?
The run mode of the automation should be triggered.
Regards,
Thanks @Daniele_Purrone I forgot to mention that I'm embedding the app inside an iframe in my web app, and I think the limitation comes from this
I did, I forgot to mention that I'm embedding the app inside and iframe in my web app, and I think the limitation comes from this.
Hello @Ibrahim_Izz
Have you tried, as @paulcalvet suggested, setting thebutton options to "Run mode : Triggered"?
Also, have you tried to setting Run asynchronously on Yes ?
Enjoy your Qlik.
Kind regards,
Théo ATRAGIE.
@Ibrahim_Izz does the issue happen when accessing the app normally on Qlik Cloud, without going through your iFrame?
No, it only happens in embedded apps inside the iframe, not inside the tenant. The tenant side works well with Run mode = Triggered & Asynchronous = Yes without issues.
Hello,
Did the integration into a web application require the creation of an OAuth or API key?
If so, you need to verify that the user who created the OAuth or API key has the rights to execute the automation.
Enjoy your Qlik.
Kind regards,
Théo ATRAGIE.
Additionally, if your embedding is done using CSP (Content Security Policy), you might want to check and potentially add additional CSP directives in the Management Console:
- frame-ancestors: to allow your web application domain to embed the iframe
- connect-src: to allow API calls from the iframe to trigger the automation
Go to Management Console → Content Security Policy and verify these directives are properly configured for your web application's origin.