Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
bluecarbon
Partner - Creator
Partner - Creator

nprinting 17 task reload after QMC task

Hi,

Is there a way to trigger a Nprinting 17.3 task after completion of a QVW task in QMC like it was done in Nprinting 16.

Thanks,

Rakul

22 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

great - this is good news and another hint for others having issues!

cheers

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
grs_venki
Contributor II
Contributor II

@Lech Miszkiewicz

Need your help to fix the issue. Code is perfectly working in my local desktop, However when I move the code to RDP machine which is windows server 2008 R2. Here I am getting 403 Forbidden error. I had tried multiple way of running the code in server. But so far I haven't got any idea as to what could be the main reason. As I can see certificate installed in server and its working web console and newsstand without any issue, Also I have full permission access to the box and web console. So I would like to ask you a huge favour to understand what is the main problem here to resolve the issue.

p

Steps I followed:

 

  1. Certification Installed
  2. No Firewall blockage
  3. Tried running from the service account
  4. Tried running Admin account
  5. Allowed cookies
  6. Added Trusted site to this URL
  7. Tried HTTP and https
  8. Tried server name and server name with the domain
  9. Tried Local host and IP address

  

https://community.qlik.com/servlet/JiveServlet/showImage/2-1470165-199486/pastedImage_12.png

https://community.qlik.com/servlet/JiveServlet/showImage/2-1470165-199484/pastedImage_9.png

https://community.qlik.com/servlet/JiveServlet/showImage/2-1470165-199485/pastedImage_10.png

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Well the error you are getting is 403.

It clearly says in :  https://help.qlik.com/en-US/nprinting/February2018/APIs/NP+API/index.html#tasksTaskIdExecutionsPost

403

The user is not authorized to create the task execution.


I think what happens is you are using a user you are logged in as when executing this POST request.


WIndows 2008R2 should work, but it is on quite old i would say.

https://help.qlik.com/en-US/nprinting/February2018/Content/DeployingQVNprinting/System-requirements_...



In overall i think the method with the HTML file was not elegant and i suggest you try RestConnector.

More details here:

How to use Qlik NPrinting APIs inside a Qlik Sense load script (This applies to QlikView too and works much better than file option)

cheers

Lech


cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
jampierre
Partner - Contributor III
Partner - Contributor III

Hi gurus,

is there a way to trigger a Nprinting 17.6 task after completion of a QVF task in QMC ?

Our version are NP17.6 and June 2017 for Sense

Thanks in advance

Best regards

JP

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

‌yes

it is all i ny above post (link to how to use api in qlik script)

did you read it?

regards

lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
jampierre
Partner - Contributor III
Partner - Contributor III

Hi Lech,

thanks of your reply.

Yes I read it your post.

I was only wondering if I use QlikSense and not Qlikview I can use the same method you described in the post above

Thanks a lot

JP

jampierre
Partner - Contributor III
Partner - Contributor III

Hi Lech,

Zhu Wuzhong's post open my eyes thanks to you

Thanks a lot

JP

grs_venki
Contributor II
Contributor II

Hi,

This method can be used in both Qlikview QMC and Qliksense environment. Basically you need to create a batch script to call the HTML file and then you need to setup this batch script in your external event to trigger.

Note - This method can be utilized only if you have Nprinting 17 with full administrator access.

Hope this will help you.

Thanks

Venki

grs_venki
Contributor II
Contributor II

Hi,

We have installed Nprinting 18.0 Feb 2018 version. Hope my issue will shorted out. Otherwise I am planning to change Windows Server 2012 R2.

Note - I have installed postman to check the connection. But still I am getting 403 Forbidden error.

jampierre
Partner - Contributor III
Partner - Contributor III

Thanks Venki,

We have full installation of NPrinting with administrator access.

We'll try that way

Regards

JP