Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have been trying to create a GET connection. All the help documents tells that the Set Cookie will return three values. I get only two values in the Set Cookie field. When I use either of them in the subsequent call, I get a server error.
Any help will be appreciated.
Hi,
This is very well documented process on community. I also wrote a post and attached very broad library of ready to use scripts in form of Subroutines bundled in qvs.
see here for more:
https://nprintingadventures.wordpress.com/2019/04/08/nprinting-api-qlik-rest-subroutines/
once you download NPrinting.qvs, at the very beginning you have all parameters which you need to place when creating your connection.
regards
Lech
Thank you for this, really helpful, but my problems lies with the below string manipulation
Let vCookieRaw = Peek('Set-Cookie',0,'cookie_items');
Let vCookie = TextBetween('$(vCookieRaw)','Secure,','Path=/',2);
My session cookie returns only two cookie value. If i changed to TextBetween('$(vCookieRaw)','Secure,','Path=/',1), I get a cookie value, but the server returns an error when I try to send the call
below is the vCookieRaw value I get
There is a possibility that if you are still seeing issues, that you may need to update your QS server to April 2019 release.
There have been issues with the rest connector in some prior versions of QS.
QS rest connector 2.11 contains the latest fixes and this version is found in the April 2019 release of Qlik Sense.
https://community.qlik.com/t5/Qlik-NPrinting-Documents/NPrinting-API-Setup-Requirements/ta-p/1511296
Kind regards...
I have the exact same issue, also Sense 2019 Feb release. Have you @rupamjyotidas been able to try if an update of Qlik Sense did solve your issue?
We are upgrading only next year. But for now, I installed REST for Qlikview , used Qlikview to Get the data from nPrinting and read the data into Qliksense.
not a better solution, but till we get upgraded, this works for us.