You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.
I just discovered OfficeJSHelpers. I added console.log("OfficeHelpers.Utilities.host: " + OfficeHelpers.Utilities.host) and console.log("OfficeHelpers.Utilities.platform: " + OfficeHelpers.Utilities.platform) to my website. It works fine, but when I load in a browser https://localhost:3000/try?_host_Info=excel|web|16.00|en-us|7fe9b4e9-d51e-bea5-d194-c817bc5ed4bc|isDialog#%2Ftry%3F_host_Info=excel%7Cweb%7C16.00%7Cen-us%7C7fe9b4e9-d51e-bea5-d194-c817bc5ed4bc%7CisDialog (see why I have this url here), it considers EXCEL as host and OFFICE_ONLINE as platform, and raised an error Uncaught TypeError: Cannot read property '_appName' of null in excel-web-16.00.js.
What is worse is that, it disturbs the loading of other pages. Now, all the pages like https://localhost:3000/home or https://localhost:3000/try in a browser returns EXCEL as host and OFFICE_ONLINE as platform, and raised an error Uncaught Error: Sys.ArgumentNullException: Value cannot be null. Parameter name: conversationId in excel-web-16.00.js. The only solution is to clearing browser history data.
I think it is a bug...
Thank you
The text was updated successfully, but these errors were encountered:
SoftTimur
changed the title
Loading https://...?_host__Info disturbs future loading of other pages
Loading https://...?_host__Info=... disturbs future loading of other pages
Aug 10, 2017
@Zlatkovsky something that you'd want to take a look at.. Are we caching the value of host & platform? Also why are url parameters even a source for determining paths? I assumed that sessionStorage would provide that information when loading in Office.js
Hello,
I just discovered OfficeJSHelpers. I added
console.log("OfficeHelpers.Utilities.host: " + OfficeHelpers.Utilities.host)
andconsole.log("OfficeHelpers.Utilities.platform: " + OfficeHelpers.Utilities.platform)
to my website. It works fine, but when I load in a browserhttps://localhost:3000/try?_host_Info=excel|web|16.00|en-us|7fe9b4e9-d51e-bea5-d194-c817bc5ed4bc|isDialog#%2Ftry%3F_host_Info=excel%7Cweb%7C16.00%7Cen-us%7C7fe9b4e9-d51e-bea5-d194-c817bc5ed4bc%7CisDialog
(see why I have this url here), it considersEXCEL
ashost
andOFFICE_ONLINE
asplatform
, and raised an errorUncaught TypeError: Cannot read property '_appName' of null
inexcel-web-16.00.js
.What is worse is that, it disturbs the loading of other pages. Now, all the pages like
https://localhost:3000/home
orhttps://localhost:3000/try
in a browser returnsEXCEL
ashost
andOFFICE_ONLINE
asplatform
, and raised an errorUncaught Error: Sys.ArgumentNullException: Value cannot be null. Parameter name: conversationId
inexcel-web-16.00.js
. The only solution is to clearing browser history data.I think it is a bug...
Thank you
The text was updated successfully, but these errors were encountered: