Board view, how to get the current board's ID

Is the only way to get the current board ID via the URL when you’re using an IFRAME app for a Board View feature? Just couldn’t find an official way to know which board your view is running within other than parsing the boardId from the IFRAME app’s URI.

Just asking bc if I’m parsing boardId and it’s not official means to get the current board ID, then it could possibly change one day and break my app. Thanks

It should be in the context.

This will always give you the details you need to know about where your app is running.

1 Like

hmmm, i see. i’ll look. so the correct way to find out what board your app is running on, etc etc is always in the context… makes sense. thanks!!

yup, its

let context = await monday.get("context")

1 Like