Skip to main content

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

  • July 24, 2024
  • 3 replies
  • 127 views

deepdev

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

3 replies

  • Participating Frequently
  • July 24, 2024

It should be in the context.

Apps Framework

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


deepdev
  • Author
  • Participating Frequently
  • July 25, 2024

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!!


  • Participating Frequently
  • July 25, 2024

yup, its

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