fbpx

How To Change The Text Of PeoplePicker In SharePoint 2013

Are you looking to customize the text of the PeoplePicker control in SharePoint 2013? Follow these simple steps to make the necessary changes.

To change the text of the PeoplePicker control in SharePoint 2013, there are a few different methods you can use.

One option is to convert the existing text field where the “Author” name is saved into a PeoplePicker control. This can be done by using either the Client People Picker or by adding a Content Editor Web Part in the Edit Form and making the text field a Client People Picker.

Another option is to create a new PeoplePicker field named “Author” and hide the original text field. You can set the default value of the new PeoplePicker field to the current user by using jQuery and SPServices to fetch the logged-in user name. This will allow the user to select a new name when editing the form.

If you want to filter and restrict the results displayed in the PeoplePicker control when searching for a user, group, or claim, you can configure the PeoplePicker control at the zone level using the Stsadm setproperty operation. This can be useful when you have specific requirements for the PeoplePicker control, such as only allowing users from a certain group in Active Directory to be displayed. You can also use LDAP queries to filter accounts from Active Directory in the PeoplePicker control.

By following these steps, you can customize the text of the PeoplePicker control in SharePoint 2013 to fit your specific needs.

Methods for Changing the Text of PeoplePicker in SharePoint 2013

There are several approaches you can take to customize the text of the PeoplePicker control in SharePoint 2013. Let’s explore some of them below.

Convert Text Field to PeoplePicker Control

To convert the existing text field where the “Author” name is saved into a PeoplePicker control, you have two options. You can either use the Client People Picker or add a Content Editor Web Part in the Edit Form and transform the text field into a Client People Picker. This will enable users to select names from the PeoplePicker control instead of manually entering the text.

Create a New PeoplePicker Field

An alternative method is to create a new PeoplePicker field named “Author” and hide the original text field. By using jQuery and SPServices, you can set the default value of the new PeoplePicker field to the current user. This allows users to select a new name when editing the form, providing a user-friendly way to change the text of the PeoplePicker control.

Filter and Configure PeoplePicker Control

If you need to filter and restrict the results displayed in the PeoplePicker control, you can configure it at the zone level using the Stsadm setproperty operation. This is particularly useful when you have specific requirements, such as displaying only users from a certain group in Active Directory. Additionally, you can leverage LDAP queries to filter accounts from Active Directory in the PeoplePicker control, further customizing its functionality.

By following these methods, you can easily customize the text of the PeoplePicker control in SharePoint 2013 to meet your specific needs. Whether you choose to convert an existing text field, create a new PeoplePicker field, or configure the control to filter results, SharePoint provides versatile options for tailoring the PeoplePicker to your requirements.