An office add-in can automatically insert a task pane into a specific file.
Whenever the user (or a different user) opens that particular file, the task pane can be displayed automatically.

(this applies to Excel, Word and PowerPoint)

link - 
link -

If the add-in is installed, then the task pane will open automatically.
If the add-in has been removed, then the New Office Add-in task pane will be displayed.

<Action xsi:type="ShowTaskpane"> 
    <SourceLocation resid="Contoso.Taskpane.Url" />

Tag the document on the client side

Office.context.document.settings.set("Office.AutoShowTaskpaneWithDocument", true); 

© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopPrevNext