Comments (6)
Hi @tobz1000 Thanks for reporting this issue. Seem like this issue occurs intermittently, right? Could you please share us more details, such as code, which can help us to triage this issue better? Thanks
from office-js.
I'm unable to easily provide a reproduction repo right now. However, assuming you already have a functioning addin with custom functions, you should be able to reproduce by adding a custom function with the code:
export async function bug(x) {
Office.context.ui.displayDialogAsync(
/* add an existing addin page's url here */,
{ displayInIframe: true }
);
}
Adding the "sync" function call fixes the problem, e.g.:
export async function bug(x) {
await new Excel.RequestContext().sync();
Office.context.ui.displayDialogAsync(
/* add an existing addin page's url here */,
{ displayInIframe: true }
);
}
Seem like this issue occurs intermittently, right?
The pattern is very regular: the dialog content fails to load on every other invocation. I.E. the content loads successfully, then fails when next opened, then succeeds, then fails, etc.
from office-js.
Related Issues (20)
- How to use workbox in Excel Addin HOT 3
- Access custom spam reporting features in other menus HOT 1
- In a custom Spam reporting add-in, microsoft defender is not triggered HOT 1
- Custom function "error installing functions" via Admin Managed. Working on Local and Sideload HOT 21
- Get username of current user HOT 3
- Spam addin event.options is an array in classic outlook and is an object/structure in browsers/new look outlook. HOT 1
- Outlook 365 add-in not loading on MAC/OS new Outlook app. HOT 8
- Powerpoint Add-in is not updating automatically without any notification HOT 5
- Custom function handling of Entity Value is broken again HOT 4
- Office.context.roamingSettings.get() size limit HOT 2
- Word close API not working HOT 3
- Excel close is not working HOT 10
- Powperpoint close API HOT 4
- Manifest file sideloads on Excel web but does not sideload on Mac or Windows os HOT 2
- Outlook Add-in - Call to mailbox.getUserIdentityTokenAsync returning undefined token for only some Outlook accounts
- Assistance Needed with Outlook Add-In installing Manifest for older version of Outlook HOT 1
- MIME parts returned by getAsFileAsync() don't include Content-Disposition on Outlook Win32
- Permission under manifest file HOT 5
- Content copy pasted as table not being considered as body text using getAsync(Office.CoercionType.Text) HOT 3
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.