Powered By Blogger

Monday, August 22, 2011

Things I learnt from Support - How do I set Alerts for a Distribution List?


Pre-requisite: The group (or the Distribution List) that you are setting up the alert for has to be a mail-enabled security group.
 
1. Navigate to Site Settings -> People and Groups ->    <Site> Visitor group.
2.  Add the Distribution List as a user in the <Site> Visitor Group
3.  Go to the List where you want to set up the alert.
4.  Navigate to Actions -> Alert Me. Create a New Alert with the Distribution List as a user in Send Alerts To  field.
5.  Make sure the List inherits the permission of the parent site.

Things I learnt from Support - Can't Rename if Can't Delete


Can't rename if you can't delete
The ability to delete items in SharePoint is managed via the permission "Delete items from a list, documents from a document library, and Web discussion comments in documents". However if you revoke this permission, the user is no longer able to rename documents either. They can change all other properties but cannot rename.

I have since then reviewed the SharePoint Object Model in more detail and according to the SPFileCollection Class (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/tscSPFileCollection_SV01013559.asp), SharePoint only has 2 document management options - add and delete. Hence the rename of the file is effected by SharePoint as creating a copy of the file with the new filename and then deleting the old file.

So if the user can't delete - they can't rename. Unfortunately there is no workaround since the permissions don't go any more granular than this.