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