Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
This video will demonstrate how to install and configure Qlik-CLI for SaaS editions of Qlik Sense.
Content:
get-command qlik
choco install qlik-cli
if ( -not (Test-Path $PROFILE) ) {
echo "" > $PROFILE
}
qlik completion ps > "./qlik_completion.ps1" # Create a file containing the powershell completion.
. ./qlik_completion.ps1 # Source the completion.
Advanced and additional instructions as seen in the video can be found at Qlik-CLI on Qlik.Dev. Begin with Get Started.
@Saranya_Durairaj Can you successfully browse to this directory? just copy and paste the following into the Run dialog, or do a search on your computer: %userprofile%\.qlik
@Saranya_Durairaj
Once you browse to the location mentioned above, open the file contexts.yml in notepad and you can add in your API Key manually. My file looks similar to the following:
current-context: myQlikServer.us.qlikcloud.com
contexts:
myQlikServer.us.qlikcloud.com:
headers:
Authorization: Bearer MySuperLongAPIKeyIsLocatedHere
server: https://myQlikServer.us.qlikcloud.com
Hi @nhoover,
I can able to navigate the path and update the sane which you mentioned in the previous comment. After that, I'm trying to use some examples but getting the "server URL not specified" error.
@Saranya_Durairaj I would validate that you modified the server correctly to match your tenant and try again, I feel you are very close to success! You may need to open a support ticket as I'm unable to help past this point.
current-context: SaranyaServer.us.qlikcloud.com
contexts:
SaranyaServer.us.qlikcloud.com:
headers:
Authorization: Bearer MySuperLongAPIKeyIsLocatedHere
server: https://SaranyaServer.us.qlikcloud.com
Hi @nhoover ,
I have successfully updated the API key in the context file, and it is functioning properly.. Now, I am trying to create the app, but I am getting an error message saying 'No such host'.
For reference,
Regards,