SharePoint: Programmatically Creating InfoPath Form Instance Documents Part 2 of 2

Continuing on from part 1 of this 2 part series, we discovered the hows and whys of creating InfoPath form instance documents. This post brings together that information and demonstrates the code steps required to create an InfoPath form instance document and post it to a SharePoint document library. First we’ll grab the SharePoint content [...]

Read more

SharePoint: Programmatically Creating InfoPath Form Instance Documents Part 1 of 2

In this series of posts we will be creating InfoPath form instance (XML) documents programmatically using the SharePoint object model. In contrast to other articles about this subject, we will extract the goo required directly from the InfoPath form XSN file itself, the correct  InfoPath XSN file will be determined by the Content Type associated with [...]

Read more

SharePoint: Using the SharePoint Object Model with InfoPath Form Code Behind Part 3 of 2

Like the Spanish Inquisition, “Our chief weapon is surprise…surprise and fear…fear and surprise…. Our two weapons are fear and surprise…and ruthless efficiency……” In part 1 of this 2 part series we created an InfoPath form which used the SharePoint Object Model in it’s code behind to create new Task list items. In part 2 of [...]

Read more
ft-par-conv

Mac: Converting a VMWare Fusion Virtual Machine to Parallels Desktop

I’ve been using Parallels Desktop for Mac for nearly 2 months now as my day to day virtualization platform for SharePoint development, having shifted over to Parallels from VMWare Fusion 4, I have to say I’m very happy with the experience and the pro’s I outlined in a previous post have all continued to be [...]

Read more
ft-doclibevent

SharePoint 2010 Document Lifecycle from an Event Receiver Point of View

On a recent project I needed to write an Event Receiver for a document library which set item level security on the document library items. Given the nature of document content management and the various ways in which a document library can be configured (content types, approval, check-in/out, versioning etc) I needed to understand the [...]

Read more
ft-pie

Round Box Effects in SharePoint with CSS3Pie

Boxes with rounded corners seem all the rage these days, unsurprisingly perhaps, since there seems to be some neuro-biological factors which make rounded corners easier on the eye, or perhaps that should be the brain (I saw some random post about the subject somewhere, probably off twitter). So looking at how you can get this effect [...]

Read more
ft-newform

SharePoint 2010 Create and Update List Forms Programmatically

In this post, somewhat inspired by @BinaryJam‘s series on list form customisation using SharePoint designer, we will create a new (New Item) list form and update an existing Edit form programmatically, and add the SPServices autocomplete feature to both forms of an existing list. The SPServices autocomplete will be attached to a list column which [...]

Read more
ft-caml

Provisioning a SharePoint 2010 List Instance Causes Exception in a Site Scoped Feature

Provisioning a list using the ListInstance element causes an exception, if the element is included in a Site scoped feature and the RootWebOnly attribute is set to TRUE. Setting RootWebOnly to FALSE, or removing the attribute, works as expected. If the ListInstance element, as shown above, is included in a Web scoped feature, it works [...]

Read more
Follow

Get every new post delivered to your Inbox.

Join 88 other followers