Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Kevin_DS01
Partner - Contributor
Partner - Contributor

Using QLik-Cli to migrate custom properties across different environment is not working

Hi, I have tried to use the QLik-CLi module to export all the custom properties from UAT environment without any problem. However, when I tried to import all these 'exported' custom properties (as a Json file) back to QMC of PROD environment using the New-QlikCustomProperties module, I encountered Invoke-RestMethod's error.

Questions: 

(1) Is this error occurring because New-QlikCustomProperies could not be used to read data from Json, block by block? I have tried using Powershell's ForEach loop (that I am sure to be able to read the Json file's contents), but the same error occurs. 

(2) Can anyone suggest which cmdlet or module from QLik-Cli that could be used to import Json file that contains the custom properties (in one go)? 

Labels (2)
1 Solution

Accepted Solutions
NadiaB
Support
Support

Hi @Kevin_DS01 

It seems you are using qlik-cli for windows that is not supported, only the SAS one is supported.

It is recommended to place any error/question about the use directly in github.

https://community.qlik.com/t5/Knowledge/How-to-install-Qlik-CLI-for-Qlik-Sense-on-Windows/ta-p/17153...

Hope it helps.

Don't forget to mark as "Solution Accepted" the comment that resolves the question/issue. #ngm

View solution in original post

1 Reply
NadiaB
Support
Support

Hi @Kevin_DS01 

It seems you are using qlik-cli for windows that is not supported, only the SAS one is supported.

It is recommended to place any error/question about the use directly in github.

https://community.qlik.com/t5/Knowledge/How-to-install-Qlik-CLI-for-Qlik-Sense-on-Windows/ta-p/17153...

Hope it helps.

Don't forget to mark as "Solution Accepted" the comment that resolves the question/issue. #ngm