Using Microsoft 365 Defender with GCC-HIGH endpoint
Hello, We are attempting to connect to Microsoft 365 Defender using API requests. We've tried both the device code flow and the client credentials flow. Since our tenant is GCC-HIGH, we have ensured that our requests use the correct resource and scope…
How to implement paste with destination formatting using Office JS API
Hi, I am trying to implement a cross application AddIns functionality where user can select some Excel data and paste in Word. I want to preserve all the source formatting as how the Word allows to do using Paste with keep source formatting option. …
Office Scripts : Chart Data Labels "Values From Cells
I am trying to create an Automate Script in Excel that will generate and format chart. I am getting close, but I can't figure out how to set Data Label values. I want the same functionality as the Format Data Label/Label Options/Vale From Cells as…
Retrieving text from a table in PowerPoint
How can I retrieve text from a table in with the JS API in PowerPoint? The usual ways fails, as it is not a real text field. Thank you for your answer!
Availability of OnMessageReadWithCustomHeader for Web and New Outlook on Windows
Hello, I would like to know when the OnMessageReadWithCustomHeader events will be available for Outlook on the web and the new Outlook for Windows. This feature is essential for our workflow, and we would appreciate any insights on its expected rollout…
Background Color of a Slide
How can I get the background color of a slide or the presentation theme? I cannot find such an option in the documentation. For example, most presentations (including the standard one) have a white bg. But some have a different color, I want to get…

await context.sync not functioning properly for word JS API
I am using the following code- await Word.run(async (context) => { const selectedRange = context.document.getSelection(); selectedRange.load(); await context.sync(); // Insert Content Control const cc =…

JScript issues with Win11 24H2: per-application "JScriptReplacement"?
After Windows11 24H2, there are many compatibility issues with JScript engine as reported in other threads. There is a known workaround in the registry (per system or per user) using the JScriptReplacement=0. But, is there a per-application workaround…
Duplicated outlook custom addin and cannot be used
I am seeing duplicated custom addins on my device (web outlook, new outlook windows) and none of it works. It works for my collegue's account on his laptop but not for mine. What might be the issue? Manage your addin page: I cannot delete the two addins…
How to Retrieve Local and Web Paths of an Excel Workbook from OneDrive using JavaScript API
A OneDrive folder has been synchronized on a local machine, allowing workbooks to be opened directly from this folder. The local and web paths can be obtained using the Info => Copy path and Info => Copy local path options, as highlighted in the…
How to setup test environment to test Outlook js addin on IOS platform?
We have a cloud solution Outlook js Addin which is supported on multiple platforms. We need to do automation testing on Outlook js Addin on IOS platform. We are looking for Automation Testing environment setup to test the addin. For IOS, Is it possible…
How to load jquery autocomplete dropdown box from an external WEB API
Good day everybody: I have an external web api which returns a label, value records needed for a client application app.MapGet("/AsyncAutocompleteErf/{search}", async (IErvenRepository request, string search) => { var data = await…
PowerPoint Content add-in resizing issue during load
We are currently developing a PowerPoint content add-in and have encountered an unusual behavior during presentation mode. When a slide containing the add-in is displayed for the first time, it initially appears at a smaller size before resizing to its…
Word Addin JS RichAPI /General exceptionerror when using getText() for fetching paragraphs
await Word.run(async (context) => { const document = context.document; const body = document.body; const paragraphs = body.paragraphs; paragraphs.load({ $all: true }); let listItems = []; let paragraphText = {}; …
Based on the presence of specific custom properties or keywords, we aim to disable Word's default 'Save,' 'Save As,' and 'Share' options to prevent users from saving or sharing the document locally.
Is it technically possible to achieve the following using Office.js in a Word add-in? We want to add custom properties (such as document IDs and metadata) to Word documents opened via our add-in. Based on the presence of specific custom properties or…

Java script error
Its been more than a week my laptop had this idk what happen, can someone help me?
How to get Json Data from an external WEB API to an JQUery autosearch text box end point
Hi everybody: I have an external minimal Web API that produces a JSON object ( array) as per below. app.MapGet("/AsyncAutocompleteErf/{search}", async (IErvenRepository request, string search) => { var data = await…
Detecting CRLF with Javascript
Hello everyone and thanks for the help in advance. I am working with an Asp.Net Core page that accepts the data into a <textarea> from a QR code scanner. When the scanner sends the data to the page, there is clearly some time of hidden line break…
Can you differentiate between shared mailbox and delegate mailbox using OfficeJS API or Microsoft Graph API?
Is it possible to distinguish between shared mailbox or delegate mailbox using OfficeJS API or Microsoft Graph API?
CRM 2011 Dialog Code and Modern Browser Issues
CRM 2011 uses window.showModalDialog and window.showModelessDialog, which don't work in modern browsers like Chrome and Edge. The code also uses window.parent, which should be updated to window.postMessage. Questions: How to replace…