QlikSenseScripts
QlikSenseScripts copied to clipboard
Adding Custom Property Values to a Custom Property?
Hi,
How do i go about adding custom property values to a custom property?
Sceanario :
Custom Property is called Len_Test which is of Resource Type = Streams. This custom property has an existing custom property value called "123". How do i add another custom property value "456" programmatically ?
Thanks
I've tried using the Update-QlikCustomProperty function however i get the following error : The remote server returned an error: (400) Bad Request.
$allcurrentvalues = $(Get-QlikCustomProperty -id 5048e219-c48b-4f45-861a-20012cd2df34).choicevalues
$allcurrentvalues += "456"
Update-QlikCustomProperty -id 5048e219-c48b-4f45-861a-20012cd2df34 -choiceValues $allcurrentvalues