Closed ricardoleonhart closed 4 days ago
Hey @ricardoleonhart ,
Is this issue only happening the first time an add-in tries to set Custom properties in a new session? More specifically, can you confirm if #4628 is the same as the issue that you are reporting?
Hi @mobisw-msft , yes that seems to be the same issue. Thanks!
Marking as duplicate, please refer to the https://github.com/OfficeDev/office-js/issues/4628 for backlog updates.
This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!
After my add-in is loaded, it will immediately load the custom properties, set a property and save it. If I open New Outlook for Windows and launch my add-in, the saving part will fail.
Your Environment
Additional info:
Expected behavior
Saving to custom properties is successfull upon initialization of add-in and custom properties.
Current behavior
Saving to custom properties is failing after initialization of custom properties.
Steps to reproduce
Add these code to
src\taskpane\index.tsx
at line 15 (immediately afterOffice.onReady
pnpm build
)olk.exe --devtools
Context
My add-in needs to initialize and store the some data immediately in a persistent storage after it is loaded. AFAIK, custom properties is the best for this. This issue will cause my add-in to unable to perform its tasks because the initial data are not being set properly.
Useful logs
Network log of the issue
Console logs