Friday, 31 July 2009

Hosting InfoPath forms inside XmlFormView

First add:

 

<SafeControl Assembly="Microsoft.Office.InfoPath.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.Office.InfoPath.Server.Controls" TypeName="*" Safe="True" />

 

To the safe controls of the web.config.

 

 

Then go to the sites Gallery, appending the link : _layouts/NewDwp.aspx

 

Find “Microsoft.Office.InfoPath.Server.Controls.XmlFormView”

 

And add it to the gallery.

 

Thursday, 2 July 2009

SPEventReceiver Events

Remember that the ItemUpdating , ItemAdding events are the Synchronous ones which mean you can actually cancel them in your code and flag this up to the user, these events should be used as appose to the ItemUpdated , ItemAdded events which fire asynchrously.

 

Wednesday, 1 July 2009