4 Replies Latest reply on Jan 3, 2020 9:26 AM by Naman shah

    updating multiple parameters simultaneously from Javascript API

    Imran Akbar



      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?