918 questions with JavaScript API tags

Sort by: Updated
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.
728 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,638 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 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,470 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,470 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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 3,035 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.
918 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,671 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,055 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 23,271 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,562 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,325 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,389 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,554 questions
asked 2024-05-19T04:01:14.2433333+00:00
Emeka Okoye 86 Reputation points
accepted 2024-05-21T20:24:34.7833333+00:00
Emeka Okoye 86 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.
11,189 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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 23,271 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.
10,105 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,773 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 33,176 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.
918 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,025 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.
13,164 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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 20,320 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,325 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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.
918 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.
918 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.
918 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,554 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.
918 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.
728 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 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
0 answers

macOS Excel v16.85 truncates string size to 126 characters for custom property values

In the latest release of Excel M365 for macOS (v16.85) we are experiencing an issue where when we use the Excel Javascript API via an add-in application to retrieve custom property values, where each custom property is truncated to 126 characters. We…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,186 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,638 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 questions
Office Mac
Office Mac
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Mac: A family of Apple personal computers that run the macOS operating system.
480 questions
asked 2024-05-16T20:50:25.2666667+00:00
Colby Timm 0 Reputation points
edited the question 2024-05-17T01:23:10.41+00:00
Jiajing Hua-MFST 7,145 Reputation points Microsoft Vendor
0 answers

How can I use the query string parameters on SourceLocation

I want to use query string parameters on SourceLocation on a Office add in(Word add in). I can add the query string parameters inside the manifest.xml file. How can I read them inside taskpane.html file The query string parameters I used are stripped and…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
728 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 questions
asked 2024-05-16T09:31:42.24+00:00
Add-in Developer 0 Reputation points
edited the question 2024-05-16T13:20:24.4466667+00:00
Add-in Developer 0 Reputation points
0 answers

How to Open MS Word or Excel in Browser

How to Open MS Word or Excel in Browser in Java Script In Base64 or Binary Data

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 questions
asked 2024-05-16T06:24:17.9266667+00:00
Tamilarasan S 0 Reputation points