However, if I have two windows open, one with the main table and one with the app view; I update a field value in the main table, but the app view json does not reload, nor do I see anything in the console logs.
I’m trying to get a proof-of-concept, just to figure out how to trigger actions when a field value is changed.
A field, in the json above, is represented in the “items” list. An “item” is a row, and column_values give you the value of each column.
I would love to learn more about what you’re looking to do. I see that you embedded a monday.api() method within your monday.listen() method, and am wondering why you chose to do so?
Are you hoping to change something in your board view based off of changes made to column values in the main table? If so, you can accomplish this with the monday.listen("events") SDK method instead. This will “trigger” when an event takes place on the board.
Try this out and let me know if this works better for you!