0 Replies Latest reply on Mar 24, 2016 3:06 PM by Imran Akbar

    updating multiple parameters simultaneously from Javascript API

    Imran Akbar

      Hi,

       

      I have some workbooks displayed in an HTML page, and am using the Javascript API just fine.

      However, I need to be able to update multiple parameters in one go - not one after the other as I've seen most examples do where they are chained like:

       

      mainWorkbook.changeParameterValueAsync('Top Customers', 10).then(some other parameter change)

       

      Is the only way to do this to completely replace the viz, and pass in a new set of initial options?

       

      thanks,

      imran