Skip to main content
Answered

Adding a "sticker" to a Frame or Grid using the Miro REST API

  • May 22, 2020
  • 2 replies
  • 1883 views

Is it possible to add a “sticker” to either the Grid or Frame widgets using the Miro REST API? I’m successfully adding “stickers” to boards at specified x and y co-ordinates, but I can’t seem to find a way of setting the “stickers” parent.

Best answer by Steve Appling

You can set the parentFrameId property of the sticker to the ID of the frame.  This doesn’t seem to be documented, but it is done in the GitHub Issue Importer example.  I’m using this technique in my application and it seems to work fine.  I haven’t tried with a Grid.

2 replies

Ahmed El Gabri
Mironeer
  • Mironeer
  • 16 replies
  • June 29, 2020

Hi @Ashley Rawbone,

I don’t think this is currently possible, looking at the API documentation https://developers.miro.com/reference#widget-types Frame is set as `readonly` & Grid is not supported yet. Plus as you already figured out there is no way to set the widget parent.


Steve Appling
Forum|alt.badge.img+2
  • Beginner
  • 7 replies
  • Answer
  • July 12, 2020

You can set the parentFrameId property of the sticker to the ID of the frame.  This doesn’t seem to be documented, but it is done in the GitHub Issue Importer example.  I’m using this technique in my application and it seems to work fine.  I haven’t tried with a Grid.