Tuesday, April 19, 2011

Determine External List in SP2010

There is a new concept in SharePoint 2010 which is called external list. you can fetch data from external entities and LOB. we soon are going to see in detail how we can get the data from external entities.

This is the simple method to determine if the list is external list or regular internal list of SharePoint. this may be important at some point because external list does not participate in workflows and event handlers. we cannot attach handlers on external list.

list.HasExternalDataSource is the property which tells us that the list is external source or not. (where list is a list object of which you want to check)

No comments:

Share your SharePoint Experiences with us...
As good as the SharePointKings is, we want to make it even better. One of our most valuable sources of input for our Blog Posts comes from ever enthusiastic Visitors/Readers. We welcome every Visitor/Reader to contribute their experiences with SharePoint. It may be in the form of a code stub, snippet, any tips and trick or any crazy thing you have tried with SharePoint.
Send your Articles to sharepointkings@gmail.com with your Profile Summary. We will Post them. The idea is to act as a bridge between you Readers!!!

If anyone would like to have their advertisement posted on this blog, please send us the requirement details to sharepointkings@gmail.com