Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How is it possible to assign a user to an NPrinting Task with API Version 1.11.1 (May 2021)?
I do find assignments
/users/{id}/filters
/users/{id}/groups
/users/{id}/roles
only, but not for tasks.
I manage to create new users with the REST API.
Thx - Marcel
Hi,
You can suggest new features, like APIs for tasks management, by posting or voting in https://community.qlik.com/t5/Labels-page/bd-p/Category_Labels?categoryId=qlik-ideas&corenode=boards...
Official documentation about APIs is in https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/Extending/Intro-Extending.htm.
In this article https://community.qlik.com/t5/Qlik-NPrinting-Documents/How-to-manage-Qlik-NPrinting-users-by-using-A... I made some examples of managing users via APIs with PostMan. I suggest to test and take practice with PostMan in case you are not familiar with APIs.
I hope this helps.
Best Regards,
Ruggero
Supported options:
There is no official API to do that! Full stop! My approach is usually to put group into Task and manage USER<->Group association using API
Unsupported option:
There is also undocumented and unsuported "NPE" API which you can figure out by using web browser developer tool to check what is done when you access Qlik NPrinting using admin console and assign users to task. You can preview all requests there...
cheers
"put group into Task and manage USER<->Group association using API" seems a good way. However, It would be nice to have api methods available for all tasks that can be done in administrator.
NPE-Feature: I do not know about this. Is it possible to provide more examples or some minimal documentation at least. Thank you.
Cheers
Hi,
You can suggest new features, like APIs for tasks management, by posting or voting in https://community.qlik.com/t5/Labels-page/bd-p/Category_Labels?categoryId=qlik-ideas&corenode=boards...
Official documentation about APIs is in https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/Extending/Intro-Extending.htm.
In this article https://community.qlik.com/t5/Qlik-NPrinting-Documents/How-to-manage-Qlik-NPrinting-users-by-using-A... I made some examples of managing users via APIs with PostMan. I suggest to test and take practice with PostMan in case you are not familiar with APIs.
I hope this helps.
Best Regards,
Ruggero
RE NPE api -> I said before - there is no documentation!
You have to inspect everything you do in NPrinting admin console using web browser developer tools and recreate all required requests in your tool (from authentication, obtaining cookie etc).
I understand that this is very time consuming and painful process but if you really want to have a API endpoint - there is one used by interface. It is not documented as it meant to be used only by interface and it may change between versions.
see GIF below