1,003 questions with JavaScript API tags

Sort by: Updated
2 answers

How can I add Excel Notes to cells with the Office Javascript API?

Can support for this be added if it doesn't exist already?

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,984 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-11-09T19:29:52.3766667+00:00
Bon Fisher 0 Reputation points
edited an answer 2024-11-21T02:22:55.59+00:00
Meekou 1 Reputation point
0 answers

Fluidframework/azure-client token provider

I'm testing fluid relay for the first time, on a sample dice roll.   The deployment is not working showing timeout errors,  how to fix the error?  and also I hope someone can answer these doubts  If more than 150 users are available, how will it be…

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
652 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
Azure Fluid Relay
Azure Fluid Relay
An Azure service used to add real-time collaborative experiences to apps with Fluid Framework.
5 questions
asked 2024-11-20T15:58:29.56+00:00
Fernan Dolz 0 Reputation points
commented 2024-11-20T16:00:19.3533333+00:00
Fernan Dolz 0 Reputation points
0 answers

I am trying to send an email using the code and the outlook smtp protocol, but there is an authentication error

I created an application in Azure and exchanged the access_token with code, but I get an error when using jakarta.mail: “535 5.7.3 Authentication unsuccessful [SGXP274CA0007.SGPP274.PROD. outlook.com 2024 -11-12t03:19:03.964z 08dd02bfa482f37e]”. An error…

Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
654 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
4,079 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-11-12T03:35:48.98+00:00
建伟 周 0 Reputation points
edited the question 2024-11-18T08:00:44.57+00:00
ajkuma 27,026 Reputation points Microsoft Employee
0 answers

How to identify shared mailbox or folder in multi select

