912 questions with JavaScript API tags

Sort by: Updated
0 answers

How to insert an embedded pdf into a content control using officejs

I see you can insert a docx from insertFileFromBase64. Is it possible to insert an embedded pdf (an object) into a content control?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 questions
asked 2024-06-19T03:59:14.11+00:00
Derek Merkle 0 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.
11,103 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,179 questions
asked 2024-01-22T11:18:24.6533333+00:00
Sakshi Tiwari 0 Reputation points
commented 2024-06-18T13:38:08.4533333+00:00
pavan kumar 5 Reputation points
0 answers

Help with Excel (Online) script that creates a table of contents, but only for visible sheets

Hello. I want to use the Excel online script found here: https://learn.microsoft.com/en-us/office/dev/scripts/resources/samples/table-of-contents However I'd like for it to only work for visible sheets within the workbook. I've tried to do this myself,…

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,400 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,615 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 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,652 questions
asked 2024-06-14T06:59:45.0566667+00:00
Im.DavidJ 0 Reputation points
edited the question 2024-06-17T00:33:56.09+00:00
Emi Zhang-MSFT 23,031 Reputation points Microsoft Vendor
0 answers

Scripts inside local html is not working with webview Eval in UWP Xamarin forms

Tried to update the html elements using script with webview Eval, its working fine in android and iOS but it is not working with UWP Xamarin forms. 1.webview.Eval to update the script : Script inside local html :

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,314 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 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,501 questions
asked 2024-06-13T05:22:24.0766667+00:00
Keerthana Sathiyanathan 0 Reputation points
edited a comment 2024-06-13T08:37:24.67+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,811 Reputation points Microsoft Vendor
0 answers

Unable to Deploy Add-in in Admin Center After Adding SSO Code

I created a Word add-in that requires SSO for necessary permissions. When I tested it in Word online, I successfully added my manifest without errors, and the functions worked correctly. However, upon uploading my manifest file to the Microsoft 365 Admin…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 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,652 questions
asked 2024-06-07T14:12:52.51+00:00
s w 100 Reputation points
edited the question 2024-06-10T09:35:59.0733333+00:00
Givary-MSFT 29,591 Reputation points Microsoft Employee
0 answers

Unable to Deploy Add-in in Admin Center After Adding SSO Code

I created a Word add-in that requires SSO for necessary permissions. When I tested it in Word online, I successfully added my manifest without errors, and the functions worked correctly. However, when I attempted to upload my manifest file to the…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 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,652 questions
asked 2024-06-07T14:03:02.2033333+00:00
s w 100 Reputation points
edited the question 2024-06-10T09:35:28.6333333+00:00
Givary-MSFT 29,591 Reputation points Microsoft Employee
0 answers

How to retrieve Assigned Courses in LinkedIn Learning API

Hi! We are trying to integrate LinkedIn Learning into our custom made LMS. We are using this documentation to achieve it: https://learn.microsoft.com/en-us/linkedin/learning/overview/ But as far we go, we have a question? How do we retrive the…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
321 questions
asked 2024-04-29T22:36:01.1266667+00:00
Ricardo Jassan 5 Reputation points
commented 2024-06-06T18:35:51.7366667+00:00
Boezeman, Matthew 0 Reputation points
1 answer

How do I force Java links to open exclusivly in one instance (workgroup) of edge, while still allowing non-java related links to open in a separate instance of edge

Hi there, our company uses a Java program (Jet) that is being built stage by stage to open in edge instead of Java. As it is being built some asspects (links) of the Java program still open in Java, while the "modernized" links open to Edge.…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,208 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 questions
asked 2024-06-05T14:23:29.4733333+00:00
Miller, Amber 0 Reputation points
answered 2024-06-06T08:00:25.4266667+00:00
Jinxin Wang (Shanghai Wicresoft Co Ltd) 1,145 Reputation points Microsoft Vendor
0 answers

Book a call with sales rep

I have to code a functionality where I have to provide the potential customer visiting the web page with an option to book a call with sales representative. The sales rep has MS 365 account while the customer doesn't have MS account. The customer could…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,239 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,103 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,179 questions
asked 2024-04-21T12:45:37.8866667+00:00
Dharmender Kumar(WL) 0 Reputation points
edited the question 2024-06-04T05:58:03.5933333+00:00
ChetanSharmamsft 1,026 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to fix 405 error in node js and express js application when form action post method request

I have a node js with express js application making a post api request from index.html routing to the index.js where the api client is requested i.e. /send-sms. It works on local dev but gets a 405 error after deploying to azure app service. Not sure if…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,179 questions
asked 2023-08-02T14:36:12.7033333+00:00
Scott Riches 20 Reputation points
edited a comment 2024-06-03T09:50:32.5333333+00:00
Salvatore Gallo 0 Reputation points
0 answers

Alternative way for the issue "Permissions Policy Violation: Microphone Not Allowed in Outlook Add-In"

Our team has encountered an issue with enabling the microphone while developing  outlook add in that has speech recognition as main feature. It appears that a recent update to Outlook on the web is blocking the usage of the microphone within extensions.…

Outlook
Outlook
A family of Microsoft email and calendar products.
3,239 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 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,652 questions
asked 2024-05-31T13:36:43.1133333+00:00
Shephin Philip 0 Reputation points
edited the question 2024-06-03T01:21:02.3233333+00:00
Tianyu Sun-MSFT 28,676 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,374 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 questions
asked 2024-05-21T23:41:45.2266667+00:00
Ahmed Salah 0 Reputation points
commented 2024-05-31T09:07:33.4533333+00:00
Lan Huang-MSFT 27,956 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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.
11,103 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 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,652 questions
asked 2024-05-28T16:29:48.7533333+00:00
S W 20 Reputation points
accepted 2024-05-30T15:47:23.6466667+00:00
S W 20 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,615 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 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,652 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,745 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.
717 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 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,615 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 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,652 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,456 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 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,456 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 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,795 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.
912 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,652 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,045 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,031 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,535 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,292 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
912 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