937 questions with JavaScript API tags

Sort by: Updated
0 answers

[Javascript Powerpoint API] How to get currently visible slide of slide show (in read mode)

I am using the Office javascript API to create an Add-In. In the edit mode, I am able to set a handler that gets called whenever the selection of a slide changes. Office.context.document.addHandlerAsync(Office.EventType.DocumentSelectionChanged,…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
937 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,709 questions
asked 2021-04-07T10:20:22.167+00:00
Lukas Liss 6 Reputation points
0 answers

"The add-in is not hosted in plain browser top window."

Hi All. I have some question about 'The add-in is not hosted in plain browser top window.' message in officejs. not sure officejs can't wrap to iframe? story : I have web-application that can keep many others my web-application join together by…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
937 questions
asked 2021-04-02T12:54:23.187+00:00
Supho, Thanonphat 6 Reputation points
1 answer

Loads of errors on my website from Clarity

Hi, since I implemented Microsoft Clarity on my website with GTM, I see loads of errors of this type: TypeError: Cannot read property 'calls' of undefined at <anonymous> @ https://www.clarity.ms/..... Other errors: TypeError: Cannot read…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
937 questions
asked 2020-12-15T14:15:44.067+00:00
LaWarn 1 Reputation point
answered 2021-04-01T19:41:53.657+00:00
The Witney SEO Guy 1 Reputation point
0 answers

document.Settings size limit ?

In this article it says about a size limit of the document.settings. "There is an additional storage option when you need to store information that exceeds the size limits of the document Settings or which has a structured character. " …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
937 questions
asked 2021-04-01T11:39:57.603+00:00
ApsSanj 1 Reputation point
0 answers

Can Roslyn create Java source code?

Hello, Can Roslyn be used to create Java source code? Thanks.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
937 questions
asked 2021-03-29T14:22:29.783+00:00
William Johnston 61 Reputation points
0 answers

Persisting Settings across Outlook updates

I have written and Outlook 365 Add-in in C# and have been using the Settings [Properties.Settings.Default.Save] method to persist those user settings across sessions. However, every time the Outlook application is updated, a new version of the…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
937 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,709 questions
asked 2021-03-26T05:49:51.593+00:00
Simon 1 Reputation point
commented 2021-03-26T09:31:51.597+00:00
JeffYang-MSFT 6,241 Reputation points Microsoft Vendor
0 answers

DialogMessageReceived not working after few messages

Sending multiple messageParent from dialog. After some messages the messages are not receiving by parent. DialogMessageReceived not receiving messages after some messages. Can you please help. I am using excel on the web.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
937 questions
asked 2021-03-25T12:54:09.11+00:00
Samim Akhtar 1 Reputation point
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.
937 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,709 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.
937 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,709 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.
937 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,266 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,357 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 24,736 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.
937 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,709 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.
937 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,709 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,869 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
937 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 29,351 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.
937 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.
937 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.
937 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.
937 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,709 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.
937 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,709 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.
937 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.
937 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,709 questions
asked 2021-02-12T10:58:47.463+00:00
Mark Nicholas Grimshaw-Aagaard 1 Reputation point