HOW TO: Programmatically delete a single instance of a recurring event in a SharePoint calendar

This blog post is a contribution from Kevin Jacob Kurian, an engineer with the SharePoint Developer Support team. When we edit a single instance of a recurring event, it actually creates a new instance of the event and deletes the old one.  The old instance is deleted by setting certain attributes of that particular instance. …

3

HOW TO: Display runtime-generated data in a ListView control in SharePoint web part

This blog post is a contribution from Bharat Rathod, an engineer with the SharePoint Developer Support team. We often find that ListView control is used to display data which is fetched from a database directly.  After reading a lot of articles where I could not find the specific article that talks about using a generic…

0

Using SPSite and SPWeb objects with RunWithElevatedPrivileges: Don’t cross the borders

This blog post is a contribution from David Wilborn, an engineer with the SharePoint Developer Support team. Although it’s mentioned in the SPSecurity.RunWithElevatedPrivileges documentation, I find that there is still often a lack of clarity for developers when using SPSite and SPWeb objects in conjunction with RunWithElevatedPrivileges delegate. The mistake I see the most often…

6

SharePoint Workflow Architecture – Part 3

This blog post is a contribution from Andy Li, an Escalation Engineer with the SharePoint Developer Support team. Andy is one of the Escalation Engineer with the SharePoint Developer Support team.  The series of posts on Workflows are his contribution for the community to better understand the internals of workflow runtime and how it interacts…

9

SharePoint Workflow Architecture – Part 2

This blog post is a contribution from Andy Li, an Escalation Engineer with the SharePoint Developer Support team. Andy is one of the Escalation Engineer with the SharePoint Developer Support team.  The series of posts on Workflows are his contribution for the community to better understand the internals of workflow runtime and how it interacts…

0

SharePoint Workflow Architecture – Part 1

This blog post is a contribution from Andy Li, an Escalation Engineer with the SharePoint Developer Support team. Andy is one of the Escalation Engineer with the SharePoint Developer Support team.  The series of posts on Workflows are his contribution for the community to better understand the internals of workflow runtime and how it interacts…

2

Workflow name in workflow history list

This blog post is a contribution from Balaji Sadasivan, an engineer with the SharePoint Developer Support team. Issue In order to audit workflows, we require to see the name of the workflow in the history list. Cause Currently the workflow history has no provision to show the workflow name. Workaround Create a new workflow history…

3

Rerouting users to a custom page after multiple page upload

This blog post is a contribution from Balaji Sadasivan, an engineer with the SharePoint Developer Support team. Puzzle In MOSS 2007 and SharePoint 2010 you can reroute the user to a custom page after they complete uploading documents to a document library to by changing the source parameter in the query string URL like what’s…

0

HOW TO: Prevent users from pressing back button after signing out from a SharePoint site

This blog post is a contribution from Charls Tom Jacob, an engineer with the SharePoint Developer Support team. Scenario: In SharePoint, the sign out is complete only when you actually close the browser window.  As shown below, SharePoint asks you to close the browser after sign out: “You must close your browser to complete the…

2

HOW TO: Prevent site deletion with a custom event receiver

This post is a contribution from Charls Tom Jacob, an engineer with the SharePoint Developer Support team. In this blog I will describe how to develop a custom site event receiver to prevent users from deleting a SharePoint site. By default, any user with the sufficient permission can delete a site. This custom solution can…

6