866 questions with JavaScript API tags

Sort by: Updated
0 answers

Is there a method in Office.js which can be called from web browser to open a new word (blank) document or existing document in server to word desktop?

Hi, We have several web applications running on a private server. Our users can view word documents uploaded in the server but cannot edit them. we have add-ins where we can get the documents from the server and it works like a charm. However, we also…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,569 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 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.
892 questions
asked 2024-02-15T07:37:24.8166667+00:00
Mustafa Kanorwala 0 Reputation points
edited the question 2024-02-16T10:49:00.84+00:00
Mustafa Kanorwala 0 Reputation points
0 answers

How can I change or configure the permission message for opening a file from the browser?

I've developed a program using JavaScript that interacts with the Registry protocol and opens a local .bat file. Each time such an action occurs, the following message is displayed: "This site is trying to open MyAppName.bat [http://aaaaa] wants to…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 questions
asked 2024-02-15T11:05:18.1566667+00:00
Yossi Dahan 0 Reputation points
0 answers

Item Id received from shared calendar using desktop outlook (not new outlook) Outlook JavaScript API is not valid id

Hi We have office365 outlook calendar addin when we create any appointment/event using in shared calendar (user 2's calendar shared with user1 with full permission) Office.context.mailbox.item.saveAsync on desktop outlook (not new outlook) Item id…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,569 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 questions
asked 2024-02-15T10:12:35.15+00:00
neeraj badalu 36 Reputation points
edited the question 2024-02-15T10:13:39.3966667+00:00
neeraj badalu 36 Reputation points
0 answers

Help: Should I separate the frontend and backend (middle-tier)? If so, how?

Hi! I'm pretty new to add-in development and I'm not sure if this is the right place to post this. Anyway, after (semi-successfully) building a prototype add-in for Outlook without any authentication, I decided it would be best to implement it and use…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 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,479 questions
asked 2024-02-15T02:54:14.6966667+00:00
Micah McLaughlin 0 Reputation points
edited the question 2024-02-15T06:04:03.63+00:00
Micah McLaughlin 0 Reputation points
2 answers

Why Callback is not working

Hi All pls let me know why when I click on div1 it is not working As like callback function div1 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport"…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,569 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,526 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 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,234 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,345 questions
asked 2024-02-12T17:22:38.34+00:00
Siddangoud Bharamagoudar 61 Reputation points
commented 2024-02-14T16:25:30.29+00:00
Bruce (SqlWork.com) 55,601 Reputation points
1 answer

callback for button click

we have the code for callback function like below $(document).ready(function(){ $("button").click(function(){ $("p").hide("slow", function(){ alert("The paragraph is now hidden"); }); }); }); it…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,607 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 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,234 questions
asked 2024-02-12T10:16:42.8366667+00:00
Siddangoud Bharamagoudar 61 Reputation points
edited a comment 2024-02-13T17:11:51.2066667+00:00
Bruce (SqlWork.com) 55,601 Reputation points
0 answers

how to fix uploading api url issue ?

i have created cloud function that takes the url which is window.location.url i have created multiple accounts it works fine but one of my own teams account url failed when we examine the id of folder was too long while others was having a normal id. …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,118 questions
asked 2024-02-12T10:58:29.28+00:00
Shawana Zulfiqar 0 Reputation points
edited the question 2024-02-13T01:23:16.58+00:00
Jiajing Hua-MFST 4,675 Reputation points Microsoft Vendor
0 answers

Recording script in Excel; formula not dragging down, only values

I'm trying to create a script in Excel by recording. Everything works great except when I run it, the cell I dragged down to copy a formula down gives the result of the value from the first cell and not the formulas result. I've ensured automatic fill is…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,456 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 questions
asked 2024-02-12T17:26:49.48+00:00
Adam Klenk 0 Reputation points
2 answers

How can I identify a user in my landing page who is signed in azure SSO

I want to display an iframe on the landing page created with Oracle Eloqua. This iframe should be visible only to specific users. I am looking to implement authentication upon the landing page load, where we can verify the user's email (linked to an…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
610 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,486 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 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,455 questions
asked 2024-02-10T13:45:39.1766667+00:00
Dharmender Kumar(WL) 0 Reputation points
answered 2024-02-12T10:14:44.9166667+00:00
Pinaki Ghatak 2,320 Reputation points Microsoft Employee
1 answer

"What could be causing the 'Error: connect EACCES ::1:3306' when executing the line 'const connection = await mysql.createConnection' in my Node.js function within Azure Function App? I've verified that the credentials for the MySQL connection and token a

Q)The Below is my node js function using azure function app .But when the line “const connection =await mysql.createConnection” starts executing i am getting an Error mentioned below “Error: connect EACCES ::1:3306     at Object.createConnection…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
610 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,250 questions
Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
712 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 questions
asked 2024-02-07T03:53:38.1766667+00:00
Ajal Jose 0 Reputation points
answered 2024-02-12T06:08:53.4866667+00:00
MayankBargali-MSFT 68,471 Reputation points
0 answers

