OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
670 stars 96 forks source link

Duplicated add-ins from store and sideloading even though it's the same add-in, "poisoning" files #2878

Open wh1t3cAt1k opened 1 year ago

wh1t3cAt1k commented 1 year ago

Your Environment

Steps to reproduce

image

Actual behaviour

image

This may be related to https://github.com/OfficeDev/office-js/issues/2776 - in that case, it was not a development add-in conflicting with store add-in, but it was an org add-in conflicting with the store add-in.

Expected behavior

We'd really like the add-in to be recognized as the same instead of registering multiple times in the workbook.

In addition, we would like clear product rules around the priority of such recognition.

Proposal:

I am not sure if any changes need to be made to the registration mechanism of the add-ins in the document, maybe they do - but we clearly want only one add-in to be loaded in these scenarios.

I don't have a clear architectural recipe for the fix, what I can only say is that the current mechanics look broken for our clients and warrant a change for better UX.

Context

This problem negatively affects the customer perception of the modern add-in framework and our new cross-platform offering.