Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is it possible to modify display texts for 'Show to' drop-downs in user profile editing page of mysite? If yes - where should I look?

show to drop-down

share|improve this question

2 Answers 2

The 5 privacy levels cannot be changed, added to, or removed. THe enumeration is static. The best you can hope for it to just change the labels as Alex shows above.

share|improve this answer

Here's a working project I've created for you: http://www.4shared.com/rar/zs-Qg3BF/ReplaceSelectOptionsTitles.html. I suggest to use JQuery for this task. The main part of the solution:

function ReplaceSelectOptionsTitles() {
    $("select[title='Show To'] option[value='16']").text('choice 1');
    $("select[title='Show To'] option[value='8']").text('choice 2');
    $("select[title='Show To'] option[value='4']").text('choice 3');
    $("select[title='Show To'] option[value='2']").text('choice 4');
    $("select[title='Show To'] option[value='1']").text('choice 5');
}

_spBodyOnLoadFunctionNames.push('ReplaceSelectOptionsTitles'); 

If you will use my solution you need to install the solution packet on the server and activate the feature on the profile web.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.