3 Replies Latest reply: Apr 16, 2018 12:12 PM by Thomas Pessato RSS

    QlikSense Field API Promise

    Aadil Madarveet

      Hi All,


      I am trying to identify if the below API resulted in some values or not but the response always comes as true. Could you please help me understand what am i doing wrong here.


      I have an input box where i search for some values and hit the search button. On click I have written a function that executes the below statement. However, the response i am not able to identify as to success or failure.


      app.field('FIELDNAME').selectValues([6574], false, false).then(function(reply) {



      When i search for a value which is not there in the field, even then the reply prints true.


      This is part of a mashup that i am building.