I am trying to load excel document stored by means of office-js task pane app. We have a save document button in the task pane app. When we try to save the document, it looks like task pane addin settings also getting stored along with the document. I don't want that to happen. What happens is - when the stored document is opened after save, the excel document is trying to open the task pane app automatically. I would like this to happen when someone does go to Excel Menu>Insert>My Addins> and click on the respective Add-in name but not automatically.
From the docs, I see some property being set or we can set using the following code. But what property I need to target to remove the default loading of the add-in after save.
Office.context.document.settings.set(<Doc_Property>, true);
Office.context.document.settings.saveAsync();