Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: SreyaOriginally posted by: Tim Meagher
Hey,
What is your graph saved as and what is your qvw file saved as?
From the command line dataviewer script you are using I believe that if the graph name is "MyGraph.brg", then the corresponding QVW created for this graph must exist at:
c:\lavastorm\dataviewer\MyGraph.qvw
The {{^graph^}} parameter will substitute in the name of the current graph - without the .brg extension.
For example, if I create a graph "MyGraph.brg" and then in Tools->Preferences, create a DataViewer called "QlikView Create" with the command line:
c:\Program Files\QlikView\Qv.exe /l {{^data^}}
I can then run a node in the graph, right click and choose Data Viewers->"QlikView Create"
In the generated QlikView document, I can then do what I need to, then save this as C:\Lavastorm\QlikViewers\MyGraph.qvw".
Then within BRE, I can create a data viewer in Tools->Preferences called "QlikView Template":
c:\Program Files\QlikView\Qv.exe /l /vgraph={{^graph^}} /vinputQvx={{^data^}} /vpin={{^pin^}} c:\Lavastorm\QlickViewers\{{^graph^}}.qvw
I can then right click on the node's output and use Data Viewers->"QlikView Template" which will open that qvw with the new data in QlikView.
Regards,
Tim.
Hi Tim, Thanks a lot for your quick reply. your solution is working absolutely fine.. I am able to see the graph directly now.
However, I have some more questions on this:
1. can we create more than one Qvw files from different pins from one single graph?
2. How to refresh/reload the data each time while opening the QVW graph from BRE?
Example: I have created a QVW graph with 32 records. Now If the records from BRE changes to 20 then how the QVW will be updated each time? For my case each time the old QVW graph is opening. It is not getting refreshed each time with the new BRE data.
Please help me out on this as early as possible.
Am doing things correctly?
Thanks in advance.
Regards,
Sreya Mukherjee