I am debugging an ms addin while running Office 365 in the browser.
xdminfo, as well as baseFrameName, are different every time I open the document.
So they're completely useless to find what the id of a document is. Any idea to get a proper ID will be greatly appreciated - and not just in a web context...