Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI,
Is there any way to use variable in Qlikview to connect to NPrinting (in On-Demand button) so to dynamically setup when migrating to other environment such as Development -> QA -> PROD? Otherwise, any way to dynamically setup when migrate to different environment?
Thanks in advance,
Hi Aye,
I was referring to using QlikView variables in the On-demand extension objects.
Taking my original example above of using the value of a variable called HostName in the Hostname parameter; Let's say your test NPrinting server is on localhost and production server is on 192.168.1.1. You simply use =HostName in the Hostname parameter. NPrinting will substitute it with the value of the variable HostName. You can keep the value of HostName as localhost as long as you are testing and simply change the value to 192.168.1.1 when you want to point to the production server. No need to touch the parameters in the extension object.
HTH - Daniel.
Hi Aye,
Yes you can use expressions to define On-demand settings. Click the fx to open the expression editor. In the below example the Hostname property is set to the value of a variable HostName using the expression =HostName
HTH - Daniel.
Hi Daniel,
Sorry for late reply.
I tried to use the DefaultServerName variable from NPrinting in my Qlilview On-Demand button. But I always receive following error. I also cannot see those NPrinting variable in Qlikview. May I know where did you set your variable? Currently it seems Qlikview cannot see those NPrinting variable.
Thanks in Advance,
Hi Daniel,
May I know where did you set the variable? It doesn't seems like NPrinting Environment variable. My Qlikview Dashboard cannot see the NPrinting variable.
Thank you,
Hi Aye,
I was referring to using QlikView variables in the On-demand extension objects.
Taking my original example above of using the value of a variable called HostName in the Hostname parameter; Let's say your test NPrinting server is on localhost and production server is on 192.168.1.1. You simply use =HostName in the Hostname parameter. NPrinting will substitute it with the value of the variable HostName. You can keep the value of HostName as localhost as long as you are testing and simply change the value to 192.168.1.1 when you want to point to the production server. No need to touch the parameters in the extension object.
HTH - Daniel.
HI Daniel,
Thanks so much. My issue has been solved.
Thank you for your time.
Regards,
Can dollar sign expansion also be used here?