Morgan
3 years agoIdeator I
Adding a CUI button, getting context item
Hi aras team,
I am adding a cui button to the command bar, but random question...
How can I get the context item for my method? The usual ways don't seem to apply and I am getting an error:
"id...
- 3 years ago
"options" is declared as the parameter of your onClick method and has the "itemId" and "itemTypeName" properties. Or you can use window.item.