4 Replies Latest reply: Oct 1, 2015 1:21 PM by Shannon Luo RSS

    Qlikview v11 Server Extension for web service vs Client Extension

      Hello,

       

      Anyone has any idea on the following?

       

      1.  Have a .qvw using extension to call web service for communication with database via XML.  The QVW works when using access point.  But if you open it in Qlikview desktop client (developer licensed) with web view turned on, then click on "New Sheet Object", there is nothing shown under Extension Objects.   Any way those extension can be hidden for some reason from a member in Qlikview Admin group?

       

      2. When the same QVW file moved to another computer that has no Qlikview server but just desktop client, the extensions showed up after the extension folders/files were copied to the default extension location for Qlikview desktop.  However, the extension does not work any more.  It throws out an error that is not 404 (just say can't connect to the extension API).   The new computer can ping the IP address of the web service server wi

       

      Any ideas how above can be corrected?

       

      Thanks much in advance for any help you may be able to offer.

       

      Shannon

        • Re: Qlikview v11 Server Extension for web service vs Client Extension
          Jérémy George

          Any way those extension can be hidden for some reason from a member in Qlikview Admin group?

           

          The directories where the extensions are located are not the same for the desktop and server versions, so you have to be sure that the extension is also installed in the directory of the desktop extension for your user (c:\users\[USER]\AppData\Local\QlikTech\QlikView\Extensions\Objects).

           

          For the extension not working in the desktop, it could be related to cross-domain requests security : if you load your script from your extension and it tries to send request to a service located on another domain then the browser could block the request. An alternative could be to split the code in two parts : the main part will be on your service host and will be responsible to send requests to the service, the other part will only consist of a Qva.LoadScript('http://service-host/extension.js'). This way the script will be allowed to send requests to the service as it will be loaded from the same host.

            • Re: Qlikview v11 Server Extension for web service vs Client Extension

              Hi Jeremy,

               

              Thank you for your reply.   Please allow me to clarify:

               

              1. On the server, all extensions are working fine.  None of the extensions show up under "Extention Objects" in New Sheet Object panel when open the QVW in desktop developer client.   At AccessPoint, the extensions do show up in New Sheet Object panel. 

               

              2. On another computer, the extensions are copied to the right default location (different from server location) and extensions also showed up New Sheet Object panel when open the QVW file in desktop developer client. The new computer has the same domain.

               

              Are there any settings need to be changed when move extension to desktop, other than place in the right extension location, if the web service IP and database connection have no changes?

               

              Thanks!

               

              Shannon