3 Replies Latest reply: Sep 28, 2011 5:10 AM by Stefan Bäckstrand RSS

    Accessing the Task in Publisher using batch file

      Hi Guys,

       

           I want to access the task which has been created already in qlikview management console.

           I have heard that its possible using batch file commands.

           Can anyone just give me the sample coding for that?

       

      Thanks in advance

      Rajan.

        • Accessing the Task in Publisher using batch file
          Stefan Bäckstrand

          Triggering Publisher tasks from outside of QlikView is in a QlikView world called EDX - Event-Driven Execution". Depending on what version of QlikView Server you are using, the methods of triggering them differs, but it can certainly be done via HTTP POST commands in at least 9 and 10, even though 10> prefers via QMS API.

           

          You can read about EDX in the documentation for QlikView Server.

            • Accessing the Task in Publisher using batch file

              Hi Stefan,

               

                   Thanks. Your reply helped me a lot. gives me confidence of communicating with the distribution service is possible...

                   But I have few doubts...

                   1. The sample codings, I saw in the EDX section looks like XML language. Is that right?

                   2. Do I need to create a service to interact with QV Distribution Service or I can directly interact with it using C# language.

                   3. Can you give me the sample application? So that I will be able to get a clear idea.

               

              Thanks

              Rajan.

                • Accessing the Task in Publisher using batch file
                  Stefan Bäckstrand

                  1. In the foundations, the calls are in XML, yes, but in different shape. In 8.50 and 9, it's HTTP POST that sends XML. In 10 and upcoming 11, it's HTTP POST as legacy and within the QMS API as web services; that also sends XML in the end.

                  2. You can use the HTTP POST method from any language that can send HTTP requests. VBScript, C++, C#, VB.NET, Java, Python.. you name it.

                  3. Samples should be in the Reference Manual. Also check the QlikView Server SDK, that you find as addition in the QVS installation package.