object
How We Did It: BDC Meta Man Web Edition
July 6, 2009 by Staff · Leave a Comment
For today’s guest post, I’d like to introduce Nick Swan and Phill Duffy. Nick founded Lightning Tools with Brett Lonsdale in 2006 and BDC Meta Man was a result of their efforts. Fast forward to 2009 and Phill Duffy is part of the team (Nick Swan, Brett Londsdale, Dmitry Kaloshin, Michael Gamza, Hrayr Diloyan, Ashot Brahamyan, Karen Khumaryan & Hrachya Bekverdyan) that built and launched BDC Meta Man Web Edition. This post gets into the decisions and components they used to build a custom SharePoint solution. Enjoy! Introduction BDC Meta Man Web Edition was born from the success of BDC Meta Man and from listening to our users about how they wanted to interact with SharePoint and the Business Data Catalog. We certainly had our work cut out for us as BDC Meta Man is hugely successful and a hard act to follow. One of the surveys conducted by Lightning Tools a short while ago showed that users were asking the question as to why, when SharePoint can communicate with their Line-of-Business Systems, they need to use a desktop application to create the Application Definition File to do so.
See the original post here:
How We Did It: BDC Meta Man Web Edition
object
Extending SharePoint: Checking if a List exists
July 6, 2009 by Staff · Leave a Comment
A common problem when working with the SharePoint Object Model is getting a handle to a list. Very often we find ourselves writing this: 1: try 2: { 3: using (var web = site.OpenWeb()) 4: { 5: if (web != null ) 6: { 7: try 8: { 9: var list = web.Lists[ListTitle]; 10: } 11: catch (ArgumentException) 12: { 13: web.Lists.Add(ListTitle, ListDescription, SPListTemplateType.GenericList); 14: } 15: } 16: else 17: { 18: Console.WriteLine( “Unable to open web site.” ); 19: } 20: } 21: } 22: catch (Exception ex) 23: { 24: Console.WriteLine(ex.Message); 25: } This adds a list if it doesn't exist on the site
Go here to read the rest:
Extending SharePoint: Checking if a List exists
object
Embedding an Open XML File in another Open XML File
June 30, 2009 by Staff · Leave a Comment
A couple of weeks ago I gave a presentation on the Open XML SDK to a few customers, where I was asked questions on how to embed files within Open XML documents. I thought it would be a good opportunity to devote a couple of posts around this topic. In today’s post I am going to show you how to embed an Open XML file in another Open XML file
Original post:
Embedding an Open XML File in another Open XML File
