910 questions with JavaScript API tags

Sort by: Updated
0 answers

Is there an alternative to the Shape object that Microsoft can offer for VB but using the Office Javascript API?

Hi ! I'm in creating a Word addin using the Office Javascript API and I need to use the Shapes object. I saw that the API of Excel has received this feature but unfortunately the API of Word does not have this feature yet. I would like to make…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 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,637 questions
asked 2021-03-24T09:08:59.033+00:00
Sylvain Cornut 6 Reputation points
0 answers

Office js : is it possible to do an action at an exact position in a Word ?

Hi! I am on creating a Word addin and I have a request that returns me a position (x and y). I need to be able to insert something (for example: some text) at this x and y position. Is there a method that can allow me to do this ? I searched the…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 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,637 questions
asked 2021-03-23T14:46:40.11+00:00
Sylvain Cornut 6 Reputation points
commented 2021-03-24T08:06:08.803+00:00
Sylvain Cornut 6 Reputation points
0 answers

azure app service modified with malisious .js files

One of our website hosted in azure app service got infected. Java script files inside app service were modified. This code decodes to a malicious domain. We haven't notified any alerts from Security center about this modification. Could you please…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 questions
Microsoft Defender for Cloud
Microsoft Defender for Cloud
An Azure service that provides threat protection for workloads running in Azure, on-premises, and in other clouds. Previously known as Azure Security Center and Azure Defender.
1,231 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,140 questions
asked 2021-03-19T03:50:59.337+00:00
Ponugoti Narendra 41 Reputation points
commented 2021-03-19T20:14:08.487+00:00
ajkuma 23,641 Reputation points Microsoft Employee
1 answer

Outlook authentication for the application - API

Outlook authentication for the application - API Is there a way of developing a plugin for outlook, that allows user to enter a password and MFA token. This is at the main authentication screen - for Outlook. The password and MFA token, will be…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 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,637 questions
asked 2021-03-17T17:00:23.86+00:00
Darak, Seraj 1 Reputation point
answered 2021-03-19T11:08:38.08+00:00
Deva-MSFT 2,256 Reputation points Microsoft Employee
0 answers

How to add a custom Tab using yeoman generator for Word ?

I need to add a custom ribbon bar to word using yeomon generator with react. I have update manifest.xml file to this but nothing happen is there a way to add custom tab using yeoman generator ?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 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,637 questions
asked 2021-03-15T09:12:00.857+00:00
Nilupul Nethsara 1 Reputation point
1 answer

want to create apps for MS Teams using Visual Studio

Hello! I intend to create customized apps that can run on MS Teams. I understand I can use Visual Studio Tool kit on MS Teams for this. When I went through the lesson on how to 'Build your first app'.. i get stuck at a point when i have to install the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,753 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 questions
asked 2021-03-11T04:05:29.803+00:00
Devdutt Gore 1 Reputation point
answered 2021-03-12T07:04:20.047+00:00
Tianyu Sun-MSFT 28,576 Reputation points Microsoft Vendor
0 answers

I intend to create customized apps for Ms teams.

I intend to create customized apps for Ms teams. I am relatively new to coding. Is it necessary for me to learn coding on Java or Python? Also do you recommend any other coding language that I should be learn?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 questions
asked 2021-03-11T04:17:28.12+00:00
Devdutt Gore 1 Reputation point
0 answers

Excel Addin Javascript code not working Using Visual Studio Code but works using Script Lab

I have been using Script lab to build a prototype javascript excel addin. Now that the routines are working I am trying to use Visual Studio code to build the addin. I have transferred my working code to VS Code, the problem that I am having is an ajax…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 questions
asked 2021-02-23T03:15:18.077+00:00
Fritz Praus 1 Reputation point
commented 2021-03-11T03:14:38.123+00:00
Rick Kirkham 261 Reputation points Microsoft Employee
0 answers

sessionstorage

Sessionstroage.setitem is not working in IE11. What browser setting missing?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 questions
asked 2021-03-05T08:50:27.593+00:00
JOSEPH REETA MARY 1 Reputation point
2 answers

Access vba - Hourglass while Outlook Opening - Outlook takes forever to open

