Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
Can a tenant admin fetch personal space information (list spaces, apps, etc.) using any automate block? I tried list spaces (from both platform operations & cloud services); nothing worked. I was optimistic with the platform operations block since that uses a connection with Oauth, however that still doesn't work; in all cases I see all non- personal spaces. I tried Raw API Requests as well to no success.
Is this a UI limitation? Kindly let know if any clue. Thank you, - tres
Tagging @Sonja_Bauernfeind, if you can kindly help here.
Here's an example. This will print out all apps which are not in a space, and not owned by you.
I have no smart answers on the space ID issue...will need to look into it. Or, feel free to raise a support case!
On private objects - we do not plan to bring the same blocks to QPO for engine interactivity at this time. Instead, we are investing in building a REST API which serves this purpose, allowing you to list app objects and get metadata on the object. These are in development, nearing release. They are intended to permit an OAuth client with admin.apps to list private objects.
I don't think it's possible with the current blocks, even as a tenant admin.
During an automation, Qlik runs all commands using the current user context. So when it reaches a personal space, it will only return the apps that belong to the current user.
However, in the Administration section, you can go to Content → Applications. There, you can filter on Space and select Personal. You can then change the owner of an app or move it using the three dots next to the app name.
This will make the app visible and accessible. However, if a sheet has not been published, you will not be able to see those unpublished sheets.
Thanks for your reply @lb_1993 .
I would assume if we use platform operations block, the user context would be OAuth. But that is not happening here. I know that I could get the similar output using qlik-cli, however I am looking for a way using automation.
Note that a personal space is just where a resource does not have a space. So, a call to /api/v1/items?spaceId=personal will return resources "in other user's personal spaces", although note many cannot be accessed without transferring ownership to the current user, or using the admin.apps scope on an OAuth client via the Platform ops connector.
See https://qlik.dev/apis/rest/items/#get-api-v1-items for additional filter syntax
Hello @Dave_Channon
Thanks for looking into this.
I tried with admin.apps and default classics and more on an OAuth via platform ops connector, unfortunately that too is not working. Could you please check and confirm if that really works? or maybe suggest what else I should check.
Thanks.
What are you trying to achieve?
Note that the list spaces blocks won't return "personal space" because there is no "real" space for it. It's just a UI construct shown for when a resource has no assigned space.
That I understood from your previous comment. And then tried with list apps/list items block (platform ops) to pull all apps from all users' personal spaces. Still that didn't work. 😞
@Dave_Channon
Here's an example. This will print out all apps which are not in a space, and not owned by you.
Thanks a lot @Dave_Channon . This works. And more importantly, this even doesn't need OAuth. If you can, I would request to kindly give a try using platform ops block (OAuth) list app with inbuilt filters, and let know if that is working for you.
My simple above setup is not working for 'personal'
Do you have anything in the inputs? Can you share a screenshot of that?