The specified program requires a new version of Windows. (Exception from HRESULT:0x8007047E)

Scenario: I have a custom list definition based on which I want to create some lists and associate OOB approval workflow with them for content approval. In the schema.xml file for my custom list definition (based documents library i.e., basetype=1), I set ModeratedList=“True” attribute among others (see in the code snippet below) <List xmlns:ows=”Microsoft SharePoint” […]

Read More

Associating OOB Approval workflow with custom list for different Locale (LCIDs)

Scenario: I have a custom web template that is used to provision the site. Among other things (branding etc), a custom documents library is provisioned whenever a new site is created (also based on my custom documents library template). Besides creating the custom library, I need to associate the OOB Approval workflow with the library that […]

Read More

“Updates are currently disabled in GET requests” exception while provisioning multiple site collections

Scenario: Recently i was working with creating site provisioning in SharePoint 2010. For that I have a list where user submits the request for the site that needs to be created (along with some required metadata). Then I have scheduled the timer job that picks up items from that list (based on the status), iterates […]

Read More

Incorrect values for User Fields while copying list items from one site collection to another

Scenario Recently, I was writting a piece of code to copy list item from a list in one site collection to the list in another site collection. I did the shallow copy (copying field by field). Both the lists were created using same List definition so they had same fields and content types etc. The item […]

Read More

Creating loosely coupled and generic process steps implementation

Recently, during one of the SharePoint implementations we came across the requirement to build the workflow for site provisioning engine that we are developing. One of the requirements of the process is to rollback everything that we create/modify if there is any problem/exception during the process. So for example, if we created the site collection […]

Read More