1 Reply Latest reply: Feb 27, 2018 11:45 PM by Erik Wetterberg RSS

    Mashup with Virtual Proxy

    Mehdi Komaei

      Hi,

      I am using QAP and I want to create a Mashup with virtual proxy prefix. I have created a virtual proxy for anonymous user and linked to the central node:

      virtualproxy.jpg

      Now I create a new mashup in dev-hub called mash_all and then I make the following changes into mash_all.js and mash_all.html:

      mash_all.js: ( I change the prefix to the name of my prefix which is /all/ )

       

      var prefix = "all";

      var config = {

      host: window.location.hostname,

      prefix: prefix,

      port: window.location.port,

      isSecure: window.location.protocol === "https:"

      };

       

      mash_all.html: ( I change the ../../ to my prefix which is /all/ )

       

      <link href="/all/resources/autogenerated/qlik-styles.css" rel="stylesheet">

      <script src="/all/resources/assets/external/requirejs/require.js"></script>

       

      finally I use this url to see the result:

      https://<ServerName>/all/extensions/mash_all/mash_all.html

      But it does show just a blank page while I have created a security rule for extensions : ((user.name="*" or resource.name="*"))

      Can you please help me how to resolve it?

      Thanks a lot in advanced.