Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am having problems with nPrinting API using QlikNPrinting-CLI. Maybe somebody had a similar problem and could guide me: I can connect to nPrinting engine, create new user or create new app, but when creating new connection I always receive error - Response: Bad Request. The code I try to run is bare minimum for what is required to create new connection according to API documentation:
$DataConnecton = @{
name = "NewTestAPIConnection";
appId = "db69eadd-291b-4ca2-ae40-cf91c54923dc";
notificationsEnabled = $true;
}
$DataJSON = $DataConnecton
Invoke-NPRequest -method Post -Path "connections" -Data $DataJSON
Bonus question: how to add document path to a specific QV app or id and proxy for QS app in this code?
I am running Qlik NPrinting May 2022 SR2, Version: 22.15.8.0
QlikNPrinting-CLI - https://github.com/QlikProfessionalServices/QlikNPrinting-CLI#get-specific-app-with-id
Further @J_Dbwsk
If you wish to ensure you are using supported APIs only (and not private apis which are NOT supported - in case you encounter anyone trying to use private apis) we highly recommend using the supported API library to meet specific requirements.
To use public apis in a Qlik App, checkout this article and the related articles therein.
If public API's are not available via the api library, then you may wish to submit an 'idea' here.
Kind regards...
Risky move @J_Dbwsk
I dont think this CLI is officially supported by Qlik so you are on your own with this. Looking at update history it also does not look like it has been worked on lately. I would not go down this path with unsupported solution - it may turn out as waste of time.
@Ruggero_Piccoli - do you know if anyone from Qlik actually supports it?
cheers
Hi,
This is not a Qlik product. I suggest you to ask to the developer.
Best Regards,
Ruggero
Further @J_Dbwsk
If you wish to ensure you are using supported APIs only (and not private apis which are NOT supported - in case you encounter anyone trying to use private apis) we highly recommend using the supported API library to meet specific requirements.
To use public apis in a Qlik App, checkout this article and the related articles therein.
If public API's are not available via the api library, then you may wish to submit an 'idea' here.
Kind regards...
Hello, thanks to everyone for their answers. I am aware QlikNPrinting-CLI is not offical Qlik-supported tool, just was hoping someone else uses this and managed to achieve what I wanted. But in that case I will look into you suggestions.