Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
TcnCunha_M
Creator III
Creator III

Export Qvf with private content

Hello

I have one Js code where i can have the private content bring into  csv file.
My issue now is I would like to make a qvf even if make me as onwer of the content but get all the contents so i can give back to the previous onwer, does anyone did something like this?

As you think, so shall you become.
Labels (4)
1 Solution

Accepted Solutions
DaveChannon
Employee
Employee

Thanks again for the time on Friday - I put the app stuff into this tutorial, comments welcome!

https://qlik.dev/manage/migrate/migrate-apps-tenants/ 

View solution in original post

21 Replies
DaveChannon
Employee
Employee

Hi @TcnCunha_M 

If this is Qlik Cloud, have you seen the change object owner API endpoint?

It's referenced in this migration tutorial https://qlik.dev/manage/migrate/qlik-cli-app-objects-migrate/ and here's the API spec https://qlik.dev/apis/rest/apps/#post-v1-apps-appId-objects-objectId-actions-change-owner 

TcnCunha_M
Creator III
Creator III
Author

Hi @DaveChannon ,

Yes, I see. My automation uses this in the end.

The main issue is that I can't get private content through my automation, so I would like to do it via CLI or JS.

I know I can change the owner, but the question is, how can I create the QVF with private content?

As you think, so shall you become.
DaveChannon
Employee
Employee

Ahha, in that case, you just need to use OAuth with the correct scope - see this tutorial for the scope (admin.apps) https://qlik.dev/manage/platform-operations/private-content-bots/

If you're using application automation, you can use the Qlik Platform Operations connector with an OAuth client with that scope to export apps with all private content included.

TcnCunha_M
Creator III
Creator III
Author

Hello Dave
I use JS code from this link as base line in fact.
i access this link and I didn't see any link related to have platform operations where can smooth move , even with this automation doesn't work sometimes doesn't bring all the content

As you think, so shall you become.
DaveChannon
Employee
Employee

What do you see missing from the exports? If that OAuth user has the admin.apps role, our tests show everything is exported.

If there are specific things please feel free to open a support case, that scope is designed to pull everything from an app. 

TcnCunha_M
Creator III
Creator III
Author

There are discrepancies when I compare the Extraction for CSV versus the app I have exported using this automation.

For example:

TcnCunha_M_0-1721057211631.png



Those objects are coming but the automation should: change the owner of this object to me and export

and this is not happening, if open a ticket they will say this is OOTB and tell me to pay for consulting service, this has been happening quite often....

TcnCunha_M_1-1721057332046.png

 




As you think, so shall you become.
DaveChannon
Employee
Employee

I'll drop you a DM. This should work, but it might need an adjustment to your workflow.

roger-melo
Partner - Contributor II
Partner - Contributor II

Hello, @DaveChannon and @TcnCunha_M . I'm experiencing the same issue. Are there any updates on this topic?

PabloLabbeImaps
Partner Ambassador
Partner Ambassador

Interested to know how to solve this.