918 questions with JavaScript API tags

Sort by: Updated
0 answers

Trying to search for column by column value in Office Scripts

Hi everyone, I am trying to create an office script that will calculate the percentage of Y's and Y+N's in a certain column, and searching for the column name in row 4 rather than hard-coding the index. Below is my code, but I keep getting the issue…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,639 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 questions
asked 2024-06-27T16:56:38.69+00:00
Lai, Ian 20 Reputation points
edited the question 2024-06-28T05:48:28.9066667+00:00
Emi Zhang-MSFT 23,271 Reputation points Microsoft Vendor
0 answers

Disable Pop-up "WebView Stop On Load" for Outlook Add-In

I am hosting an Outlook add-in, and the users are prompted with this pop-up when starting the add-in. "Webview Stop on Load: To debug the webview, attach VS Code to the webview instance using the Microsoft Debugger for Edge extension, and click OK…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,177 questions
Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,425 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,287 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 questions
asked 2024-06-27T13:01:59.5833333+00:00
Marc 0 Reputation points
commented 2024-06-28T05:26:04.73+00:00
SokiGuo-MSFT 25,106 Reputation points Microsoft Vendor
0 answers

How to get list of users have viewed the email and not viewed the email and recieved the mail with metrics using API in Azure email communication service

Overview: We are currently utilizing Azure Email Service for our email campaigns and communications. To enhance our analytics and reporting capabilities, we urgently require an API to access detailed metrics on the emails sent through Azure Email…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 questions
asked 2024-06-27T14:33:14.31+00:00
Gopi Vetrivel 0 Reputation points
0 answers

Scripts inside local html is not working with webview Eval in UWP Xamarin forms

Tried to update the html elements using script with webview Eval, its working fine in android and iOS but it is not working with UWP Xamarin forms. 1.webview.Eval to update the script : Script inside local html :

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,316 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,541 questions
asked 2024-06-13T05:22:24.0766667+00:00
Keerthana Sathiyanathan 0 Reputation points
commented 2024-06-25T07:12:10.2933333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,206 Reputation points Microsoft Vendor
1 answer

error code 500121 on my school account?

no matter what i do cannot get my school account logged in on my auth app. have googled and tried every video error code 500121 is all error i get.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,437 questions
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,924 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,450 questions
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365: Microsoft 365 Copilot refers collectively to Copilot experiences within Microsoft 365 applications.Development: The process of researching, productizing, and refining new or existing technologies.
83 questions
asked 2024-06-24T18:33:20.09+00:00
estelle damster 5 Reputation points
commented 2024-06-25T06:10:19.91+00:00
JimmyYang-MSFT 50,036 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

System.NullReferenceException: 'Object reference not set to an instance of an object.' model was null

model { public int VehicleID { get; set; } public int VehicleTypeID { get; set; } public string Brand { get; set; } public string Model { get; set; } public int Capacity { get; set; } = 0; public bool IsActive { get; set; } } controller //…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,553 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,321 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,803 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,541 questions
asked 2024-06-21T09:37:52.91+00:00
Naveinthiran 20 Reputation points
commented 2024-06-24T02:11:54.4033333+00:00
Naveinthiran 20 Reputation points
0 answers

Xrm.WebApi.retrieveMultipleRecords return error

Hello, How can it be possible that the function rm.WebApi.retrieveMultipleRecords("teammembership", query) no longer works and throws an error when executed. Execution in Forms Model Driven APP. The function previously worked without any…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 questions
asked 2024-06-21T10:38:29.9466667+00:00
Marco Krings 0 Reputation points
0 answers

How to insert an embedded pdf into a content control using officejs

I see you can insert a docx from insertFileFromBase64. Is it possible to insert an embedded pdf (an object) into a content control?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 questions
asked 2024-06-19T03:59:14.11+00:00
Derek Merkle 5 Reputation points
1 answer

How can we validate azure authtoken with nodejs

I want to validate a token that is generated from Azure and pass it to my application, and then I need to validate that token with Node JS. Now, when I am validating an Azure token, it gives an invalid signature every time. When I decode the token, I get…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,173 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,240 questions
asked 2024-01-22T11:18:24.6533333+00:00
Sakshi Tiwari 0 Reputation points
commented 2024-06-18T13:38:08.4533333+00:00
pavan kumar 5 Reputation points
0 answers

Help with Excel (Online) script that creates a table of contents, but only for visible sheets

Hello. I want to use the Excel online script found here: https://learn.microsoft.com/en-us/office/dev/scripts/resources/samples/table-of-contents However I'd like for it to only work for visible sheets within the workbook. I've tried to do this myself,…

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,425 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,639 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 questions
asked 2024-06-14T06:59:45.0566667+00:00
Im.DavidJ 0 Reputation points
edited the question 2024-06-17T00:33:56.09+00:00
Emi Zhang-MSFT 23,271 Reputation points Microsoft Vendor
0 answers

