Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
From the UI you can export extensions in the QMC. Is it possible to export extensions via the QRS API or another Qlik Sense API? !
Hey Adam,
Sure. The endpoint is going to be GET https://servername:443/api/wes/v1/extensions/export/ExtensionName
In a Qlik CLI framework the code would be like this:
# Scrape the hostname from the Host.cfg
$Data = Get-Content C:\ProgramData\Qlik\Sense\Host.cfg
# Convert the base64 encoded install name for Sense to UTF data
$FQDN = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($($Data)))
Connect-Qlik -ComputerName https://$($FQDN):443 -UseDefaultCredentials
Invoke-QlikDownload -path https://$($FQDN)/api/wes/v1/extensions/export/blah -filename blah.zip
Hey Adam,
Sure. The endpoint is going to be GET https://servername:443/api/wes/v1/extensions/export/ExtensionName
In a Qlik CLI framework the code would be like this:
# Scrape the hostname from the Host.cfg
$Data = Get-Content C:\ProgramData\Qlik\Sense\Host.cfg
# Convert the base64 encoded install name for Sense to UTF data
$FQDN = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($($Data)))
Connect-Qlik -ComputerName https://$($FQDN):443 -UseDefaultCredentials
Invoke-QlikDownload -path https://$($FQDN)/api/wes/v1/extensions/export/blah -filename blah.zip
This worked perfectly for me. Thanks!
@Levi_TurnerIs this API documented somewhere in the Qlik Documentation? I'm curious if I can get a list of endpoints similar to calling GET /qrs/about/api/description?extended=true