Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
A great example of this is when your add-in wants to know "what is the selected text" in the focused, second instance, as the XML request will always give the results from the 1st instance. If you close the first instance or move to another page in the 1st instance, the query will give the correct information.