Is opening a new Excel file from a Word web add-in even possible?

I have tried several things without luck. But, the main thing is that my code hits Excel.createWorkbook(); and it throws an error saying that Excel is not defined. I can do whatever I can with Word.whateverNeeded() but not with…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 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,479 questions
asked 2024-02-12T00:23:24.8233333+00:00
Ricardo Jose Barrera Arellano 0 Reputation points
0 answers

How to launch Edge Web Driver with IE Mode through Selenium

Testing IE compatible site by automation (here I used IE driver but it opens in Edge browser). Now I want to use edge driver with IE mode. When I initiate the Edge driver the Edge browser opens with the default IE mode. Another thing when I use the IE…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 questions
asked 2024-02-10T11:03:17.35+00:00
Akshay96 0 Reputation points
1 answer

How to get the details of current user who is logged in to azure?

How to get the details of current user who is logged in to azure through js in a local webpage?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,798 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 questions
asked 2024-02-06T12:14:13.8633333+00:00
asdfasfawfwfwf 0 Reputation points
commented 2024-02-09T13:23:57.8+00:00
Dharmender Kumar(WL) 0 Reputation points
0 answers

Excel custom sorting using Office scripts

I have an Office script that correctly selects the A column and sorts it's values alphabetically, but I can't find a way to first sort using a custom list of words (for example, sex). I would want my values to first be sorted by this list and to be…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,456 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 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,479 questions
asked 2024-02-08T09:01:23.4666667+00:00
Ignacio Gil Garzon 0 Reputation points
edited the question 2024-02-09T01:57:36.6133333+00:00
Emi Zhang-MSFT 21,706 Reputation points Microsoft Vendor
0 answers

I used to get an input form for Office Script parameters in Excel Desktop, but it went away. Where did it go and how can I get it back?

It used to be the case that when I ran an Office Script in Excel 365 for Desktop, I would get an input form to supply inputs beyond the workbook parameter. However, it appears that behavior went away and I can only get the input form on the web version…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,456 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 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,479 questions
asked 2024-02-08T07:23:44.3933333+00:00
snowcocoa 0 Reputation points
edited the question 2024-02-09T01:56:58.7566667+00:00
Emi Zhang-MSFT 21,706 Reputation points Microsoft Vendor
0 answers

How can I implement Single Sign-On (SSO) for an Angular-based Word Web Add-in, ensuring seamless integration with both dialog and task pane functionalities?

Problem Description: I am currently working on an Angular-based Word Web Add-in and need to implement Single Sign-On (SSO) functionality. The SSO solution should seamlessly integrate with both dialog and task pane functionalities within the…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 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,479 questions
asked 2024-02-08T08:47:26.9133333+00:00
Abhishek Katariya 0 Reputation points
1 answer

I have a script and it works, but cannot create a button to run it in Excel

I have created scripts that run from buttons in a spreadsheet previously with no problems, however although I have created my new script, I cannot create a button. Online advice is to select the script and use 'more options' in the code editor to 'Add…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 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,479 questions
asked 2024-02-05T18:50:18.3133333+00:00
Mary Fisher 0 Reputation points
answered 2024-02-07T19:51:04.5133333+00:00
RJones 0 Reputation points
1 answer

error occurred "An unexpected error occurred in the client." in safari Version 15.6 (16613.3.9.1.7, 16613) on mac

Hi all, I am developing an outlook add in with SSO (single sign on). It works fine on other browsers OWA except Safari on mac. When it tries to get access token it occurs "An unexpected error occurred in the client." error. I also tried…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 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,479 questions
asked 2022-11-21T11:47:19.69+00:00
Diluka Hewage 31 Reputation points
commented 2024-02-07T07:46:42.1+00:00
Diluka Hewage 31 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.
10,569 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,867 questions
asked 2024-01-22T11:18:24.6533333+00:00
Sakshi Tiwari 0 Reputation points
edited a comment 2024-02-06T23:19:30.79+00:00
Carlos dos Santos 85 Reputation points Microsoft Regional Director
1 answer

How to return references with Javascript Azure Openai Client Library

Hello, im currently using the Javascript Azure Openai Client Library with my own data. How can i return the references of the answers at the end of these, just like Azure Openai Studio does? Im getting the answers like this: const replyText =…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
866 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,152 questions
asked 2024-01-24T15:08:12.4133333+00:00
Orellana, Felipe 0 Reputation points
edited an answer 2024-02-06T22:01:41.8533333+00:00
Saurabh Sharma 23,671 Reputation points Microsoft Employee