We just moved to Outlook 365 which takes forever to open. I have a program that puts events into the Outlook calendar. It first checks to see if Outlook is open, and, if it's not, opens it. Because Outlook 365 takes forever to open, I would like to have…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 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,637 questions
asked 2021-03-04T14:21:38.28+00:00
Janet Kalbfleisch 1 Reputation point
commented 2021-03-05T03:03:45.333+00:00
JeffYang-MSFT 6,241 Reputation points Microsoft Vendor
0 answers

Why sometimes, when I launch my Add-In Word via Visual Studio, it does not take into account the changes I made in Javascript?

Hi ! It happens that when I make a change in a .js file and run the application with a debugger, I find that it calls the "old" .js file without the changes. I thought about a cache problem and found several solutions on the internet but…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 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,637 questions
asked 2021-02-18T19:21:40.197+00:00
Sylvain Cornut 6 Reputation points
0 answers

Need a regular expression pattern to extract a list of numbers

Hi there: Suppose I have a string with “1: a string, 2: other string, 3: something else”, what would be the regex to obtain “1,2,3” as a result Thank you in advance, Rafael

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 questions
asked 2021-02-17T14:22:18.78+00:00
Rafael Soteldo 1 Reputation point
0 answers

use of w:tag in Office openxml/javascript add-in

I have the following: Word.run(function (context) { docSelection = context.document.getSelection(); var text = '<w:sdt><w:sdtPr><w:alias w:val="SomeAlias" /><w:tag w:val="SomeTag" /><w:lock…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 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,637 questions
asked 2021-02-12T10:58:47.463+00:00
Mark Nicholas Grimshaw-Aagaard 1 Reputation point
1 answer One of the answers was accepted by the question author.

What does this code GetParameterValues function do?

I would like to know what this code does? I am using it almost all the time but I don't know what it does. function GetParameterValues(param) { var url = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,590 questions
asked 2021-02-10T05:48:42.557+00:00
developer sp1 461 Reputation points
accepted 2021-02-11T07:42:42.463+00:00
developer sp1 461 Reputation points
0 answers

Need Export to excel expand collapse in excel also

jQuery multilabel table collapse -Need Export to excel same expand collapse in excel also I am using Multilevel-Collapsible-Table-Rows-Tabelizer, i had taken reference from below link : …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 questions
asked 2021-02-08T07:42:45.833+00:00
Shiv Sharma 1 Reputation point
1 answer

Using the file explorer to preview excel files , and got "Not enough memory to run Microsoft Excel. Please close other applications and try again."

I had a Windows 10 Pro 64bit (version 1909) and Microsoft Office Professional Plus 2013 (32bit) . And the file explorer enabled the "Preview pane" . When click on the excel files (not opening it) , it prompts the error message "Not enough…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 questions
asked 2021-01-21T03:56:17.29+00:00
vicky Lee 1 Reputation point
answered 2021-02-08T04:18:02.323+00:00
OA Staff 61 Reputation points
0 answers

SharePoint can't create Excel report in IE

Good day, I have the script to create Excel report. It works fine for me in IE. But another users can't unload Excel report in IE. If I click F12, I see this error "it is impossible to create an object by the object programming server"…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 questions
asked 2021-02-05T08:03:06.83+00:00
Sevil Red 101 Reputation points
0 answers

how to set a 'Teams' Theme and 'strong' scheme on v8 ThemeProvider

I am using ThemeProvider in my app by importing ThemeProvider from '@fluentui/react-theme-provider'; I want to be able to set the app theme to be 'Teams' Theme and the Scheme to be 'strong', like you can see in the documentation here: …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 questions
asked 2021-02-04T20:55:37.66+00:00
Ryan Weaver 1 Reputation point
0 answers

Jquery multilable table collapse -Need Export to excel same expand collapse in excel also

I am using Multilevel-Collapsible-Table-Rows-Tabelizer, i had taken reference from below link : https://www.jqueryscript.net/table/jQuery-Plugin-To-Create-Multilevel-Collapsible-Table-Rows-Tabelizer.html Issue i want same expand in exported excel…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 questions
asked 2021-02-04T10:23:16.267+00:00
Shiv Sharma 1 Reputation point
0 answers

Office Addin : I can’t call the function in the element <FunctionName> in the element <Action>

I'm currently working on a add-in for Word. In the manifest.xml, I have created a element that contains a element with a element of type button. I have an element of xsi: type = ExecuteFunction with a "testEventObject" function as a element. In…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
910 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,637 questions
asked 2021-02-04T08:32:11.27+00:00
Sylvain Cornut 6 Reputation points