905 questions with JavaScript API tags

Sort by: Updated
0 answers

How to get GRAPH API token in office.js (got 401 unauthorized)

I set up my Azure app registration application following this document: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-on-behalf-of-flow I have my Web URI set as: https://localhost:xxxx/Application (client) ID. I added my custom page…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,876 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 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,593 questions
asked 2024-05-28T16:29:48.7533333+00:00
S W 0 Reputation points
commented 2024-05-29T02:14:09.6233333+00:00
CarlZhao-MSFT 37,871 Reputation points
0 answers

Can the Excel Image function accept a "data" url as the source?

Hello, I'm currently developing a Javascript add-in for Excel. During the development process, I have used both the addImage function to include images and the WebImage data type. The current interaction of the code is using the WebImage data type. The…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,547 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 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,593 questions
asked 2024-05-27T09:20:56.3166667+00:00
Johnny Spicer 0 Reputation points
edited the question 2024-05-28T01:30:27.57+00:00
Jiajing Hua-MFST 6,030 Reputation points Microsoft Vendor
1 answer

How to remove row on client side by jQuery based on key auditor id and budget year?

I work on jQuery with asp.net . I face issue I can't remove row from grid view based on key AUD_RECID and P_BUDGET_YEAR . AUD_RECID with different P_BUDGET_YEAR so I need key will be both from AUD_RECID and P_BUDGET_YEAR SO I will have unique Value when…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,320 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 questions
asked 2024-05-21T23:41:45.2266667+00:00
Ahmed Salah 0 Reputation points
commented 2024-05-27T01:36:10.84+00:00
Lan Huang-MSFT 26,606 Reputation points Microsoft Vendor
0 answers

How to share javascript objects (instances) between TaskPane React App and function called from Word?

