982 questions with JavaScript API tags

Sort by: Updated
0 answers

Disable autosave via Excel office.js addin

Our Addin performs thousand of cell changes in a loop. The problem is that Excel autosave, especially in Excel 365, kicks in at every cell change and becomes the bottleneck. We could not find ways to disable autosave from office.js API. Any…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 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,891 questions
asked 2021-05-12T06:38:21.337+00:00
Gianluca Bisceglie 6 Reputation points
commented 2024-10-02T08:07:56.3066667+00:00
Oleksandr Reznichenko 0 Reputation points
2 answers

clients are unable to receive any data, resulting in HTTP 5XX errors. Below are the details of the problem and the steps I have taken to resolve it.

I am encountering issues deploying my Node.js application to Azure App Service. While the server starts successfully and connects to the database, clients are unable to receive any data, resulting in HTTP 5XX errors. Below are the details of the problem…

Azure SQL Database
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 questions
asked 2024-09-30T10:19:54.6833333+00:00
בנימין זיידנר 20 Reputation points
commented 2024-10-01T20:34:48.25+00:00
Sai Raghunadh M 310 Reputation points Microsoft Vendor
1 answer

Framework Migration Recommendation for Office Add-ins

Hi Team, I currently have Excel, Word, and PowerPoint add-ins built using pure JavaScript and a .NET Core API for the backend. I’m looking to migrate my add-ins to a framework, and after reading various articles, I’m confused about whether to use React…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,575 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 questions
asked 2024-09-30T06:42:22.8866667+00:00
Chetan Kotwal 0 Reputation points
commented 2024-10-01T07:20:19.2333333+00:00
Chetan Kotwal 0 Reputation points
0 answers

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…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,882 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 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,891 questions
asked 2024-09-30T20:07:14.6433333+00:00
Tim Smith 0 Reputation points
edited the question 2024-10-01T06:03:06.7866667+00:00
Emi Zhang-MSFT 24,986 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.
982 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,624 questions
asked 2021-08-13T11:12:53.717+00:00
Maurice Wegner 41 Reputation points
commented 2024-09-30T08:41:56.6666667+00:00
nikos chatzinicolaou 0 Reputation points
2 answers

How to fix deployment error "Error occurred in deployment step 'Add Solution'" on Visual Studio

Hi, I'm working on SharePoint 2010 application code on Visual Studio 2010. When I Clean, build and deploy solution getting error since yesterday like: "Error occurred in deployment step 'Add Solution': Failed to call GetTypes on assembly…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,480 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,675 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 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,902 questions
asked 2024-09-27T13:40:29.97+00:00
VG 0 Reputation points
answered 2024-09-30T03:10:07.7666667+00:00
Yanli Jiang - MSFT 26,016 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

azure node js html

I uploaded Node.js and HTML software, I defined an environment variable, it was local and I uploaded it to azure including a connection to the db. Actually I can't get data to the browser even though I get a message that it is connected, can someone help…

Azure SQL Database
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 questions
asked 2024-09-29T12:39:33.1433333+00:00
בנימין זיידנר 20 Reputation points
accepted 2024-09-29T15:03:06.96+00:00
בנימין זיידנר 20 Reputation points
2 answers

Javascript not popping out message box on button click in Blazor 8.0

