I'm trying to wrap my head around the Actions API but can't for the life of me work out how to navigate through the context menus. Specifically, I'm using the ApplyData.begin action and trying to find what data source is being applied.
These are the logs in the subsequent function as I try to drill into context.actionContext using the passed context
// __NSDictionaryM{2}
console.log(context.actionContext);
// MSApplyDataAction{4}
console.log(context.actionContext.action);
// undefined
console.log(context.actionContext.action.instanceMethods);
// MOJavaScriptException: TypeError:
console.log(context.actionContext.action.instanceMethods.label);
I'm way outside the JS API and could use any tips on where I'm tripping up.