We are developing a Word Addin using React for the TaskPane which uses Zustand as the state management system. We have been banging our heads against the wall for 2 days now to figure out how to let an action performed by the user (clicking a menu item…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
697 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 questions
asked 2024-05-26T15:33:44.22+00:00
Morten Overgaard 0 Reputation points
0 answers

Recommended approach to adding web pane to Excel worksheet

We are using the Javascript API to write an Excel add-in. The app runs well in the task pane. We are making good headway on that, but there is a specific feature we want to support that is challenging to find an answer for: How can we utilize the…

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,547 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 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,593 questions
asked 2024-05-24T14:14:40.7666667+00:00
Tim Habersack 0 Reputation points
1 answer

blazor application can not run at offline specfically in firefox browser

I had devlop the blazorWASM application with indexedDb. I had implement service worker for offline application WIth PWA also. Offline working successfully in chrome and edge browser but firefox not working i got the error while debugging that error is…

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,427 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 questions
asked 2024-05-23T14:33:01.3066667+00:00
ramesh P 0 Reputation points
edited a comment 2024-05-23T19:21:05.1933333+00:00
Ramesh Penta 0 Reputation points
1 answer

In firefox browser service worker stooped sunndenly after serve the resources to the client

I have develop blazor WASM application for offline thats why I had implement the service worker to intercept the request then serve the resource to the client using cache. Service worker successfully on chrome and edge but in firebox once application…

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,427 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 questions
asked 2024-05-22T14:13:43.98+00:00
ramesh P 0 Reputation points
commented 2024-05-23T09:14:36.74+00:00
Ping Ni-MSFT 2,405 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to keep add-in panel open

I have developed an outlook add-in and I need to keep it open for some use cases. How can I force it to keep open? I have a magic link login flow. Once a user opens the add-in for the first time they see a login page and after filling their email…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 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,593 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.
2,029 questions
asked 2024-05-13T18:09:01.24+00:00
Asghar Amerehei 20 Reputation points
edited the question 2024-05-22T02:43:39.77+00:00
Emi Zhang-MSFT 22,636 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

$.ajax patch method and .net 8 api action

Error Response Test - "{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"$":["The JSON…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,467 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,247 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 questions
asked 2024-05-21T05:35:16.4333333+00:00
S R, Senthil 20 Reputation points
accepted 2024-05-22T01:43:39.2066667+00:00
S R, Senthil 20 Reputation points
3 answers One of the answers was accepted by the question author.

How to make loader image show on every page when user click on any task

I have a webform application with master page, I want when user initiate any task in the website the loader image will show with modal screen untill the task is finished. below is my master page code. <script type="text/javascript"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,320 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 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,402 questions
asked 2024-05-19T04:01:14.2433333+00:00
Emeka Okoye 66 Reputation points
accepted 2024-05-21T20:24:34.7833333+00:00
Emeka Okoye 66 Reputation points
1 answer

Unable to List Drive Items After Connecting to Microsoft Drive

Hi everyone, I'm working on a web app and attempting to integrate Microsoft Drive for the first time. I've added the following code in my backend to authenticate: const MicrosoftStrategy = require('passport-microsoft').Strategy; passport.use( new…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,876 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 questions
asked 2024-05-20T07:27:31.8033333+00:00
my-testing-app 0 Reputation points
edited the question 2024-05-21T06:52:31.8666667+00:00
Emi Zhang-MSFT 22,636 Reputation points Microsoft Vendor
2 answers

Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

Hi, I am getting an error as Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) while uploading a file in Document library via webpart by JSOM. Below is the Code that I am using to upload file in…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,890 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 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,726 questions
asked 2024-05-07T09:36:03.3533333+00:00
Sagar Malde 5 Reputation points
answered 2024-05-21T01:33:31.8166667+00:00
RaytheonXie_MSFT 32,241 Reputation points Microsoft Vendor
0 answers

How do i import ics file in outlook calendar from Javascript (NodeJS) code?

I have to import ics file in outlook calender, from my javascript code.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 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,955 questions
asked 2024-05-20T12:16:26.87+00:00
Akash Patil 0 Reputation points
0 answers

Microsoft programmability model that

libraries to access data on Microsoft 365 services.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,913 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 questions
asked 2024-05-15T13:55:10.93+00:00
Divy This 0 Reputation points
commented 2024-05-18T16:56:01.7766667+00:00
Vahid Ghafarpour 19,235 Reputation points
1 answer

How do I change the embed media properties (size, text wrapping, border, and so on) in CKEditor 5 (checking for script tag)?

Hi! I have an implementation of CKEditor fields in my project in the form: DecoupledEditor .create( document.querySelector( '#editor' ), { extraPlugins: [ MyCustomUploadAdapterPlugin ], removePlugins: […

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,247 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 questions
asked 2024-05-08T13:14:56.79+00:00
Volk Volk 571 Reputation points
answered 2024-05-18T12:11:44.0766667+00:00
Volk Volk 571 Reputation points
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.
905 questions
asked 2024-05-08T16:32:18.0733333+00:00
Volk Volk 571 Reputation points
answered 2024-05-18T12:11:32.22+00:00
Volk Volk 571 Reputation points
1 answer

Why do the list of special-characters and the source-editing button not work in the official CKEditor 5 build?

Hi! I made a build of CKEditor 5 based on Decoupled document on the official website: https://ckeditor.com/ckeditor-5/online-builder/ But 2 buttons do not work in this build: Special characters (empty list) and Source. The build…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 questions
asked 2024-05-10T08:33:27.2166667+00:00
Volk Volk 571 Reputation points
answered 2024-05-18T12:11:15.4933333+00:00
Volk Volk 571 Reputation points
1 answer One of the answers was accepted by the question author.

Issue with webView2 control not sending messages until form has been resized

Hello, I've written an app that generates a SVG graphic in a second form. That form contains a webView2 control. I was not able to ever get a message to the webMessageReceived block until I switched from a window.external.notify command to a…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 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,402 questions
asked 2024-05-16T16:50:55.1333333+00:00
BRENT MALNACK 20 Reputation points
commented 2024-05-17T16:13:17.0166667+00:00
BRENT MALNACK 20 Reputation points
0 answers

I've tried to show a image in my .js file in win11, but the ''document' is undefined' problem occurs.

Script: Documents\AuthRule.js Line: 20 Char: 1 Error: 'document is undefined' Code: 800A1391 Source: Microsoft JScript runtime error. I've tried to make a javascript that shows a picture and creates some function, one of them being created when a…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 questions
asked 2024-05-17T09:48:08.2933333+00:00
Proshanto Brahmmachary 0 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.
697 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
905 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,593 questions
asked 2024-05-02T09:31:53.63+00:00
Hanna Lebedenko 15 Reputation points
edited an answer 2024-05-17T04:42:10.71+00:00
Stephen Baker 80 Reputation points