Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
im quite new to Qlik-CLI and would like to update the Custom Properties of a newly created Stream.
Therefor i tried the following:
$Streamname = "Test"
New-QlikStream -name $Streamname
$Streamobject = get-qlikstream -filter "name eq '$Streamname'" -full
$streamguid = [System.Guid]::Parse($Streamobject.id)
$StreamCustomProperties = $Streamobject.customProperties
[Object[]]$NewStreamCustomProperties = "value=ADGroupNameXYZ"
$StreamCustomProperties += $NewStreamCustomProperties
Update-QlikStream -id $streamguid -customProperties $StreamCustomProperties -verbose
Unfortunately i get the following Error:
Invoke-RestMethod : The remote server returned an error: (400) Bad Request.
At C:\Program Files\WindowsPowerShell\Modules\Qlik-Cli\functions\core.ps1:66 char:23
+ ... $result = Invoke-RestMethod @paramInvokeRestMethod @params
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
Does anyone can Help with this issue? I could not find anything in the Documentation about that.
Thank you in advance
Hello,
Given below the link for more info on this. Please check;
https://ahaydon.github.io/Qlik-Cli-Windows/Update-QlikCustomProperty.html
Kind Regards
Shalini,
Qlik Support.