Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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!