Hi
When looking at the documentation when wanting to create shortcuts it is showing the below code
Office.actions.associate('SHOWTASKPANE', function () {
return Office.addin.showAsTaskpane()
.then(function () {
return;
})
.catch(function (error) {
return error.code;
});
});
I am getting the following error:
Property 'actions' does not exist on type 'typeof Office'
was actions removed from the js library?
I cannot seem to get it working