Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Office.Settings only persist on desktop version but not on web version of Excel #5206

Open
1 task
ChienHo opened this issue Dec 18, 2024 · 2 comments
Open
1 task
Assignees
Labels
Area: Excel Issue related to Excel add-ins Status: in backlog Issue is being tracked in the backlog but timeline for resolution is unknown

Comments

@ChienHo
Copy link

ChienHo commented Dec 18, 2024

Provide required information needed to triage your issue

Your Environment

  • Platform [PC desktop, Mac, iOS, Office on the web]: Office on the web
  • Host [Excel, Word, PowerPoint, etc.]: Excel
  • Office version number: Version 2411 Build 16.0.18227.20082
  • Operating System: Windows 11
  • Browser (if using Office on the web): Chrome Version 131.0.6778.140 (Official Build) (64-bit)

Expected behavior

Office.Settings persist when I open the Excel file on the web

Current behavior

Our Add-in Domo (https://appsource.microsoft.com/en-us/product/office/WA200005264) uses Office.Settings to store some data.
Normally we don't encounter this issue. But sometimes some file has the issue that the web version of Excel doesn't read the data that was stored by the PC version.

Steps to reproduce

  1. Download this file OrderBook_Sales_Domo_WorkingGood.xlsx
  2. Open it on Excel desktop
  3. Install our add-in https://appsource.microsoft.com/en-us/product/office/WA200005264
  4. Open the add-in
  5. Open the dev tool and add some simple data. For example Office.context.document.settings.set('mySetting', {a:1,b:2});
  6. Save;) the settings
  7. Go to Excel on the web and open the same file
  8. Open the add-in and devtool
  9. Run Office.context.document.settings.get('mySetting')
  10. See that nothing is returned

Context

Our add-in relies on Office.Settings to store data on the file. Without the ability to store data the add-in is basically useless. While this issue doesn't always happen but some of our customers still encounter it and they demand a fix and explanation.

Useful logs

@microsoft-github-policy-service microsoft-github-policy-service bot added the Area: Excel Issue related to Excel add-ins label Dec 18, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: attention 👋 Waiting on Microsoft to provide feedback label Dec 18, 2024
Copy link
Contributor

Thank you for letting us know about this issue. We will take a look shortly. Thanks.

@RuizhiSunMS RuizhiSunMS added Status: in backlog Issue is being tracked in the backlog but timeline for resolution is unknown and removed Needs: attention 👋 Waiting on Microsoft to provide feedback labels Dec 18, 2024
@RuizhiSunMS
Copy link

Hi @ChienHo, thx for reaching out here. Mark this as #9636028 into our backlog. I will involve our experts to investigate. Will reply here if any update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Excel Issue related to Excel add-ins Status: in backlog Issue is being tracked in the backlog but timeline for resolution is unknown
Projects
None yet
Development

No branches or pull requests

2 participants