Friday, September 7, 2012

Accessing items of external list

I was working with external list and was trying to access some of the items. But then i get to know that when you want to access the list items of external list, you cannot use ID field. You need to use BdcIdentity field to work with these items.

Another point that i noted after getting those items is that you have to iterate items by using SPListItemCollection and inside that SPFieldsCollection for that item to get values of the fields. you directly cannot get the value.

I hope this helps.

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