0
votes

i am developing an office excel addins using office.js. i am going to copy my excel file to users one drive location and open it. as my addin doesnt have ribbon button it will open my addin when my excel file is opened(How to activate taskpane plugin/addin for office online when i open a excel file.[Office Addin]).

before i copy my excel file to users one drive location, i want to know if user has already installed office addin from office store or in his organization catalog. so that i can prompt to show the link to install my addins

is it possible to know if excel file or office 365 user has office addin installed ?

1
Complete wild guess as I don't know Office-JS but as no answers so far so might help :) Can't you check the file exists? E.g in VBA use the FSO.FileExists or in C# use File.Exists etc...?Absinthe

1 Answers

2
votes

You shouldn't need to do this. If a user opens a document that contains an add-in that he/she doesn't have, the task pane will still open and prompt the user to trust the add-in.

See image for an example.

enter image description here

~ Michael Zlatkovsky, Developer on Office Extensibility Team, MSFT