Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have set up a user import task which imports a variable list of users depending on criteria set within the source Qlik document. I was expecting that this would delete all users that no longer meet the criteria - why does it not do this?
The criteria select any of up to 10,000 employees who have training activities that are due within the next 3 months and NPrinting is set up to deliver an individual email to each of these employees including a listing of these training activities. In the latest monthly email distribution several people received emails who had no training activities due. I thought that the user import task would have deleted these users but it hadn't - how do i make it delete those users that have no training due?
Hi @parevrac ,
Ruggero has provided you a link to available api and documentation. You need to write custom script/code to use it in a software of your choice. you can create your own webapp or maybe use custom Qlik Sense script and utilize Rest connector to run it. There is a walkthrough of everything you need to do it in my blog post (just make sure you read carefully all links and configuration steps as there is lots of it)
Links:
my blog post: https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines
cheers
Thanks for this - looks like i need ti try and get REST connector as it is not included in our QlikView 12 installation
Do you have any the highlighted boxes checked in your LDAP import?
Lucas, Yes i have all these boxes checked
I believe this process will not delete users which were not created by import task, is that the behaviour you are experiencing?
Thanks Lech,
Users can only be created by the import task as i want this to be as automatic as possible. The user import runs weekly and the users that were not deleted appear to have been created in previous weeks to the email report run so they must have met the criteria for being included in the distribution in previous weeks
Hi,
I confirm that an import task can delete only users previously created by the same import task. You can delete the others manually, via APIs https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=63 or by using the same import task that created them. If you deleted the import task that created the users you can only use one of the first two suggested methods.
Best Regards,
Ruggero
Thanks Ruggero
How do i access and use NPrinting API - is it a separate application?
Regards
Paul
Hi @parevrac ,
Ruggero has provided you a link to available api and documentation. You need to write custom script/code to use it in a software of your choice. you can create your own webapp or maybe use custom Qlik Sense script and utilize Rest connector to run it. There is a walkthrough of everything you need to do it in my blog post (just make sure you read carefully all links and configuration steps as there is lots of it)
Links:
my blog post: https://nprintingadventures.com/2019/04/08/nprinting-api-qlik-rest-subroutines
cheers
Thanks for this - looks like i need ti try and get REST connector as it is not included in our QlikView 12 installation
@parevec
When you have a moment, please mark responses as Accepted Solution - if any - which helped you to come to your conclusion and next steps.
Kind regards...