openItemCard type "columns" throwing error

From my app, I’m trying to trigger openItemCard from the Monday SDK. The default type “columns” throws an error that stops the trigger:

What I am doing:

Running monday.execute('openItemCard', { itemId: 123456, kind: "columns" }); or monday.execute('openItemCard', { itemId: 123456,}); throws an error in the Monday’s code:

Uncaught TypeError: l is undefined
l https://cdn7.monday.com/build/main-92c6af2e815f8ce30536.js:2
r https://cdn7.monday.com/build/vendors-8b983c6b8b35df3f7db5.js:2
dispatch https://cdn7.monday.com/build/vendors-8b983c6b8b35df3f7db5.js:2
openPulseCardAction https://cdn7.monday.com/build/main-92c6af2e815f8ce30536.js:2
r https://cdn7.monday.com/build/vendors-8b983c6b8b35df3f7db5.js:2
l https://cdn7.monday.com/build/vendors-8b983c6b8b35df3f7db5.js:2
value https://cdn7.monday.com/build/main-92c6af2e815f8ce30536.js:2
receiveMessage https://cdn7.monday.com/build/main-92c6af2e815f8ce30536.js:2

Running monday.execute('openItemCard', { itemId: 123456, kind: "updates" }); works properly

I’d be grateful for any kind of help

Thank you all in advance!

Yeah, it looks like there’s an issue with the ‘columns’ openItemCard type. I found this thread from a few months ago:

It looks like it hasn’t been fixed, yet it looks like it works fine in the Kanban view. Could it be fixed with a different version of the monday sdk?

Hey folks! I was able to reproduce this as well. I’ll pass this along to our developers and circle back the moment I have some news to share.

Hey folks! Wanted to give you an update on this issue.

We investigated this and found that this error occurs only when you’re using the SDK in the app preview mode. If you add your app to a live board, the item card should open normally.

In any case, we’re working on a fix and it should be ready by tomorrow!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.