896 questions with JavaScript API tags

Sort by: Updated
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.
896 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.
896 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.
896 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.
896 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.
896 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.
896 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,562 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.
896 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,456 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.
896 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,562 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.
896 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,562 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.
896 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,562 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.
9,797 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
896 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.
591 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
896 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,576 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.
896 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,562 questions
asked 2021-01-21T17:23:22.077+00:00
JM (LNG-RDU) 1 Reputation point
0 answers

When a catch((error) in this javascript code occures the whole application terminates

Hello! I am quite new to javascript and I have created this code below. The code works fine with no problems. However in this loop: ` for (i = 0; i < exchanges.length; i++) Where I iterate exchanges to retreive data from each exchange…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
896 questions
asked 2021-01-02T13:55:13.78+00:00
Andreas ss 726 Reputation points
1 answer

How to use multiple people picker fields or other fields filter in threshold larger list in rest api query?

We have SharePoint online list which exceeds 5000 items threshold limit. I need to filter above list data into using multiple people or group fields or other multiples fields like.. (TestEmail1/Email eq 'abc@Anonymous .com') or (TestEmail2/Email…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,797 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
896 questions
asked 2020-12-23T15:04:00.12+00:00
Pramod Butte 1 Reputation point
commented 2020-12-25T07:47:09.17+00:00
Jerryzy 10,566 Reputation points
0 answers

How do I lock rows after data input on excel online

Hi, I have a spreadsheet which is used by lots of different people at the same time. I want to be able to run office script on excel online which will enable me to lock the rows automatically after someone inputs data in the row so for example: …

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
896 questions
asked 2020-12-21T18:08:31.01+00:00
UA 1 Reputation point