Office java scrip addin shortcut not working, load task pane on start also no working ,followed https://learn.microsoft.com/en-us/office/dev/add-ins/design/keyboard-shortcuts
Note : Hi,
We are using office javascript api for our migration from office 365 excel with cutsom ui ribbon to office js .
We have a requirement that new taskpane shall get open by using some shortcut, we followed the steps mentioned in https://learn.microsoft.com/en-us/office/dev/add-ins/design/keyboard-shortcuts
facing below issues
- on locally when running node js server wih http/https protocal ,with hosted shortcut.json and action for the same , when triggering the shortcut, we are getting an error popup in excel a "This add-in could not be started. Close this dialog to ignore the problem or click "Restart" to try again.
- On QA server we have same set up running in container ( i.e. shortcut json and actions for the shortcut), when I am running excel with manifest /shortcut json poinint to QA server, nothing is happening, we can see in debug none of shortcuts in shortcut json getting showin in getAllShortCusts() call.
We have another requirement that asap user open the excel and addin loaded, taskpane shall get loaded as open in excel, to achieve this we have updated manifest xml to add below tags
<Action xsi:type="ShowTaskpane"> <TaskpaneId>Office.AutoShowTaskpaneWithDocument</TaskpaneId> <SourceLocation resid="Ourstaskpane url" />
</Action>
But even after this , restarting all server locally , taskpane not getting open after addin loaded successfully.
Please help on this or guide use with proper steps to take
Note:- If we open /close taskpane manually all works fine.