Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to create an application for license usage analysis, but I don't know where to read that info from, and I've given up on making the QMS API work. Any help will be appreciated, thanks.
Hi David,
I've added myself to the Qlikview Management API but I'm getting a "Service Key has expired" error. Please see attached image.
Thanks!
Humm, strange ! Service key is valid for 1 min I think, do you have a lot of cals/documents on your server ? Or maybe AD groups resolution is taking some time...
Anyway, here is an updated version with some more calls to retrieve a service key, quick and dirty but should be enough for now !
It works now and it's exactly what I needed, thanks a lot!
One question, is it possible to run the exe file in batch mode? I'd like run it everyday as part of my publisher tasks.
Great !
Right now, it cannot be run in batch mode. I could rewrite it that way but I may prefer to implement it as a web application. That way you could directly extract data into a qlikview application, for example:
CALS:
load * from [http://<server>/qvscalmanager/get_cals];
Docs_info:
load * from [http://<server>/qvscalmanager/get_docsinfo];
...
The only drawback is that it would require IIS support, hummm... Or could it be integrated into QVWebServer ? Or maybe I could write it as a plugin for QVSource (hi Chris ;-))...
Well, as I said, it just a beta/poc right now, I'll be happy to have your feedback on this ! So 'batch exe file' or 'integrated into IIS/webserver' ?
Integrated into webserver is a much better idea.
On Jul 29, 2011, at 6:18 PM, David Vasseur <
David, great example!
At our site there is a need to run this in batch mode, could you possibly make the Server configurable (app.config) & the Retrieve command execute on run perhaps? That would be great. If you lack the time I could do this if you send me the source code. Thanks, Diederik
Great tool David! Thanks for posting it.
-Rob
Good to see you find it useful !
I'm on vacation right now but I'll be back at the end of august and will do a web and command line version. I will also release the source code after some cleanning!
In the meantime, feel free to create a nice QVW for it
Hi David,
I'm very happy with your application, but i also want to schedule it or want to execute it during the script.
Maby you can change it in a way so you can execute it in a cmd line en add a paramater for the servername.
I hope i triggered you're fingers .
Thanks anyway!
Greetz, Halmar
Hello,
I have just downloaded your program. Unfortunately I just get the message »Connecting to QMS server 'localhost'...failed!«.
Any idea why I can't connect to the server even though I'm executing the program directly on the server.
Thanks & regards