In this article we can perform some customizations for the My Profile page. The My Profile page displays properties regarding the user like:
Following is the screen shot of My Profile page:
User Profile Properties
The My Profile page is displaying the properties through User Profile service application.
The User Profile Service Application stores information about users in a centralized location. Using the User Profile service application through Central Administration, we can:
· Create new Profile Properties
· Modify existing Profile Properties
· Enable / Disable edit functionality of a Property
How to make a property editable?
We can make a property read only to the user. In the current state, the property Department is not editable. You can see the property as a label in the following screen.
To make the property editable by the user we can use Central Administration. The administrator has to open Manage Service Applications > User Profile Service Application > User Profile Properties page as shown below:
From the property list choose the Edit context menu for Department property.
Make the Allow users to edit values of this property option and click the Save button.
Perform an IISRESET command.
Now back to the edit page of My Profile you can see the property is editable by the user
The warning symbol denotes that the property will be overridden while performing synchronization.
A service named User Profile Synchronization service is fetching new users and information from the configured Active Directory into SharePoint. The warning above says that when the next synchronization is done the value changed by user will be lost.
In this article we have seen how to make a property editable for the user in My Profile page. In real world scenarios we can add our own custom properties, enable or disable property edit mode by the user.