0 Replies Latest reply: Apr 3, 2017 3:05 AM by Tanja Kantola RSS

    External properties file for a QS extension?

    Tanja Kantola

      Hi! We have coded a QS Extension, which includes a properties.js

      There is a property MyURLValue in the file:

       

      var MyURLValue = {

      ref: "props.urlArvo",

      type: "string",

      label: "URL Address",

      expression: "optional",

      show:function(){return!0},

      defaultValue:"http://localhost:81/"

      };

       

      My question is: can we place this default URL value in a properties file OUTSIDE of the extension / QS - ie. in a properties file on the server - and the extension would read the URL value from the external properties file - based on a static path - or could the external properties file be included in the extension code somehow?

      We are investigating this option so that the URL would not need to be changed in the extension code on all the clients - on theexternal properties file on the client's environment would need to be changed.