Get selected item id for board item menu app

Hey guys!

I’ve been working on implementing the board item menu feature in my application. However, I’m having trouble figuring out how to retrieve the selected board item ID. I’ve gone through the documentation for both the Listen SDK and the API, but I’m still uncertain about the exact steps to obtain the item ID.

Could someone please point me to the right direction? Any assistance would be greatly appreciated!

1 Like

You’re not alone here, but I would suspect checking out monday.get(“itemIds”) may be useful. While it says it returns a filtered list of itemIds from the board, it may in this case because the app is based around selections, treat the selection as the filter. I do not know this as a fact, but until someone who knows more than me comes along - I’d think its easy enough to “find out” and see what it returns.

Hello there @zehairawan and welcome to the community!

I hope you like it here :muscle:

You can check context.data.itemId using our SDK as explained here :grin:

Would you please give that a try and let me know how it goes?

Cheers,
Matias

1 Like

Hey, thanks for the warm welcome! Just wanted to let you know that context.data.itemId is working perfectly. Can’t believe I missed that :sweat_smile:

2 Likes

I am glad that is the case @zehairawan :grin:

1 Like