Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Jan 18, 2023 4:35:02 AM
Jan 18, 2023 4:35:02 AM
This document explains how to upload the license using a powershell/CMD terminal.
import sys
import json
file_path = sys.argv[1]
with open(file_path, 'r') as file:
contents = file.read().replace('\r', '')
lines = contents.split('\n')
data = {}
for line in lines:
if '=' in line:
key, value = line.split('=')
data[key] = value
result = {"cmd.license": data}
json_data = json.dumps(result,indent=4)
with open("./license.json", "w", newline='\n') as output_file:
output_file.write(json_data)
Python.exe .\txt2json.py <#path-where-the-license-is-located #e.g. C:\Users\user\Destop\licence.txt#>
cd <#path-where-replicate-is-installed #e.g. C:\Program Files\Attunity\Replicate\bin #>
repctl.exe connect
repctl.exe [-d <replicate_data_dir>] importlicense license_file=<location>license.json
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
repctl.sh importlicense format: This explains repctl.sh in a Linux deployment. There is a slight difference because the script is written in Perl instead of Python.
Hi
Is there any similar solutions for importing license like that for Qlik Sense?
Hi @mghazian,
Unfortunately, no.
I have reviewed this with a QDA TSE, and they mentioned that it's not possible to do so.
Please feel free to request this feature through our ideation forum [1].
Kind Regards,
Martin
[1] https://ideation.qlik.com/app/#/user/dashboard?currentProductId=9da99bc1-0dfb-4471-8e12-d23685578c43