Learning SharePoint – Part II

I have made some serious progress since my last post.  I found this very handy extension method, which adds a TryGetValue to SPListItem. 1: // Credits: http://blog.mastykarz.nl/obtain-fields-values-splistitem/comment-page-1/#comment-11076 2: internal static bool TryGetValue<T>(this SPListItem listItem, string fieldName, out T value) 3: { 4: value = default(T); 5:  6: try 7: { 8: object candidate = listItem[fieldName];…

1

Learning SharePoint – Part I

I am on a special project that requires I do a deep dive into SharePoint and fast.  I told my director that I would be blogging as I learn, if only to force me to repeat everything I learn so it all sticks!   I have been using SharePoint since its inception and have done a…

0