How to share javascript objects (instances) between TaskPane React App and function called from Word?
We are developing a Word Addin using React for the TaskPane which uses Zustand as the state management system. We have been banging our heads against the wall for 2 days now to figure out how to let an action performed by the user (clicking a menu item…
Recommended approach to adding web pane to Excel worksheet
We are using the Javascript API to write an Excel add-in. The app runs well in the task pane. We are making good headway on that, but there is a specific feature we want to support that is challenging to find an answer for: How can we utilize the…
blazor application can not run at offline specfically in firefox browser
I had devlop the blazorWASM application with indexedDb. I had implement service worker for offline application WIth PWA also. Offline working successfully in chrome and edge browser but firefox not working i got the error while debugging that error is…
In firefox browser service worker stooped sunndenly after serve the resources to the client
I have develop blazor WASM application for offline thats why I had implement the service worker to intercept the request then serve the resource to the client using cache. Service worker successfully on chrome and edge but in firebox once application…
How to keep add-in panel open
I have developed an outlook add-in and I need to keep it open for some use cases. How can I force it to keep open? I have a magic link login flow. Once a user opens the add-in for the first time they see a login page and after filling their email…
![](https://techprofile.blob.core.windows.net/images/xgCloIrQvUeqYfAqQE8a0A.png?8D8342)
$.ajax patch method and .net 8 api action
Error Response Test - "{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"$":["The JSON…
How to make loader image show on every page when user click on any task
I have a webform application with master page, I want when user initiate any task in the website the loader image will show with modal screen untill the task is finished. below is my master page code. <script type="text/javascript"…
Unable to List Drive Items After Connecting to Microsoft Drive
Hi everyone, I'm working on a web app and attempting to integrate Microsoft Drive for the first time. I've added the following code in my backend to authenticate: const MicrosoftStrategy = require('passport-microsoft').Strategy; passport.use( new…
![](https://techprofile.blob.core.windows.net/images/xgCloIrQvUeqYfAqQE8a0A.png?8D8342)
Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
Hi, I am getting an error as Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) while uploading a file in Document library via webpart by JSOM. Below is the Code that I am using to upload file in…
How do i import ics file in outlook calendar from Javascript (NodeJS) code?
I have to import ics file in outlook calender, from my javascript code.
Microsoft programmability model that
libraries to access data on Microsoft 365 services.
![](https://techprofile.blob.core.windows.net/images/U1Jln6XVxUOXS5Rme1kflg.png?8DC69F)
How do I change the embed media properties (size, text wrapping, border, and so on) in CKEditor 5 (checking for script tag)?
Hi! I have an implementation of CKEditor fields in my project in the form: DecoupledEditor .create( document.querySelector( '#editor' ), { extraPlugins: [ MyCustomUploadAdapterPlugin ], removePlugins: […
Why are some of the specified buttons missing from the CKEditor 5 toolbar?
Hi! I have an implementation of DecoupledEditor CKEditor 5 in my project: <script src="https://cdn.ckeditor.com/ckeditor5/38.1.1/decoupled-document/ckeditor.js"></script> DecoupledEditor .create(…
Why do the list of special-characters and the source-editing button not work in the official CKEditor 5 build?
Hi! I made a build of CKEditor 5 based on Decoupled document on the official website: https://ckeditor.com/ckeditor-5/online-builder/ But 2 buttons do not work in this build: Special characters (empty list) and Source. The build…
Issue with webView2 control not sending messages until form has been resized
Hello, I've written an app that generates a SVG graphic in a second form. That form contains a webView2 control. I was not able to ever get a message to the webMessageReceived block until I switched from a window.external.notify command to a…
I've tried to show a image in my .js file in win11, but the ''document' is undefined' problem occurs.
Script: Documents\AuthRule.js Line: 20 Char: 1 Error: 'document is undefined' Code: 800A1391 Source: Microsoft JScript runtime error. I've tried to make a javascript that shows a picture and creates some function, one of them being created when a…
insertFileFromBase64 causes accumulation of styles
We're working on an add-in for Word that involves opening multiple documents. However, we've encountered an issue: when we use context.document.insertFileFromBase64 to open several documents, the styles from these base64 documents are being…
macOS Excel v16.85 truncates string size to 126 characters for custom property values
In the latest release of Excel M365 for macOS (v16.85) we are experiencing an issue where when we use the Excel Javascript API via an add-in application to retrieve custom property values, where each custom property is truncated to 126 characters. We…
How can I use the query string parameters on SourceLocation
I want to use query string parameters on SourceLocation on a Office add in(Word add in). I can add the query string parameters inside the manifest.xml file. How can I read them inside taskpane.html file The query string parameters I used are stripped and…
How to Open MS Word or Excel in Browser
How to Open MS Word or Excel in Browser in Java Script In Base64 or Binary Data