I am using the Notification connector in an app that creates email alerts when Reload tasks fail. We are deploying the sollution with customers. But having one problem with the username password for the SMTP server.
QUERY "Password" "$(AlertEmailPassword)",
gives an error in:
My quess is that the Password query is invalid? Any help would be welcome
In order to be able to use the WITH CONNECTION syntax you need to be using the very latest version of Qlik Sense, this feature hasn't been available for long (and I've not migrated my code to use this syntax yet).
With the previous method (of putting the script into legacy mode and building a URL) there were some characters which needed to be HTML encoded in the password.
Can you set the password temporarily to a very simple password, without potentially problematic characters?
I have tried with a password containing only letters(capitals aswell) and numbers. and it does give the same error.
(guessing letters and numbers don't need encoding)
BTW when using something else than the with connection( I think I just had the connection string in which I replaced some stuff) I had to replace somethings in the email adresses for example, with the URL encoded things. With the with connection this isn't needed for these characters(email).
The app is already running and is fine with the code I got. I have variables that I use to set the correct parameters. When I put in a Password it fails. (if no Password is entered the query is not added to the with connection)
I want to deploy the app with customers without too much configuring to do.
At the moment I need to go to the notification connector and put in the info there to make it work. Within the script I can change everything I setup in the notification connector but not the Password.
So in short it all works in QWC and in app if I setup the password in QWC.