871 questions with JavaScript API tags

Sort by: Updated
0 answers

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…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
664 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 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,504 questions
asked 2024-05-02T09:31:53.63+00:00
Hanna Lebedenko 10 Reputation points
edited the question 2024-05-02T10:11:55.8433333+00:00
Hanna Lebedenko 10 Reputation points
0 answers

Launch events not triggering when Outlook add-in is installed from App Source

Hi. We developped an add-in for Outlook. It uses OnMessageRecipientsChanged and OnMessageSend LaunchEvents. It was difficult, but eventually we got both events to trigger and operate correctly when installed via sideloading (using …

Outlook
Outlook
A family of Microsoft email and calendar products.
3,000 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 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,504 questions
asked 2024-04-29T08:29:05.69+00:00
Jordi Salvat i Alabart 0 Reputation points
edited the question 2024-04-30T14:48:28.3533333+00:00
Jordi Salvat i Alabart 0 Reputation points
0 answers

How to retrieve Assigned Courses in LinkedIn Learning API

Hi! We are trying to integrate LinkedIn Learning into our custom made LMS. We are using this documentation to achieve it: https://learn.microsoft.com/en-us/linkedin/learning/overview/ But as far we go, we have a question? How do we retrive the…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
316 questions
asked 2024-04-29T22:36:01.1266667+00:00
Ricardo Jassan 0 Reputation points
edited the question 2024-04-30T04:18:46.32+00:00
Givary-MSFT 28,236 Reputation points Microsoft Employee
0 answers

Is it possible to get paid support from Microsoft for add-in development?

We're developing an Outlook add-in and it's being a nightmare, specially in relation to Launch Events and Outlook Classic. We would be happy to pay for support if that were possible, but we've not found how. Is there a way?

Outlook
Outlook
A family of Microsoft email and calendar products.
3,000 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 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,504 questions
asked 2024-04-29T08:38:04.63+00:00
Jordi Salvat i Alabart 0 Reputation points
edited the question 2024-04-30T01:31:08.44+00:00
Faery Fu-MSFT 17,011 Reputation points Microsoft Vendor
5 answers One of the answers was accepted by the question author.

535 5.7.139 Authentication unsuccessful

We are receiving the following error using the Office 365 SMTP server to send mails: 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Same issue with MFA (+ App password) and without…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,355 questions
asked 2021-08-13T11:12:53.717+00:00
Maurice Wegner 36 Reputation points
commented 2024-04-29T18:00:06.7533333+00:00
David L. Witt 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to get auth token by user email and password?

I want to hit calendar events API in an external app. i.e. https://graph.microsoft.com/v1.0/users/{user-id}/events I have created a new app in Azure AD. Then I got hold of client id, client secret and tenant id. I have my Microsoft email and password. …

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,523 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,000 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,632 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,901 questions
asked 2024-04-23T15:30:49.4666667+00:00
asdfasfawfwfwf 40 Reputation points
accepted 2024-04-29T11:25:21.84+00:00
asdfasfawfwfwf 40 Reputation points
0 answers

I am developing word plugin using Word javascript word Api

I want to set my page size as A4 and margin should be narrow when i will start my word plugin but problem is whenever I am starting my word plugin it sets the page size Letter size and margin is normal I am getting this issue can u help me in this . I…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
664 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 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,504 questions
Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
893 questions
asked 2024-04-26T06:24:01.7933333+00:00
Arjun Chauhan 0 Reputation points
edited the question 2024-04-26T08:09:58.9466667+00:00
Emi Zhang-MSFT 22,011 Reputation points Microsoft Vendor
0 answers

getSeries() does not work in Excel scripts

Hi, I got an issue with using the getSeries() function in excel script. I want to write script to change the color of the pie chart. I did it manually and I recorded it. The below is the code: function main(workbook: ExcelScript.Workbook) { let…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,470 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
asked 2024-04-24T14:06:45.0233333+00:00
Raymond 0 Reputation points
0 answers

Book a call with sales rep

I have to code a functionality where I have to provide the potential customer visiting the web page with an option to book a call with sales representative. The sales rep has MS 365 account while the customer doesn't have MS account. The customer could…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,000 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,632 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,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,901 questions
asked 2024-04-21T12:45:37.8866667+00:00
Dharmender Kumar(WL) 0 Reputation points
commented 2024-04-23T13:13:36.6233333+00:00
Vikram Boorla (Tata Consultancy Services Limi) 240 Reputation points Microsoft Vendor
8 answers

Is there a way to disable the script confirmation popup the appears everytime I click on a button?

I create a simple file and I was trying to automate some processes and I notice that every time I click on the Script button it shows me a popup on the right side that says script run status, its annoying to see that everytime I click on the button. How…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,523 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 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,504 questions
asked 2022-02-11T03:49:23.68+00:00
Wilmer Torrez 16 Reputation points
commented 2024-04-23T08:31:49.82+00:00
Sevenich, Lex 5 Reputation points
0 answers

how to get all work sheet names and cell details

Hello, i have the existing script in my workbook: I would like to get all the worksheet names (instead of specifying as ive done), and include it in the batch details output. Thank you function main(workbook: ExcelScript.Workbook) { const ws =…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,470 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 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,504 questions
asked 2024-04-22T11:20:07.47+00:00
Cooke, Scipio UK/LPL 0 Reputation points
edited the question 2024-04-23T00:31:35.3433333+00:00
Emi Zhang-MSFT 22,011 Reputation points Microsoft Vendor
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.
664 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 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,504 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.
871 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,181 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,491 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.
871 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,356 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,632 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 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.
871 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.
871 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,504 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.
221 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
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,138 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 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,504 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,547 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.
871 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,180 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
871 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,270 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) 56,531 Reputation points