Monday.listen("events") doesn't work

Hello,
I encountered the problem.
I have the app running in preview mode in the developer section. I connect the app with existing board.

When the app starts it sets listener via call
monday.lsiten ("events", res=>console.log(res));
for debugging.

On the second tab I change value some value in the board column.

Expected result:
dump event in the browser console

Actual result:
nothing in the console

Can someone show me working sample how to use that listener?

Hello there @DKostochko and welcome to the community!

I hope you like it here :muscle:

What happens if you add this app to an actual board (instead of testing it in the preview mode)?

Do you see the expected result in that case?

Looking forward to hearing from you!

Cheers,
Matias

Hello!

Yes, I’ve got expected result.
The app has got events for new item and for changed column values.

But using “production mode” for development purposes is a bit inconvenient.
I prefer to do this in the developer section =)

Is there a workaround to solve this problem?

Best regards,
Dima

Hello again @DKostochko,

There are a few limitations for the preview mode related to the context mainly.

As of today, there are no workarounds for it other than testing in an actual board (for this particular use case).

Our team is aware of the limitations and hopefully we will enable more and more features from the preview mode in the future.

Please let me know if you have any other questions!

Cheers,
Matias

1 Like

Hello, @Matias.Monday !

Thank you for your comments.
I hope you will solve this flaw in the nearest future! =)

Best regards,
Dima

1 Like