923 questions with JavaScript API tags

Sort by: Updated
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.
923 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.
923 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.
923 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,681 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.
923 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,681 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.
923 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.
923 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,681 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.
923 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,593 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.
923 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.
923 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.
923 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.
923 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.
923 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.
923 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,681 questions
asked 2021-02-04T08:32:11.27+00:00
Sylvain Cornut 6 Reputation points
0 answers

Problem distriute a Office Add-inn for Office clients but not webb client

We have built 2 add-ins, one for Outlook and one for Word, Excel and PowerPoint. They are both add-ins with a command that toggles a task pane. We had no issues accessing them in our own O365 environment using Centralized Deployment. However, when we…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
923 questions
asked 2021-02-01T11:49:18.943+00:00
Pdsdm 1 Reputation point
commented 2021-02-02T02:04:50.993+00:00
Erin Ding-MSFT 4,461 Reputation points
0 answers

Office 365 Office JavaScript APIs not visible in local clients

We have built 2 add-ins, one for Outlook and one for Word, Excel and PowerPoint. They are both add-ins with a command that toggles a task pane. We had no issues accessing them in our own O365 environment using Centralized Deployment. However, when we…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
923 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,681 questions
asked 2021-02-01T17:11:21.813+00:00
Ola Hansson 1 Reputation point
0 answers

How to respond to a change in document mode in Office Javascript Word AddIn

We have a Word JavaScript AddIn that assists users with authoring content. The AddIn is only functional when a ReadWrite document is loaded so we check Office.context.document.mode to ensure it is "readWrite" when the AddIn starts up. That…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
923 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,681 questions
asked 2021-02-01T17:10:25.2+00:00
Richard Sloggett 1 Reputation point
0 answers

Reading appointments from https://outlook.office.com/calendar authenticated by Corporate SSO

Recently our corporate calendar was moved to https://outlook.office.com/calendar and it is authenticated by our companies corporate SSO server before it is redirected to the stated Calendar URL. We would like to read the appointments from our Team…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
923 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,681 questions
asked 2021-01-29T05:34:52.8+00:00
Swamy 1 Reputation point
commented 2021-01-29T10:24:01.487+00:00
JeffYang-MSFT 6,241 Reputation points Microsoft Vendor
1 answer

Typescript array object Filter - dynamic filter conditions, Search Refiners Sharepoint

Please I need a help on below scenario in Typescript, SharePoint Search. I have Collection of Array something like this, let _SelectedBusinessUnits =[ { "fileName": "XYX.doc", "Region": "APAC",…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,143 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
923 questions
asked 2021-01-25T04:01:09.863+00:00
Dhanasekaran G 1 Reputation point
commented 2021-01-29T09:09:33.727+00:00
Amos Wu-MSFT 4,051 Reputation points
1 answer

How to hide list columns in SharePoint webpart based on user role?

Hi, I am successfully hiding list view columns in web part based on user role using following script line. $("div.ms-vh-div[DisplayName='Column X']").attr("style", "display: none"); but it's hiding only div tag…

Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
611 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
923 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,593 questions
asked 2021-01-15T23:34:05.773+00:00
Power Platform Resource 1 Reputation point
commented 2021-01-26T09:23:25.097+00:00
Jerryzy 10,566 Reputation points
0 answers

OfficeJS Word add-in development: Office.context.document.getFilePropertiesAsync() in Firefox always results in status = error

I am hoping some OfficeJS folks can identify if this is a known issue in FF for the Word Add-in API. Given code private getFilePropertiesAsync() { Office.context.document.getFilePropertiesAsync((asyncResult:…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
923 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,681 questions
asked 2021-01-21T17:23:22.077+00:00
JM (LNG-RDU) 1 Reputation point