Comments (4)
For anyone reading this. This is NOT an issue with Qlik CLI. The error was becuase i did not convert $proxy object back to JSON.
Using this, it works fine!
Invoke-QlikPut -path $path -body ($Proxy | ConvertTo-Json -Compress -Depth 100);
from qlik-cli-windows.
Note: If you have more than one Proxy returned by the first Invoke-QlikGet
$proxies = Invoke-QlikGet -path "/qrs/proxyservice";
you will have issues with the $path variable set on the next line
$path = "/qrs/proxyservice/" + $proxies.id;
you may want to filter the returned $proxies to make sure you are setting the SSL Thumbprint on the correct proxy service
from qlik-cli-windows.
Im still having issues with this,
It works on our internal testserver but i cannot get it working on some of our customers servers.
The only difference i can find that might be relevant is that we use Forms authentication. But that is a virtual proxy and should not be relavant to this.
All theese servers are single-node deployments and therefor only have one proxy.
I have tried reading the entire JSON object from the API with a qlik-get and stored it in a varible and then use qlik-put to update it with the same value, but it still doesnt work. Do i need to reformat the text in any other way? Can it be related to date formats and stuff like that??
from qlik-cli-windows.
the responses are reformatted for readability, this causes a problem when sending the data back to the API. Try using Get-QlikProxy -raw $proxies.id
, the -raw switch prevents the response being formatted. You can also switch off response formatting by setting $rawOutput = $true
.
from qlik-cli-windows.
Related Issues (20)
- Issue with adding a stream with new-qlikstream HOT 2
- Extract JSON HOT 3
- Import QVF and set owner HOT 3
- New-QlikNode -customProperties not work HOT 1
- Update-QlikVirtualProxy add loadBalancingServerNodes HOT 1
- Copy Qlik Server HOT 4
- Invoke Rest-Method error HOT 5
- Get qlik task trigger HOT 2
- Add -OnFailure to Add-QlikTrigger
- Reload Status of an app in Qlik Sense using Qlik CLI HOT 1
- Update-QlikDataconnection remove credentials
- How do I enable Intellisense / Go to Code functionality for this project in VSCode? HOT 1
- Invoke-WebRequest error while exporting the apps HOT 2
- Unable to Create Active Directory User Directory Connector with Qlik-Cli PowerShell Module HOT 2
- Unable to create Reload Task event - New-QlikTaskSchedule HOT 1
- Adding Custom Property Values to a Custom Property return bad 400 error? HOT 1
- Task event based on failure
- Qlik Cli HOT 8
- Backup .qvf missing information
- Assign user customproperties based on csv file HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qlik-cli-windows.