Test.razor @page "/test" @inject IJSRuntime JsRuntime <h3>Test JavaScript Interop</h3> <button type="button" @onclick="TestJsInterop">Click Me</button> @code { private async Task TestJsInterop() { …

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,575 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 questions
asked 2024-09-24T21:53:27.6+00:00
ojiraye sigbenu 0 Reputation points
commented 2024-09-28T16:10:24.81+00:00
Bruce (SqlWork.com) 64,826 Reputation points
1 answer

Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException

I'm encountering an error: Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' when trying to access the API at https://<sharepoint…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,551 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,675 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 questions
asked 2024-08-28T12:45:50.7666667+00:00
Hemant Ashok 15 Reputation points
commented 2024-09-24T21:54:16.9466667+00:00
LeelaRajeshSayana-MSFT 15,076 Reputation points Microsoft Employee
1 answer

Button (not working) behaves differently after windows 11 upgrade

I have an application that consists of a login button which was working fine on edge in Windows 10, but after upgrading it to windows 11 the buttons seems not clickable. the code have a line document.getElementById("link").disabled=true which…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,311 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,563 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,583 questions
asked 2024-09-24T10:24:02.41+00:00
Rjeyabalaji12 0 Reputation points
answered 2024-09-24T14:08:46.9166667+00:00
Daisy Zhou 23,346 Reputation points Microsoft Vendor
0 answers

Is there support for creating .rtf files using the Word JS API?

I am developing a Word add-in and it doesn't look like there is support in the Word JS API to create an .rtf file and open it like you could in a COM add-in. What I am trying to do is use the contents of an .rtf file, create a new document from that, and…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
840 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 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,891 questions
asked 2024-09-23T19:48:51.27+00:00
G6574567 0 Reputation points
0 answers

How Can I call RuntimeHostConfigurationOption OnStartup of a WPF (C#) application in .NET 8?

Hi there, I have a WPF application where the UI is a very important thing and heart of the application. Due to some UI elements requirements I have some custom RuntimeHostConfigurationOption which I put in my WPF application through the *.csproj file. I…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,768 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 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,902 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
808 questions
asked 2024-09-11T21:41:55.1+00:00
MERUN KUMAR MAITY 596 Reputation points
commented 2024-09-23T09:16:41.3433333+00:00
Hongrui Yu-MSFT 1,765 Reputation points Microsoft Vendor
3 answers

how to return value from popup table to the C# asp.net code

Hi, On clicking a button on UI, we have to show a dialog or Popup Table on the center of the screen asking user to enter integer value of area(Mandatory) when one condition is met, then user clicks Ok(which has captureAreaVal() function in my script as…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,480 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 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,902 questions
asked 2024-08-29T14:32:28.9533333+00:00
VG 0 Reputation points
commented 2024-09-20T02:31:15.5+00:00
Lan Huang-MSFT 29,331 Reputation points Microsoft Vendor
10 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.
6,791 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 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,891 questions
asked 2022-02-11T03:49:23.68+00:00
Wilmer Torrez 16 Reputation points
answered 2024-09-19T16:49:40.9466667+00:00
CCECIreland 0 Reputation points
1 answer One of the answers was accepted by the question author.

WebSocket Connection Error 1006 in Azure OpenAI Speech to Speech Chat Example

The .env file has been created, the application has been registered, and the role "Cognitive Services OpenAI Contributor" has been assigned in the resource group. The example in…

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,705 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,024 questions
asked 2024-09-15T13:29:19.0033333+00:00
郭銍恩 25 Reputation points
accepted 2024-09-18T07:52:06.66+00:00
郭銍恩 25 Reputation points
3 answers

Custom XML support PowerPoint via Office JS

We are building Office JS taskpane addin for (Word, Excel, PowerPoint) and we are heavily relying on the data stored into the document (custom XML). In Word and Excel there are API's to access that information, but it seems that in PowerPoint the support…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 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,891 questions
asked 2022-04-21T12:53:19.76+00:00
Miikka Laakso 41 Reputation points
answered 2024-09-17T19:54:07.7266667+00:00
Jesse Harvey 0 Reputation points Microsoft Employee
0 answers

Excel Add-In: API Set 1.16 Not Available When Using Local Office.js Version

I'm developing an Excel Add-In using the npm version of the JavaScript API and I'm encountering an issue with the latest Excel API set (1.16) functionality. I’m trying to access the valueAsJson property from a RangeObject, which is part of Excel API…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,882 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 questions
asked 2024-09-13T06:56:33.23+00:00
Maximilian Sieber 0 Reputation points
0 answers

Excel Add-In: API Set 1.16 Not Available When Using Local Office.js Version

I'm developing an Excel Add-In using the npm version of the JavaScript API and I'm encountering an issue with the latest Excel API set (1.16) functionality. Problem: I’m trying to access the valueAsJson property from a RangeObject, which is part of Excel…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,882 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 questions
asked 2024-09-13T06:51:35.7666667+00:00
Maximilian Sieber 0 Reputation points
2 answers

What challenges did you face during the development process?

Hi, Myrtle here. I'm a computer science student, and I thought about converting this website [https://sublimationhome.com/] into PHP, site is built on WordPress CMS. but I'm not sure it's the right decision or not. I'd like to get some advice from…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 questions
asked 2022-09-14T11:10:30.877+00:00
Myrtle Pierce 1 Reputation point
edited the question 2024-09-13T05:11:27.6733333+00:00
TP 93,916 Reputation points
0 answers

Developing an Excel Add-in with a Timer that Accounts for Visibility Changes

I am creating an Excel add-in using React and Office.js that tracks the amount of time a user spends working in an Excel sheet. I want the timer to pause when the Excel window is minimized or when the user switches to another window or tab, but it…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
982 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,891 questions
asked 2024-09-12T11:18:02.64+00:00
Simran Sharma 0 Reputation points