Saturday 21 September 2013

How to disable Edit My Profile button from SharePoint My Site template

Problem Description:

In SharePoint My Site template "Edit My Profile" option is present.
If user click on that link,then they can change their details,which get reflected into Active Directory.
So our on of the client doesn't want to give permission to user to change their profile data.

When i see URL, thoughts.aspx page is present in _layouts folder.



Resolution:

Step 1: Open SharePoint layouts folder.

            (How to access layout folder)

Step 2: Open 
thoughts.aspx file in notepad.

Step 3 : As shown in below image hide div tag.


Step 4: Open  thoughts.aspx in IE.


Product applies to:

·     SharePoint Server 2010

·     SharePoint Foundation 2010


2 comments:

  1. Dear Ajay,
    can we do it using JQuery/Javascript?

    ReplyDelete
  2. Hi Shrikant,
    instead of going for Jquery/Javascript,
    refer below link
    http://sharepointfordummies.blogspot.in/2012/02/how-to-hide-option-into-mysite-edit.html

    ReplyDelete