Today we’re happy to introduce performance, collaboration and interactivity upgrades to the file viewer in Microsoft 365. The file viewer in Microsoft 365 opens by default when you access non-Office ...
Hi everyone, I'm sharing the experience we have in with one customer in which some users already see the new viewer, others the old... the information I'm sharing could be useful to those who see only the viewer background, like in the following image
In our case we are going to build the viewer URL in order to allow our users who open the file from external apps, to view the file within SharePoint. Technical detail: the correct way to obtain it would be to go through the legacy GetSharingInformation API but for reasons related to security we are using Graph API which provides the createLink endpoint which however allows you to generate all the links generated by SharePoint when you click on Get Link but it doesn't allow you to generate "for people who already have access" type links. Until before the release of the new viewer, everything worked fine, now with the new viewer, some of the old links magically no longer work and on the browser console we see and error indicating a mismatch between FileRef and serverRelativeUrl.
After various analyzes we discovered that the id and parent parameters of the viewer are now case sensitive! therefore if the case is not respected the effect is the black display. I'm opening an entry on the feedback channel to report this issue.