863 questions with JavaScript API tags

Sort by: Updated
2 answers

Extract email attachments from Outlook365 Group

Hello, I'm supporting a client that has asked me to extract attachments from an employee's inbox and save those attachments to SharePoint. We've moved his emails to an Outlook 365 Group and from what I understand the browser version of Outlook 365…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,560 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,870 questions
asked 2022-04-21T13:23:54.077+00:00
Robert Randall 1 Reputation point
commented 2024-03-02T14:01:53.1066667+00:00
Paul de Jong 716 Reputation points
0 answers

Getting Uncaught ReferenceError: loginRequest is not defined while following SPA Tutorial

I am following the next guide: https://learn.microsoft.com/en-us/entra/external-id/customers/tutorial-single-page-app-vanillajs-configure-authentication While executing the App, the Sign In button on click shows the following error: Not sure how to fix…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 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,634 questions
asked 2024-02-28T18:47:34.5266667+00:00
Darren Campos 0 Reputation points
edited a comment 2024-02-29T10:52:19.5166667+00:00
Shweta Mathur 27,141 Reputation points Microsoft Employee
0 answers

Date autogrouping for pivot tables in Excel Scripts?

I'm recreating a few VBA scripts in Automate, since they broke with recent Office updates anyway. Is there a way to mimic the way that either .AutoGroup from VBA (previously), or just manually adding a pivot table field based on a date automatically…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-02-28T18:53:54.62+00:00
Anna Neibling 0 Reputation points
edited the question 2024-02-28T18:54:54.8+00:00
Anna Neibling 0 Reputation points
1 answer

iOS AppAuth authorization code expires immediately

I am using the iOS Swift AppAuth package to obtain an authorization code. However, it appears to expire immediately, rendering it unusable. The authorization code retrieved using the same AppAuth package on a SPA using React works fine. Both…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,511 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-02-22T17:25:53.61+00:00
Vaughn de Villiers 0 Reputation points
edited the question 2024-02-28T04:44:28.58+00:00
VenkateshDodda-MSFT 17,911 Reputation points Microsoft Employee
0 answers

How to use document.importStylesFromJson to import a style with space or dash in the name.

I'm attempting to use the document.importStylesFromJson(jsonstring) method to create styles in an existing document. I've figure out that for each style in the jsonstring, a nameLocal object needs to be specified as the name of the style. However, this…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
655 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 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,459 questions
asked 2024-01-14T01:26:08.3933333+00:00
David Chrudimsky 5 Reputation points
commented 2024-02-27T07:05:19.7233333+00:00
John 0 Reputation points
0 answers

org.xml.sax.SAXParseException; The prefix "tem" for element "tem:UN" is not bound.

Client sent me this wsdl file, which i need to include in my c# Program. I tested this with SOAPUI, its working fine. SOAP UI: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 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,198 questions
asked 2024-02-22T16:44:06.7366667+00:00
Rashmitha B 0 Reputation points
edited the question 2024-02-26T09:41:32.1366667+00:00
Rashmitha B 0 Reputation points
4 answers

How I can open popup window without using Windows MessageBox?

The MessageBox below shows the alert in local (Visual Studio) but not on a server call. Is there a JavaScript, MVC Controller or ASP.NET form popup windows I can use on the server ? if (helperClass.IsTheUserExist(Employee.Email, Employee.ID)) {…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 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,198 questions
asked 2024-02-09T12:41:15.78+00:00
OneWorld 0 Reputation points
commented 2024-02-26T02:41:21.9833333+00:00
Lan Huang-MSFT 25,386 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.
863 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,333 questions
asked 2021-08-13T11:12:53.717+00:00
Maurice Wegner 36 Reputation points
commented 2024-02-24T14:43:19.25+00:00
Arun Muradnar 0 Reputation points
1 answer

How can Generative AI help innovate Learning Management System?

Can anyone explain how Generative AI can contribute to innovation in the LMS or eLearning industry? Any recommended articles would be appreciated.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-02-22T12:11:00.0666667+00:00
Rajesh Shintre 0 Reputation points
commented 2024-02-23T13:41:41.1533333+00:00
Azar 18,290 Reputation points
1 answer

Get the files directory of one drive in a javascript application

I want to get the files directory of one drive in a javascript application. What should be the approeach? I would like not to login every time I want to access the information. Bet regards, Ignasi

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,511 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
798 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-02-20T15:28:05.03+00:00
Dako Studio 0 Reputation points
answered 2024-02-22T01:24:40.78+00:00
Emi Zhang-MSFT 21,626 Reputation points Microsoft Vendor
0 answers

How to adjust height of a div respect to a collapsible header in css

How to adjust height of a div respect to a collapsible header in css

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2024-02-21T09:57:43.3733333+00:00
Majumder, Mousumi 0 Reputation points
edited the question 2024-02-21T17:38:55.5066667+00:00
Majumder, Mousumi 0 Reputation points
1 answer

Set SingleValueExtendedProperties from Outlook javascript API

Hi We have office outlook 365 Calendar addin application, in this i want to save some additional data using Outlook javascript API and retrieve it from Graph api (SingleValueExtendedProperties). We tried to load and set loadCustomPropertiesAsync using…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,511 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,870 questions
asked 2024-02-15T08:41:11.2533333+00:00
neeraj badalu 36 Reputation points
commented 2024-02-20T18:13:49+00:00
neeraj badalu 36 Reputation points
0 answers

script for use conditional formatting to highlight the difference between 2 sheets

Every time an area from the company creates a file on SP, an inspector is going to verified if it is okay or not. If it is not, he will make some changes. Then, the excel should show which changes were made by highlighting the cells. I would like to know…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 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,459 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,657 questions
asked 2024-02-20T12:26:00.2566667+00:00
DE LA TORRE Mercedes 0 Reputation points
1 answer

I don't have automate ribbon. How can i make it?

Hi, I'm korean excel user. Until recently, I was using Excel using script code in the automate ribbon, but when I formatted my computer and reinstalled Excel, the automate ribbon disappeared. How can I make it again?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
1,996 questions
asked 2024-02-15T05:33:10.1233333+00:00
이은철 0 Reputation points
commented 2024-02-20T08:41:26.48+00:00
Jiajing Hua-MFST 4,600 Reputation points Microsoft Vendor
0 answers

Is there a bug in new Office Javascript API that fails on call to OfficeExtension.Promise?

I have developed an Outlook add-in that uses the Office Javascript API to access several properties of calendar items. We are following the recommendations and examples from MS, like exposed in the following article in section "Wrap common APIs in…

Outlook
Outlook
A family of Microsoft email and calendar products.
2,910 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 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,459 questions
asked 2024-02-19T11:49:46.85+00:00
Juan Cucala 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to debug Excel Script

Hello, is there a way how to debug Excel scripts (Office scripts using TypeScript, not VBA), using Code Editor?

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,438 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
asked 2023-08-11T06:18:26.46+00:00
PoPe 50 Reputation points
edited a comment 2024-02-16T20:08:40.51+00:00
DL 0 Reputation points
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,511 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 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.
891 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.
863 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,511 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 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.
863 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,459 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