Comments (12)
@DmitryKostochko I have followed your repro steps for a newer (17505.20000) and older (17126.20190) build of Outlook and I'm not able to reproduce this issue.
Would you be able to provide a video of the issue?
from office-js.
I have just reproduced the issue with Version 2402 (Build 17328.20162).
To what email address should I send the video?
from office-js.
@DmitryKostochko are you able to post the video on this thread?
Also, does this issue reproduce in more recent builds?
from office-js.
@ndeleuze, please have a look:
roamingSettings-set-saveAsync-get.mp4
If you have any questions or need more information, feel free to ask me.
from office-js.
@DmitryKostochko thank you for the video.
I'm still unable to reproduce this issue. (I also tried to repro this on build 17328.20184 with no luck)
Just to confirm, are you able to retrieve the roaming setting when the taskpane is not first closed?
from office-js.
Hm, I'm also not able to repro. I tried the exact steps, in the inspect debugger as in your video. Is it possible there is something else your add-in is doing in OnReady/Initialize that is affecting settings? (I do know this is probably unlikely).
can you try in Script Lab (downloadable from the store), and see if the problem repros with this add-in as well?
What happens if you immediately get the value without refreshing or saving?
Is it possible for you to step into roamingSettings.set ? To see if anything is failing? (it might be helpful you use office.debug.js instead of office.js)
does Save return any errors?
Office.context.roamingSettings.saveAsync(function (asyncResult) {
if (asyncResult.status == "failed") {
console.log("Action failed with error: " + asyncResult.error.message);
}
else {
console.log("Settings saved with status: " + asyncResult.status);
}
});
from office-js.
@ndeleuze, closing and opening the taskpane is required because of:
The persisted changes will not be available until the task pane (or item in the case of UI-less add-ins) is closed and reopened.
https://learn.microsoft.com/en-us/javascript/api/outlook/office.roamingsettings?view=outlook-js-preview#remarks
from office-js.
Hm, I'm also not able to repro. I tried the exact steps, in the inspect debugger as in your video.
Could you please provide a video of what you are doing? This could help me spot the difference between yours steps and mine.
can you try in Script Lab (downloadable from the store), and see if the problem repros with this add-in as well?
The bug is reproducible with Script Lab.
What happens if you immediately get the value without refreshing or saving?
The get method works in this case.
does Save return any errors?
I don't see any errors.
If you have any questions or need more information, please let me know.
from office-js.
@DmitryKostochko here is my attempt at reproducing this issue:
Recording.2024-04-10.174345.mp4
This is with build 16.0.17328.20282, but I am still not able to reproduce your issue. Please let me know if you find any discrepancies between your repro and mine.
Are you experiencing this issue on new builds?
from office-js.
@ndeleuze, thank you for the video, your steps seem correct.
But I have just reproduced the issue with 16.0.17425.20124 32-bit version.
What Outlook bitness do you have installed?
May it be that you have another Outlook window with the "Script Lab for Outlook" pane open? Please try to restart your Outlook and then execute the Office.context.roamingSettings.get method.
from office-js.
@DmitryKostochko I unfortunately do not have a 32-bit version that I can test against, but I am certain that I do not have another Script Lab pane open when attempting the repro.
What is the business impact of this issue? Number of users impacted?
from office-js.
@ndeleuze I just tested the issue with the 64-bit version and can confirm that it is reproducible.
Version 2404 (Build 17531.20120 Click-to-Run)
What is the business impact of this issue? Number of users impacted?
This bug seriously affects our users.
from office-js.
Related Issues (20)
- Unable to publish manifest file - support URL is not accessible HOT 10
- I have developed an outlook add-in. It is working fine in web version. But not working in desktop outlook app. HOT 17
- Excel add-in not updating for some clients HOT 7
- getUserIdentityTokenAsync returning failed "An internal server error" HOT 11
- insertFileFromBase64 causes accumulation of styles HOT 6
- Failed to install or load custom functions addin On microsoft 365 Web Production HOT 5
- Excel Add-in online - function wizard function arguments broken HOT 4
- Office.context.document.getFileAsync return corrupted file
- Excel Taskpane Add-in Iframe Unable to load blob URLs HOT 2
- Support drag and drop on OfficeJS addins Outlook HOT 10
- After publishing a new version on the partner center, user's Excel application crashes when attempting to update the add in HOT 8
- Office.context.mailbox.item.internetMessageId is empty HOT 13
- Refresh the docProperty field in Ms Word onlline document HOT 10
- How to upload powerpoint office addin manifest.xml in the Admin Center? HOT 9
- MS Powerpoint Addin : Insert Slide from Base 64 Powerpoint addin API does not carry over the original formatting of the slide #2780 HOT 3
- Outlook Add-in will not open in new Outlook for Windows HOT 1
- Office 365 on the web Excel Add-in does not function correctly HOT 8
- Office.context.mailbox.displayNewMessageFormAsync not adding attachment in read mode HOT 4
- Not able to control New Outlook updates. HOT 1
- Not able to disable/reset suggested contacts. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js.