Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

138
Views
How can I override ClientPeoplePicker js functions in Sharepoint 2016 On Premise? So I can initialize it with a group

I wanted to override default functionality of the People Picker so that when it is initialized People from a certain GroupID are shown. We have to use out of the box functionality with minimum customizations.

I have tried overriding the whole script, it works. But this is something that I don't want to do. I need to override only a specific function named SPClientPeoplePicker.

function SPClientPeoplePicker(controlProps) {
    this.TopLevelElementId = controlProps.TopLevelElementId;
    this.EditorElementId = controlProps.EditorElementId;
    this.AutoFillElementId = controlProps.AutoFillElementId;
    .
    .
    .
    if (typeof controlProps.SharePointGroupID != "undefined")
        this.SharePointGroupID = DYNAMIC;
   
} ``` 

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!