Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone!
I'm creating a script for export, import and publishing apps betweens tenants in Qlik Cloud using Qlik-CLI. As the first step I create a context using following line:
qlik context create test --server https://<TENANT NAME>.us.qlikcloud.com/ --api-key <API KEY>
After that I log into that context with qlik context use test . After that I use following line for export app from a shared space from test tenant
qlik app export <AppId> > <Pathfile>/AppName.qvf
It does export app with data
Furthermore we should use OAuth client for multitenant managing. So we create context using --oauth-client-id and --oauth-client-secret flags for creating context.
However, using the last context with this authentication it's exporting app with No Data.
What could be the issue?
Note: I followed this tutorial for creating OAuth client credentials
https://qlik.dev/manage/platform-operations/authenticate-platform-ops/#how-to-create-a-region-level-...
Thanks in advance.
For solving this, I modified the line to set export function with API KEY value, and export with OAuth user credentials.
Best regards!
Hello @DanielCordon
I tested with a context which uses an API key only.
I was not able to reproduce the issue. You can actually see the difference when exporting with and without the --NoData flag.
Try this below to see if the output size changes for you with and without the --NoData flag.
NoData flag: App size is 768KB
No data is seen when opening the app.
Without NoData flag: App size is 960kb
Data is seen when opening the app.
If you are consistently reproducing the issue with your specific context configuration however, please do start a support case.
Kind regards....
Hi @Frank_S
I tested that already. Red box is with personal APIKEY and blue one is for OAuth client information
For solving this, I modified the line to set export function with API KEY value, and export with OAuth user credentials.
Best regards!