Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
attached you'll find a step by step tutorial explaining how to use Qlik Sense (and also QlikView) load script to interact with the Qlik NPrinting APIs.
The examples include:
This document also shows how to use Qlik Sense Tasks to chain these different events directly from QMC.
This tutorial uses standard Qlik REST Connector.
Please read carefully the requirements before to dig into the actual examples.
Enjoy!
@Daniel Jenkins Can you publish a working qlikview example?
Is there a Word document that exists with all this code in it? Either that or a QVF that could be shared? I'd like to try this out, but I can't copy and paste the load script code from the pdf.
Thanks,
Steve
i've posted QV and QS samples here Distribute NPrinting reports after reloading a Qlik App
Hi,
I was able to trigger task in Nprinting through Qliksense API as per this post.Butfrom today I am getting an error which I don't have any clue.If anyone faced this type of issue please help me on this.Please find below error msg and attached log.
This is authentication error.Make sure that you put domain,username and pwd correctly.Sometimes qliksense domain name is different from windows domain.
Check the following support article.
NPrinting API Error: QVX_UNEXPECTED_END_OF_DATA: HTTP protocol error 500 (Internal Server Error)
https://qliksupport.force.com/articles/000057354
You need to log into the support site to down load relevant attachments.
Hello Experts,
From the above post I am able to trigger Nprinting task through Qliksense API.Now I am trying to create a dashboard to show all the task details along with execution status of the task whether running or completed or enqueue. I got a metadata table from which I can fetch all the task details time of creation,last execution etc but unable to get execution status.The below code will fetch all the task details.
Is there any other metadata table from where I can get execution status of all task? I can fetch individually execution status of a task but need the entire list.
LIB CONNECT TO $(vAPIConnectionNameForGET); //exit script; let vEndpoint= vNPrintingServer & '/api/v1/tasks' ; RestConnectorMasterTable: SQL SELECT "__KEY_data", (SELECT "id", "name", "description", "type", "created", "lastUpdate", "lastExecution", "enabled", "appId", "__FK_items" FROM "items" FK "__FK_items") FROM JSON (wrap off) "data" PK "__KEY_data" with Connection (URL "$(vEndpoint)", HTTPHEADER "Cookie" "$(vCookie)"); [items]: LOAD [id] AS [id], [name] AS [name], [description] AS [description], [type] AS [type], [created] AS [created], [lastUpdate] AS [lastUpdate], [lastExecution] AS [lastExecution], [enabled] AS [enabled], [appId] AS [appId] RESIDENT RestConnectorMasterTable //WHERE NOT IsNull([__FK_items]) and [name]= $(vNPrintingPublishTaskName); WHERE NOT IsNull([__FK_items]); // and [id]= '$(vNPrintingPublishTaskID)';