2 Replies Latest reply: Jan 17, 2018 6:33 PM by Venkata Nerella RSS

    Mashups Clear funtion

    Raveendra Kumar Maguluri

      i am new to Mashups, want to clear selected field

      How can We write Html for this Below Java script.

       

      var config = {

      host: window.location.hostname,

      prefix: prefix,

      port: window.location.port,

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

      };

      require(["js/qlik"], function(qlik) {

      // open the app

      var app = qlik.openApp('c31e2aba-3b46-4b13-8b87-c5c2514dea1d', config);

      //get a field reference and clear the field selection var lastNameField = app.field('LastName'); lastNameField.clear(); });

       

      Thanks,

      Ravi