975 questions with JavaScript API tags

Sort by: Updated
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,648 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 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,861 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
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,459 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 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,858 questions
asked 2024-08-29T14:32:28.9533333+00:00
VG 0 Reputation points
commented 2024-09-19T12:57:17.04+00:00
VG 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,762 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 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,858 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.
805 questions
asked 2024-09-11T21:41:55.1+00:00
MERUN KUMAR MAITY 576 Reputation points
commented 2024-09-18T13:37:59.9066667+00:00
MERUN KUMAR MAITY 576 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,684 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,945 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.
975 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,861 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,842 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 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,842 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 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.
975 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 90,636 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.
975 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,861 questions
asked 2024-09-12T11:18:02.64+00:00
Simran Sharma 0 Reputation points
1 answer

Issues with Xrm.WebApi.retrieveMultipleRecords

I am trying to display subgrid based on the value found in the form field. for that I am using below code but unable to execute Xrm.WebApi.retrieveMultipleRecords code: function changeSubgridView(context) { var formContext =…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 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.
124 questions
Dynamics 365 Training
Dynamics 365 Training
Dynamics 365: A Microsoft cloud-based business platform that provides customer relationship management and enterprise resource planning solutions.Training: Instruction to develop new skills.
124 questions
Microsoft Power Platform Training
Microsoft Power Platform Training
Microsoft Power Platform: An integrated set of Microsoft business intelligence services.Training: Instruction to develop new skills.
339 questions
asked 2024-08-25T16:53:46.1066667+00:00
Hexcode 0 Reputation points
answered 2024-09-12T10:21:38.5966667+00:00
Vivek Bhakta MSFT 20 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Data from Microsoft Entra to Web Page

Hello, I created an application on Microsoft Entra and granted it the necessary permissions. I would like to display users on a web page with their first name, last name, email addresses, etc. I have all the access of the application (access token,…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,948 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,851 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,449 questions
asked 2024-08-21T15:44:05.6466667+00:00
MOUSSAOUI Mohammed 40 Reputation points
edited a comment 2024-09-12T05:51:15.84+00:00
AllenXu-MSFT 19,641 Reputation points Microsoft Vendor
0 answers

host script error.. can't find a file

A few days ago I started getting this error when I turned on my PC. I need help

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 questions
asked 2024-09-11T19:39:31.6466667+00:00
Mochi ᓚᘏᗢ 0 Reputation points
edited the question 2024-09-11T19:40:14.7633333+00:00
Mochi ᓚᘏᗢ 0 Reputation points
3 answers

Access SharePoint Sites/files using JavaScript and MS Graph API

Hello everyone, I created an application on SharePoint and gave it the necessary permissions to access a .csv file stored on my SharePoint. With Postman, I can access the file using the access token I generated : but with JavaScript, I get a error :…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,882 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,948 questions
asked 2024-08-21T14:59:12.2533333+00:00
MOUSSAOUI Mohammed 40 Reputation points
edited the question 2024-09-11T09:51:12.03+00:00
Yanli Jiang - MSFT 25,621 Reputation points Microsoft Vendor
1 answer

JavaScript not working with ssrs report in edge

I working with an ssrs document and have images with a go to url that I inserted a JavaScript javascrpt:void(window.open http:\ the command completed works on a url command line within edge but if I click on the item nothing happens with the ssrs…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,916 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 questions
asked 2024-08-20T03:26:06.5466667+00:00
Mark Tash 20 Reputation points
edited the question 2024-09-10T02:41:55.63+00:00
Yu Zhou-MSFT 13,126 Reputation points Microsoft Vendor
0 answers

Office.context.mailbox.item.getSharedProperties returning Unexpected token error

When opening an email in a shared mailbox, I want to use getSharedPropertiesAsync. However, this only returns an Uncaught SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON if…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,724 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,882 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 questions
asked 2024-09-06T13:56:01.06+00:00
Thomas Dam 5 Reputation points
0 answers

How to use nodejs to update tags on a virtual machine

I am attempting to use the virtualMachines.beginUpdateAndWait function to change an existing tag applied to a virtual machine, no matter what i do it does not seem to update. This is my code const updatedTag = `{ "tags": { …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,798 questions
asked 2024-09-06T08:02:20.5133333+00:00
Iain Grant 0 Reputation points
edited a comment 2024-09-06T09:27:22.19+00:00
Srinud 2,310 Reputation points Microsoft Vendor
1 answer

How to call VBA/c# code from office js without using API

There are few limitation in offcie js Excel such as reading or adding notes into the cell. I want to use VBA in these cases. How can I trigger the event or run the VBA code from office js Excel If there is any way I can invoke ribbon commands(defined in…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,842 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 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,858 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,715 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,861 questions
asked 2024-09-03T19:53:32.8433333+00:00
Mahi Deo 0 Reputation points
answered 2024-09-05T12:03:19.6533333+00:00
Jan Karel Pieterse 1 Reputation point
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,526 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,598 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 questions
asked 2024-08-28T12:45:50.7666667+00:00
Hemant Ashok 10 Reputation points
commented 2024-09-05T04:24:34.8266667+00:00
Hemant Ashok 10 Reputation points
0 answers

How to Restrict/Disable Microsoft Excel Native Refresh Functionality Using Office.js?

I am developing an Excel add-in using Office.js, and I need to control Excel's recalculation behavior while keeping the calculation mode set to Automatic. Context: The add-in contains custom formulas that fetch data from a database based on…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,842 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 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,861 questions
asked 2024-09-02T10:56:17.7033333+00:00
Someshwar Thumma 0 Reputation points
edited the question 2024-09-03T00:57:06.6633333+00:00
Emi Zhang-MSFT 24,676 Reputation points Microsoft Vendor
0 answers

I am getting below Error on running Azure Function Javascript - npm start

I am getting below error on starting Azure Function JS Application. Node JS Verison: 20.11.0 Error: C:\Users\AYM24\Project\CIS-ALE-ML\Modules>npm start > purgeengine@1.0.0 start > func start Azure Functions Core Tools Core Tools Version: …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 questions
asked 2024-08-29T12:38:06.5233333+00:00
AmirMustafa-8561 0 Reputation points