Step by Step: How to Assign Unique Item Permissions in a Task List Using Custom Code

Written by Denis Stadler on . Posted in Custom Development

The business requirements are quite clear in this case:

  • There is a task list that should be used for work assignments management
  • Only the site administrators can modify the task list items
  • The person(s) in the Assigned To field must have the security rights to edit only that item

The solution: a custom event receiver that modifies the item permissions.

Let’s create a new Event Receiver SharePoint project in Visual Studio with the following coordinates: List Item Events as type, Tasks as event source and item added and updated as events to handle.
item-added-item-updated

Step by Step: How to Use Outlook 2010 Meeting Requests with SharePoint 2010 Meeting Workspaces

Written by Denis Stadler on . Posted in Collaboration

The business scenario is quite simple: a user creates a meeting request in Outlook, but he wants to have a space where he and the other attendees can share information about the meeting.

I will split the configuration steps needed to achieve this requirement into two categories: the IT administrator’s job and the user’s tasks.

The Administrator – SharePoint 2010

From the technical point of view I think the optimum solution is to create a new site collection that is going to host all the SharePoint Meeting Workspace web sites. If you estimate that you are going to have a lot of web sites, consider implementing the Site Collection into an isolated content database.

To do this, in the Central Administration -> Application Management open the Manage content databases page. For the web application that will hosts the sites add a new content database.

Now we need to be sure that we are going to deploy our new site collection into the newly created database. To achieve it, we have to create the new it using Power Shell: