863 questions with JavaScript API tags

Sort by: Updated
0 answers

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…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
655 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,459 questions
asked 2024-04-18T04:22:06.82+00:00
Add-in Developer 0 Reputation points
1 answer

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…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,122 questions
asked 2024-04-09T16:24:37.1533333+00:00
Suresh 0 Reputation points
commented 2024-04-16T13:21:36.2366667+00:00
AshokPeddakotla-MSFT 27,126 Reputation points
0 answers

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.…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-04-13T14:35:14.8333333+00:00
José Carlos 886 Reputation points
edited the question 2024-04-15T01:22:27.73+00:00
Tianyu Sun-MSFT 27,106 Reputation points Microsoft Vendor
0 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,520 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-01-31T08:20:42.4466667+00:00
Sahir Khan 10 Reputation points
commented 2024-04-12T11:49:15.1266667+00:00
Pooja Avula 0 Reputation points
0 answers

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…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2023-11-23T11:42:59.71+00:00
Gourango Ghosh 0 Reputation points
commented 2024-04-11T17:55:01.36+00:00
bkwdesign 11 Reputation points
2 answers

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. …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,459 questions
PowerPoint Management
PowerPoint Management
PowerPoint: A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.Management: The act or process of organizing, handling, directing or controlling something.
220 questions
asked 2022-10-26T14:30:09.967+00:00
Luqman-Ud-Din Muhammad 1 Reputation point
commented 2024-04-10T07:03:15.7966667+00:00
Sascha Günther 1 Reputation point
0 answers

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.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-04-09T11:30:16.4033333+00:00
Ranjeet Dhurvanshi, Ajay 0 Reputation points
1 answer

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…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,114 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,459 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,389 questions
asked 2023-03-02T06:57:29.07+00:00
Disha R 5 Reputation points
commented 2024-04-05T11:52:27.38+00:00
Ronan, William (W) 0 Reputation points
0 answers

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…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-04-05T07:04:47.01+00:00
geetarman 26 Reputation points
2 answers

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> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,203 questions
asked 2024-04-04T09:36:50.18+00:00
Dean Everhart 1,496 Reputation points
answered 2024-04-04T15:56:31.7966667+00:00
Bruce (SqlWork.com) 55,041 Reputation points
0 answers

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 …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,459 questions
asked 2024-04-04T03:51:02.8066667+00:00
Nakai Shinji 0 Reputation points
1 answer

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…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,829 questions
asked 2024-03-18T12:07:55.8966667+00:00
Vaibhav Srivastava 0 Reputation points
commented 2024-04-03T23:57:23.8766667+00:00
Grmacjon-MSFT 15,606 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,211 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
120 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-02-15T11:53:09.26+00:00
mattonecz 30 Reputation points
commented 2024-04-03T04:21:39.2333333+00:00
Aishwarya 0 Reputation points
1 answer One of the answers was accepted by the question author.

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: { …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,520 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,873 questions
asked 2024-04-01T19:45:56.2233333+00:00
STEPHEN IGNATIUS 20 Reputation points
commented 2024-04-02T10:40:10.6566667+00:00
STEPHEN IGNATIUS 20 Reputation points
1 answer

validate entra ID token in NodeJS

How to validate an entra ID token in NodeJS

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,389 questions
asked 2024-03-25T13:22:09.7733333+00:00
LATORRE IRANZO, Juan Carlos (J.) 0 Reputation points
commented 2024-04-01T05:02:20.1533333+00:00
Akhilesh 4,615 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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() { …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,578 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-03-28T15:29:44.3033333+00:00
José Carlos 886 Reputation points
commented 2024-03-28T20:29:18.13+00:00
José Carlos 886 Reputation points
0 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,520 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Microsoft Q&A
Microsoft Q&A
Use this tag to share suggestions, feature requests, and bugs with the Microsoft Q&A team. The Microsoft Q&A team will evaluate your feedback on a regular basis and provide updates along the way.
568 questions
asked 2024-03-28T16:23:14.59+00:00
Shibu Loyola Dass N 0 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,520 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-03-06T15:28:53.73+00:00
Oliver Götz 0 Reputation points
commented 2024-03-26T14:58:55.86+00:00
awijekoon 870 Reputation points Microsoft Vendor
0 answers

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…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-03-24T11:21:47.8966667+00:00
José Carlos 886 Reputation points
edited the question 2024-03-25T01:23:26.51+00:00
Tianyu Sun-MSFT 27,106 Reputation points Microsoft Vendor
1 answer

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…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,459 questions
asked 2024-03-19T03:29:31.18+00:00
Bhasker Kumar 5 Reputation points
answered 2024-03-22T08:03:02.8533333+00:00
Sihai Zhong 0 Reputation points