Set value of tm1-ui-dbr in Javascript

How can I set the value of the tm1-ui-dbr element from Javascript?

I ended up calling $tm1Ui.cellPut and setting the value directly in the cube, Cf.:
http://forum.cubewise.com/t/how-to-use-dbs-cellputn-fro-canvas/94/2

Hi @Roland,

Yes that is correct!

In addition, if you need to refresh the data (DBRs, DBRAs, etc.) after updating a cube value or attribute, the other function to call via JavaScript is:

$tm1Ui.dataRefresh();

You can find all the other functions to interact with TM1 via Javascript through $tm1Ui on the Help section on each of your Canvas application.


Paul

1 Like