.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

How to make a property editable by user in My Profile page in SharePoint

Posted By:Jean Paul       Posted Date: September 27, 2013    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

In this article we shall see how to make a property editable for the user in My Profile page in SharePoint.

In this article we can perform some customizations for the My Profile page.  The My Profile page displays properties regarding the user like:

1.  Name
2.  Email
3.  Mobile
4.  Address
5.  Biography
6.  Department

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.

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend