Misc SharePoint Development Notes

Miscellaneous SharePoint development notes.

Get SharePoint local 12 hive path

Microsoft.SharePoint.Utilities.SPUtility.GetGenericSetupPath()

How to change/update a field using a field control such as TextField

TextField title = (TextField)FieldControls["Title"];
title.UpdateFieldValueInItem();
Advertisements