Monday.listen to context - Scope

Hi team, happy to join.
I want to listen to context change in the boards with the monday SDK function - monday.listen(“context”,…).
I have two questions regard this:

  1. Can I decide what boards the context listen function will be applied to? for example if I’m creating a custom object with React, and I’m use the monday.listen(“context”) function, it will be triggered for the context changes in all of the boards?
  2. Can I do monday.execute from specific board view application or custom object application, to other boards? or the monday SDK scope is relevant just for the board which the board view app was added to?

Thanks in advnaced!

Hello @Baruhshmil and welcome to the community!

I hope you like it here :muscle:

Regarding your questions:

  1. About this, depending on where the view is being used, you will have different contexts. You can find what is being listened to here.

  2. You can use monday.execute with other boards. For example, you could use something like this, indicating a board ID, item ID, asset ID and column ID from another board:

    monday.execute('openFilesDialog', {
      boardId: 1234567890,
      itemId: 1122334455,
      columnId: 'files',
      assetId: 78901234
    })}