To filter a PeoplePicker by a certain domain using an older version of the library, you can use the following code: import{PeoplePicker,PrincipalType}from'@pnp/spfx-controls-react';classYourComponentextendsReact.Component{constructor(props){super(props);this.filterPeople=this.filterPeople.bin...
Pariksha Pe Charcha DAV Centenary Public School Next 1 2 3 4 5 6 7 8 9 10 11 12 Notice Board view all Fee Structure Youtube Channel Photo Gallery PAY ONLINE FEE School Information About Our School This school is located in Sector-12, HUDA, Panipat. It is 3 Km. away from Panipat bus...
"FormField"},{"id":"widgetVisibility","validation":null,"noValidation":null,"dataType":"STRING","list":null,"control":null,"defaultValue":null,"label":null,"description":null,"possibleValues":null,"__typename":"FormField"},{"id":"moreOptions","validation":null,"noValidation":nu...
To filter the people picker by a certain domain, implement the filterPeople method as follows: import{PeoplePickerFilter}from'@pnp/spfx-controls-react';classDomainFilter extends PeoplePickerFilter{constructor(private domain: string){super();}filterPeople(people: Person[]): Person[]...
To filter a PeoplePicker based on a particular domain, you can try the following code: import{PeoplePicker,PrincipalType}from'@pnp/spfx-controls-react/lib/PeoplePicker';import{BaseComponent}from'@microsoft/sp-component-base';exportclassYourComponent extends BaseComponent<{},{}>{constructor(p...
HiCardinalNight, you can use a custom people picker filter. To create a custom people picker filter, extend the PeoplePickerFilter class and implement the filterPeople method. The filterPeople method takes an array of people as input and returns an array of people that match the filter ...
How to filter a spPnP people picker &
I am trying to filter an sp pnp people picker: PeoplePicker - @pnp/spfx-controls-react I want to filter based on whether the users found have a certain @domain.com Is there an out of the box solu... Copper Contributor Nov 10, 2023 ...
How to filter a spPnP people picker &