Read/write JSON file inside Word add-in
I want to read(if possible write as well) data from JSON file. I have a React based Word add-in. The JSON file can be included in the package folder root(same location as manifest.xml). Is there any JavaScript API to read/write file data ? Also is it…
Migrating from OpenAI to Azure Open AI (Javascript)
Hi, I've been using OpenAI with javascript for an app for a few months now without any issues. My use case involves using the function calling parameters to specify a schema for a specific JSON output. I've now migrated to using an Azure OpenAI…
Problems using select in javascript
Hi friends, I have the following problem. I have 8 selects within a div, where each select has two values: 0 and 1. When I click for the first time on any select to select 0 or 1, when I click on the select arrow, it already considers that I selected 0.…
connecting oneDrive file picker v8 using JavaScript
i am trying to connect OneDrive for my client on website where they can use their OneDrive to select files to upload. oneDrive file picker connected successfully but showing empty picker like this when i check console there are some errors showing…
Exception when running QUnit test script in Visual Studio 2022
I'm encountering an issue when I try to run a QUnit test script for a JavaScript file in Visual Studio 2022. The error message thrown reads: System.ArgumentException: The specified argument cannot be empty. Parameter name: filters I've included the…
How to Access Core Properties / Custom Properties in PowerPoint Office Addin Using Javascript API
I want to access a PowerPoint document's core and custom properties in PowerPoint Office Addin. I can access these properties using Javascript API in Word and Excel Office Addins. …
Facing challenges while capturing Power BI data using Power BI-embedded
We are facing challenges while capturing Power BI data with radio button silcer/filter using Power BI-embedded.
How to fix Tracking Prevention blocked access to storage for https://appsforoffice.microsoft.com/lib/1.1/hosted/en-us/outlook_strings.js.
Hello, I have added the following code for connection to dynamics365 in javascript for outlook addin: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>My Web…
When getting the file data for an excel document using getFileAsync the data is corrupt
I am using the code in the following link https://learn.microsoft.com/en-us/javascript/api/office/office.filetype?view=common-js-preview to get the contents of a file to send it to an web service to analyse it. However, the data that is created is…
Int property sorting
How do I get an int property to sort "normally?" 0, 1, 2 ,3...9, 10, 11... instead of the sort that is pictured in the first number below (below). current sort in the view is being sorted by the following... <script> …
In my Excel Web (Taskpane) Add-in, the title and "Get support" in the personality menu sometimes get grayed out
Hi, I'm developing an Excel Add-in (Office Add-ins platform, not VTSO/COM), which runs a taskpane. The add-in sometimes encounters an issue on the personality menu described below. When the personality menu works well, it presents GoodCase.png, where …
Getting status code error 403 while deploying the java code to Azure server
Getting the below error While deploying java code to azure server. Status code 403, "{"error":{"code":"AuthorizationFailed","message":"The client 'azure_function@vlsrivaashr.com' with object id…
Azure Functions v4 signalR connection
Hi. I am migrating our app from azure functions v3 to v4. I need to migrate the signalR negotiate trigger. In the documentation there is described the old way for v3, i need to know how to migrate it to…
Patch request not updating data
I am trying to send a patch request and update my calendar using this API call in my code. const calendarsResponse = await axios.patch( `https://graph.microsoft.com/v1.0/me/calendars/${calendarId}`, updatedCalendarData, { headers: { …
validate entra ID token in NodeJS
How to validate an entra ID token in NodeJS
Data access outside of function - Javascript
Hi I have the following code in javascript: var dadosJSON = ''; async function lerArquivoJSON(caminhoDoArquivo) { const resposta = await fetch(caminhoDoArquivo); const dados = await resposta.json(); return dados; } async function main() { …
Fetch Microsoft forms data inside the React app
I'm trying to integrate an microsoft inside the react application. I was able to embed inside the react application by following the https://support.microsoft.com/en-us/office/send-a-form-and-collect-responses-2eaf3294-0cff-492d-884d-a1dee909e845. Now…
How to solve 401 errors in order to access outlook calendars with @azure/identity?
Hi, I have been trying for hours now to build a next.js app that reads events from a shared outlook calendar. For some reason I cannot explain I always receive: GraphError at GraphErrorHandler.eval…
Disable buttons in Javascript
I have a small program, which I made for my grandson, which shows an image of an animal, and the person has to guess the animal's name by clicking on the letters that make up the animal's name. These letters are buttons. What is happening? When the…
Office Addin Excel - React router [office-js-dev].
Is there a possibility to get a working sample which demonstrates how to use Nested Submenus in react based excel office addin , Using react router to move between differn pages/react components for differnt submenue items link to submenue items…