The recommended way of identifying whether a mailbox or folder is shared is to check the shared properties on an item: Office.context.mailbox.item.getSharedPropertiesAsync((result) => { if (result.status === Office.AsyncResultStatus.Failed) { …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-11-14T09:58:52.2666667+00:00
Manuel 25 Reputation points
1 answer

How to fix Error with the Azure Javascript SDK for Ai Search: unexpected 'StartObject' node was found for property named 'metadata' when reading from the JSON reader

I'm trying to make calls to a Azure Ai Search index I have already set up. Specifically I'm trying to add documents via the AzureAISearchVectorStore.addDocuments from the "@langchain/community/vectorstores/azure_aisearch" package. No matter…

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,083 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-10-22T17:52:26.2266667+00:00
Kent Morgan 0 Reputation points
commented 2024-11-12T09:28:03+00:00
ajkuma 27,026 Reputation points Microsoft Employee
0 answers

I'm not able to access create visual on page object as mentioned in document: https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/create-add-visual

https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/create-add-visual I'm referring above document and below is my code and error: My Error: Error adding visual to report: Error: createVisual method is not available on the page object…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-11-08T08:37:56.5966667+00:00
cii dev 0 Reputation points
1 answer

Unable to Create a Custom Tab in Excel Web Add-in Using <CustomTab> Element

Description: Hello, I am developing an Office Web Add-in for Excel and encountering difficulties with creating a custom tab in the ribbon using the <CustomTab> element in the manifest. The tab appears as expected when using the built-in Office tabs…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-11-07T03:12:23.5233333+00:00
VINAY KUMAR HOSURE NAGARAJU 0 Reputation points
answered 2024-11-07T03:57:30.0733333+00:00
VINAY KUMAR HOSURE NAGARAJU 0 Reputation points
0 answers

Can i Create a Custom tab in office web Add-ins

adding CutsomTab in my manifest files not working , I'm using excel online. in this YouTube (https://www.youtube.com/watch?v=5lrfHeN-Elc&t=350s) video which is posted 4 years back and showcasing creating a custom tab from 14th min. His this…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-11-07T03:00:32.7133333+00:00
VINAY KUMAR HOSURE NAGARAJU 0 Reputation points
0 answers

Issue: Microsoft PowerPoint API returns empty placeholder text after update [2409]

I’m using the Microsoft PowerPoint JavaScript API to generate slides from slide master, where the shapes are created within layouts using GeometricShape. A placeholder text is assigned to each shape to help identify them, so they can later be populated…

PowerPoint
PowerPoint
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
311 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 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.
4,022 questions
asked 2024-11-05T08:02:10.62+00:00
Nambi N. Rajan 0 Reputation points
edited the question 2024-11-06T00:58:55.0633333+00:00
Jiajing Hua-MFST 11,360 Reputation points Microsoft Vendor
0 answers

Manifest Validation for Word on Mac (Microsoft 365)

I have a manifest file that includes the following requirement sets: <Requirements> <Sets> <Set Name="SharedRuntime" MinVersion="1.1"/> <Set Name="CompressedFile"/> <Set…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 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.
4,022 questions
asked 2024-11-04T16:14:19.0933333+00:00
Kevin Wallace 0 Reputation points
0 answers

Fetch Microsoft forms data inside the React app

I'm trying to integrate an microsoft inside the react application. I was able to embed inside the react application by following the https://support.microsoft.com/en-us/office/send-a-form-and-collect-responses-2eaf3294-0cff-492d-884d-a1dee909e845. Now…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,370 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-03-28T16:23:14.59+00:00
Shibu Loyola Dass N 0 Reputation points
edited the question 2024-10-31T16:19:13.0166667+00:00
simo-k 715 Reputation points
1 answer

insertFileFromBase64 causes accumulation of styles

We're working on an add-in for Word that involves opening multiple documents. However, we've encountered an issue: when we use context.document.insertFileFromBase64 to open several documents, the styles from these base64 documents are being…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
890 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 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.
4,022 questions
asked 2024-05-02T09:31:53.63+00:00
Hanna Lebedenko 20 Reputation points
commented 2024-10-31T08:46:38.7166667+00:00
Chetan Kotwal 0 Reputation points
0 answers

Lock Tracking in Word Using the Word JavaScript API

I am currently working with the Word JavaScript API, and I can enable Track Changes for the following document. However, when I enable it, it can still be turned off directly in Word. Is there a way for me to lock it, similar to Lock Tracking?

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
890 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 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.
4,022 questions
asked 2024-10-25T10:58:55.7666667+00:00
Khoa 0 Reputation points
edited the question 2024-10-28T02:28:01.9733333+00:00
Emi Zhang-MSFT 25,711 Reputation points Microsoft Vendor
2 answers

Get User Profile/Details using Graph API

Hello Team, I'm trying to get the user profile such as display name, email id, phone number using graph API. I'm following this document for reference. First of all I'm generating an access token using the below curl command: curl --location…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,370 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-10-23T10:37:59.8433333+00:00
Jyoti Ranjan Behera 0 Reputation points
commented 2024-10-24T06:02:59.18+00:00
Vasil Michev 108.6K Reputation points MVP
0 answers

Allowing basic authentication for Node JS authenticator

Hi everyone! Recently ive been setting up a chatroom for some friends, and I have decided to implement an email verification system (that I have figured out how to secure so they cant make multiple accounts). The problem is, I cant allow the application…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 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.
5,301 questions
asked 2024-10-21T06:57:34.49+00:00
Squibbler_284 0 Reputation points
commented 2024-10-22T08:27:52.99+00:00
Squibbler_284 0 Reputation points
1 answer

Verifying If Approval Needed From Microsoft

To start off by giving some context here, me and my team are building a Salesforce managed package for one of our clients which includes use of Microsoft's Graph API. Using APIs to achieve below - We are using SharePoint web URL for previewing and…

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,191 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,370 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,898 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-10-16T12:08:16.9433333+00:00
Chad Hammond 0 Reputation points
commented 2024-10-22T02:03:23.59+00:00
AllenXu-MSFT 21,211 Reputation points Microsoft Vendor
1 answer

Why are some of the specified buttons missing from the CKEditor 5 toolbar?

Hi! I have an implementation of DecoupledEditor CKEditor 5 in my project: <script src="https://cdn.ckeditor.com/ckeditor5/38.1.1/decoupled-document/ckeditor.js"></script> DecoupledEditor .create(…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-05-08T16:32:18.0733333+00:00
Volk Volk 571 Reputation points
commented 2024-10-19T03:10:25.4533333+00:00
Samad 0 Reputation points
0 answers

Excel cell binding events not triggering after reopen of the workbook

Office.onReady((info) => { // Check that we loaded into Excel if (info.host === Office.HostType.Excel) { loadBinding(); }}); function loadBinding() { Excel.run(async (context) => { // sample code goes here const cellAddressRange =…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,984 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-10-18T00:47:19.1833333+00:00
Senthilnathan Vaduganathan 0 Reputation points Microsoft Vendor
0 answers

Excel cell binding events not triggering after reopen of the workbook

Office.onReady((info) => { // Check that we loaded into Excel if (info.host === Office.HostType.Excel) { loadBinding(); }}); function loadBinding() { Excel.run(async (context) => { // sample code goes here const cellAddressRange =…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,984 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-10-18T00:46:38.26+00:00
Senthilnathan Vaduganathan 0 Reputation points Microsoft Vendor
0 answers

Excel cell binding events not triggering after reopen of the workbook

Hi, I created few cell onDataChange events but they are not triggering when closed and reopened the workbook but the bindings are stored in the workbook and I am able to see them in the excel and iterate through code as well. Below is the code…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,984 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,003 questions
asked 2024-10-18T00:41:25.6733333+00:00
Senthilnathan Vaduganathan 0 Reputation points Microsoft Vendor