906 questions with JavaScript API tags

Sort by: Updated
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,914 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
906 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.
600 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
906 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,585 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.
906 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,599 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.
906 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,914 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
906 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.
906 questions
asked 2020-12-21T18:08:31.01+00:00
UA 1 Reputation point