Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
ldubin
Contributor II
Contributor II

CLI for the new custom banner messages

Finally got around to upgrading to the newest QlikSense Enterprise and loving the custom banner messages. Does anyone know if there is a CLI or API call we can make to "automate" these on a schedule?  If not I'll throw it over in the idea world but figured there might be one in place somewhere.

Labels (1)
  • API

1 Solution

Accepted Solutions
Marc
Employee
Employee

This can be achieved with QlikSenseCLI using the following snippet 

 

#https://github.com/QlikProfessionalServices/QlikSenseCLI

Connect-QlikSense -TrustAllCertificates 
$newCBM = New-QSCustomBannerMessage -Name "Banner_Name" -Message "BannerMessage" -MessageType Info -IsActive $true -Duration 10
$QSCBM = Add-QSCustombannermessage -CustomBannerMessageObj $newCBM

 

this uses the QRS API "https://_yourQlikSenser_/qrs/custombannermessage"

custombannermessage 

View solution in original post

2 Replies
Marc
Employee
Employee

This can be achieved with QlikSenseCLI using the following snippet 

 

#https://github.com/QlikProfessionalServices/QlikSenseCLI

Connect-QlikSense -TrustAllCertificates 
$newCBM = New-QSCustomBannerMessage -Name "Banner_Name" -Message "BannerMessage" -MessageType Info -IsActive $true -Duration 10
$QSCBM = Add-QSCustombannermessage -CustomBannerMessageObj $newCBM

 

this uses the QRS API "https://_yourQlikSenser_/qrs/custombannermessage"

custombannermessage 

ldubin
Contributor II
Contributor II
Author

Brilliant thanks!