Access External List in SharePoint 2010 With Silverlight

No.of Views1984
Bookmarked0 times
Downloads 
Votes0
By  André Lage   On  14 Nov 2010 09:11:27
Tag : SharePoint , Design and Customization
In this article, i will show to how to Access External List in SharePoint 2010 With Silverlight.
emailbookmarkadd commentsprint

Images in this article missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at info@codegain.com

 

Introduction

Throuhg this article, i was preparing a little example about List result using External and Silverlight and like always I get a surprise not a good one.
 
Normally I use the REST Services to access to my List Data and make the Filter results using URL query Parameter, but for some reason External List cannot be access using REST Services.

After a little research using the http://[Site]/_vti_bin/ListData.svc Service I didn’t find my “CustomContact” List. 

Image Loading

After that I just say, i am totally screwed… but in 2 seconds i remember used DataView Web Part for the External List using SharePoint Designer 2010 and start make a little research how is made and for my surprise I found a CAML View I could use for my Query on Silverlight and I say “Thank you SharePoint Designer 2010”  something you will never hear from me with SharePoint Designer 2007 . 

Image Loading

Access to the CAML Filter and make the query in Silverlight.

Image Loading

After save the CAML Query and clean all parameters don’t use add on my Visual Studio 2010, even being careful adding the CAML I forget add all “<FiedRef>” and this post from the SharePoint Forum help me remember what I need to this CAML Work.
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/e0f238e7-ec5b-49e7-a87c-7d70208af4d6 

Image Loading
Image Loading

Here you have the final result with a Grid displaying the Result from the External List using the Silverlight. 

Image Loading

Conclusion

Hope you liked and hope can help you grab information from External List using Silverlight.

 
Sign Up to vote for this article
 
About Author
 
André Lage
Occupation-Not Provided
Company-Not Provided
Member Type-Senior
Location-Portugal
Joined date-09 Jun 2010
Home Page-Not Provided
Blog Page-Not Provided
 
 
Other popularSectionarticles
Comments
There is no comments for this articles.
Leave a Reply
Title:
Display Name:
Email:
(not display in page for the security purphase)
Website:
Message:
Please refresh your screen using Ctrl+F5
If you can't read this number refresh your screen
Please input the anti-spam code that you can read in the image.
^ Scroll to Top