August 21, 2012

How To Hide Ribbon From Users Without Edit Page Privilege

How To Hide Ribbon FromUsers Without Edit Page Privilege

Open your SharePoint master page

Locate this line:


<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">

Change it to

<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle" style="display:none">

Now find the end of the “s4-ribbonrow” tag and add following block right after it:

<Sharepoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl2" runat="server" PermissionsString="AddAndCustomizePages">
<
script type="text/javascript">
document.getElementById("s4-ribbonrow").style.display = "block";
</script>
</
Sharepoint:SPSecurityTrimmedControl>

Save the new master page and publish it



How to Hide “My Site” and “My Profile” from the user menu




Go To >> Central Administration



Go To >> Manage Service Application


Go To >> User Profile Service Application




Select From the ribbon >> Manage




Select >> Manage User Permission






Choose a group then uncheck the two check boxes >> “Use Personal Features” and “Create Personal Features”

NB: the SPfarm account will not be affected




Click >> Ok




Check your menu            ( Make sure to ctrl+f5 )

NB: This may take several minutes depending on the environment (If you can’t see the new rules being reflected in the site. You can restart “User Profile Service”)



Displaying a custom property My Settings

Displaying a custom property My Settings

During the creation of the custom property these are to be considered

o    'Default User Profile Subtype', 'Show in the profile properties section of the user's profile page'
o    'Show on the Edit Details page' are checked.
o    The Policy Setting is Optional,
o    the default privacy setting is everyone (and greyed out),
o    User can override is not checked (and greyed out),
o    Replicable is checked.
o    Allow users to edit values for this property is checked.
o    Index is checked

In Central Administration

o    Run the 'User Profile to SharePoint Quick Synchronization'
o    'User Profile to SharePoint Full Synchronization' timer jobs.




Thank You

Access SharePoint Libraries using windows explorer Using UNC Urls

Access SharePoint Libraries using windows explorer Using UNC Urls 


     Start the server manager on your server
      Select the Feature node from the left hand side nodes.
    On right hand side, select Add Feature.
    On the popup screen, select “Desktop Experience” checkbox then click on Next.
       Click on Install, the installation process will take like 5 min (that depends on server hardware)
      After installation process finish, close the dialog box
       After installing the Service, you need to restart your server.






ToChange to UNC Urls
Example:
è
\\sp2010@45579\ToBeSignedDocumentLibrary\

OpenWindows explorer and paste the URL 
And Done.

Thank You.

June 22, 2012

Share the Experience - Spread the Knowledge

I do believe that knowledge is a right  for every one, I believe that the experience must be shared, so here is  my blog to share a very minor experience in the world of SharePoint.