Unable to Deploy Add-in in Admin Center After Adding SSO Code

I created a Word add-in that requires SSO for necessary permissions. When I tested it in Word online, I successfully added my manifest without errors, and the functions worked correctly. However, upon uploading my manifest file to the Microsoft 365 Admin…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 questions
asked 2024-06-07T14:12:52.51+00:00
s w 100 Reputation points
edited the question 2024-06-10T09:35:59.0733333+00:00
Givary-MSFT 29,831 Reputation points Microsoft Employee
0 answers

Unable to Deploy Add-in in Admin Center After Adding SSO Code

I created a Word add-in that requires SSO for necessary permissions. When I tested it in Word online, I successfully added my manifest without errors, and the functions worked correctly. However, when I attempted to upload my manifest file to the…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 questions
asked 2024-06-07T14:03:02.2033333+00:00
s w 100 Reputation points
edited the question 2024-06-10T09:35:28.6333333+00:00
Givary-MSFT 29,831 Reputation points Microsoft Employee
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.
918 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.
324 questions
asked 2024-04-29T22:36:01.1266667+00:00
Ricardo Jassan 5 Reputation points
commented 2024-06-06T18:35:51.7366667+00:00
Boezeman, Matthew 0 Reputation points
1 answer

How do I force Java links to open exclusivly in one instance (workgroup) of edge, while still allowing non-java related links to open in a separate instance of edge

Hi there, our company uses a Java program (Jet) that is being built stage by stage to open in edge instead of Java. As it is being built some asspects (links) of the Java program still open in Java, while the "modernized" links open to Edge.…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,216 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 questions
asked 2024-06-05T14:23:29.4733333+00:00
Miller, Amber 0 Reputation points
answered 2024-06-06T08:00:25.4266667+00:00
Jinxin Wang (Shanghai Wicresoft Co Ltd) 1,225 Reputation points Microsoft Vendor
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,287 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,173 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,240 questions
asked 2024-04-21T12:45:37.8866667+00:00
Dharmender Kumar(WL) 0 Reputation points
edited the question 2024-06-04T05:58:03.5933333+00:00
ChetanSharmamsft 1,026 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to fix 405 error in node js and express js application when form action post method request

I have a node js with express js application making a post api request from index.html routing to the index.js where the api client is requested i.e. /send-sms. It works on local dev but gets a 405 error after deploying to azure app service. Not sure if…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,240 questions
asked 2023-08-02T14:36:12.7033333+00:00
Scott Riches 20 Reputation points
edited a comment 2024-06-03T09:50:32.5333333+00:00
Salvatore Gallo 0 Reputation points
0 answers

Alternative way for the issue "Permissions Policy Violation: Microphone Not Allowed in Outlook Add-In"

Our team has encountered an issue with enabling the microphone while developing  outlook add in that has speech recognition as main feature. It appears that a recent update to Outlook on the web is blocking the usage of the microphone within extensions.…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,287 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 questions
asked 2024-05-31T13:36:43.1133333+00:00
Shephin Philip 0 Reputation points
edited the question 2024-06-03T01:21:02.3233333+00:00
Tianyu Sun-MSFT 28,846 Reputation points Microsoft Vendor
1 answer

How to remove row on client side by jQuery based on key auditor id and budget year?

I work on jQuery with asp.net . I face issue I can't remove row from grid view based on key AUD_RECID and P_BUDGET_YEAR . AUD_RECID with different P_BUDGET_YEAR so I need key will be both from AUD_RECID and P_BUDGET_YEAR SO I will have unique Value when…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,388 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 questions
asked 2024-05-21T23:41:45.2266667+00:00
Ahmed Salah 0 Reputation points
commented 2024-05-31T09:07:33.4533333+00:00
Lan Huang-MSFT 28,126 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to get GRAPH API token in office.js (got 401 unauthorized)

I set up my Azure app registration application following this document: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-on-behalf-of-flow I have my Web URI set as: https://localhost:xxxx/Application (client) ID. I added my custom page…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,173 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 questions
asked 2024-05-28T16:29:48.7533333+00:00
S W 20 Reputation points
accepted 2024-05-30T15:47:23.6466667+00:00
S W 20 Reputation points
0 answers

Can the Excel Image function accept a "data" url as the source?

Hello, I'm currently developing a Javascript add-in for Excel. During the development process, I have used both the addImage function to include images and the WebImage data type. The current interaction of the code is using the WebImage data type. The…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,639 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 questions
asked 2024-05-27T09:20:56.3166667+00:00
Johnny Spicer 0 Reputation points
edited the question 2024-05-28T01:30:27.57+00:00
Jiajing Hua-MFST 7,065 Reputation points Microsoft Vendor