Skip to main content

Is there a way to change the layering of widgets on a board via the rest api?

I get inconsistent layering, i think due to race conditions sending create widget requests. From what i can tell the more recently added widgets always end up on top, but i  can’t find a way to add a widget behind ones that already appear on the board.

I assume i’m missing something?

 

Thanks for the help

Mokes

Hello Mokes,

 

It is not currently possible to control the layering of objects through the REST API. It can be done to an extent in the SDK using bringForward() and sendBackward():
https://developers.miro.com/docs/interface-iboardwidgetscommands#section-bring-forward

These methods are the equivalent of right-clicking on a widget in the Miro board and then clicking “Bring to front” or “Send to back”.

I hope this helps.

 

Kind regards.

 

Daniela


Reply