locked
Silverlight webpart and external list RRS feed

  • Question

  • Hi!

    I create Silverlight webpart, who I display my external view and I add new item to this list.

    I created this list in SharePoint Designer in new external content type, than I created the external list.

    My question is this is the best way to display external items, or better If i call the stored procedure, table or view in the code with services?

    I'm afraid if I want to read thousands of data, it will be too slow.

    Thanks,

    Niki

    Tuesday, July 17, 2012 6:58 AM

Answers

All replies

  • You can leverage the Silverlight client obejt model to query the list in Silverlight.  All requests are asynchronous and to maintain performance, set a row limit on your query and views.

    I think this post covers what you are looking for:

    http://social.technet.microsoft.com/forums/en-us/sharepoint2010programming/thread/E0F238E7-EC5B-49E7-A87C-7D70208AF4D6


    -Dan Keeling Blog (http://dankeeling.blogspot.com/) or Follow me on Twitter @DanKeeling

    • Marked as answer by Hun_Niki89 Thursday, July 19, 2012 12:33 PM
    Tuesday, July 17, 2012 8:22 AM
  • Hi As per me,

    Its good to call the stored procedure, table and view with use of services to have data into silverlight webpart.

    Bcaz I feel, if you are using external list in silverlight webpart.. you are adding one extra layer of sharepoint to have data.

    Siliverlight -> external list (sharepoint) -> Service -> Stored procedure/table/view. In place of doing this,idle way is Silverlight -> Services -> Stored procedre/table/view.


    Regards, Dharnendra Shah, MCTS,MCPD - Sharepoint 2010 Application Development Blog: http://ds-sharepoint2010blogs.blogspot.in/ Email: shahdg2003@gmail.com

    Tuesday, July 17, 2012 8:28 AM
  • Thanks, for the replies.

    Someone could show me a good example, how can I use Silverlight -> Services -> Stored procedure... in sharepoint webpart solution?
    Tuesday, July 17, 2012 9:34 AM