Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

License Help

We use lease licensing.  On our server we have a copy of qv installed so that we can daily schedule a macro to run.  This macro stopped running because that copy of qv hadn't leased a license in a few weeks.  Is there a way to permanently assign a license to that install? 

10 Replies
SunilChauhan
Champion II
Champion II

assign a Cal to that users

and then lease license .it will assign a licence for 30 days and renew automatically.

you can assign using QMC_> Licences_.> assign cal

assign using Domainname/username

hope this helps

Sunil Chauhan
Not applicable
Author

That sounds like what I need but I don't see the screen.  When I go to licenses, I see assigned cal's, with a list of people who have a cal but not a way to assign them. 

It looks like this, http://screencast.com/t/Ht0bNGdW2A6

SunilChauhan
Champion II
Champion II

your screen shot shows the location where we can assign the cal

after assigning cal open new qlikview -> open in server -> lease from ip

hope this helps

Sunil Chauhan
Not applicable
Author

But these users loose their lease if we don't do the open from server every few weeks.  We want it to be permananently assigned to the user running the daily process. 

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

The lease will be renewed when the user opens the document from server. So a couple of choices.

1. Modify your macro process to open the qvw using a qvp:// link instead of from the file system.

or

2. Schedule a process that opens/closes a document from server using a qvp:// link.

-Rob

http://robwunderlich.com

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Doesn't the lease renew automatically if you run the desktop client while connected to the network? I think that the client remembers the server that it leased from and renews the lease before it expires.

I have been using a leased license for months without connecting to directly to the server. We are using manually assigned user CAL's.

Perhaps the OP's problem is that they are using dynamically assigned CALs and they ran over the limit, so when the client tried to renew it failed.

Regards

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Rob I like option 2.  I have the qvp link, what is the macro command to open a doc on the server?  I can easily add that to my process so the license always stays with this client. 

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

@Jonathan,

I don't think the license renews unless some client connects to or opens a document on the server. Opening a document in a client -- IE or Ajax -- will also renew the license. The open doesn't have to be from the desktop.

@cache.merrill,

The macro call is OpenDoc. However, my answer to Jonathan gave me an idea. Perhaps you can use windows scheduler to open a document with the ajax url once a month. That should renew the license.

-Rob

Not applicable
Author

Yeah I have a windows scheduler that is opening this doc reloading it then on post reload firing this macro.  I just want to append this open doc to the macro so that it always keeps a license. 

I did this

sub open_doc()

Set App = ActiveDocument.GetApplication

Set newdoc = App.opendoc ("qvp://Chegg\cache@Qlik-publish1.corp1.cloud.cheggnet.com/EmailReports.qvw")

end sub

My problem is that it asked for a password and since this is run from the scheduler it will just hang.  Can I add password to this somehow?