.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

Client Object Model Resource Center | SharePoint 2010

Posted By:      Posted Date: August 26, 2010    Points: 0   Category :SharePoint
 
Are you creating client applications that access SharePoint data remotely? Find overviews, guidelines, and programming tasks for all three flavors of the SharePoint Foundation client object model: .NET managed, Silverlight, and ECMAScript.


View Complete Post


More Related Resource Links

Quick Note: Building WPF Applications by Using the SharePoint 2010 Client Object Model

  
Learn how to create a Windows Presentation Foundation (WPF) application that uses the SharePoint 2010 client object model to retrieve data from a SharePoint Web site.

Using the SharePoint Foundation 2010 Managed Client Object Model with the Open XML SDK 2.0

  
Write client-side applications that work with Open XML documents that are stored in document libraries by using these two technologies together.

Using the SharePoint Foundation 2010 Managed Client Object Model

  
Write applications that are based on the .NET Framework and access SharePoint content from clients without installing code on the server that runs SharePoint Foundation 2010.

Video: Overview of the SharePoint 2010 Client Object Model

  
In SharePoint 2010 there are a number of object models that can be used by developers to access the server. For example, the Client Object Model (Client OM) can be accessed via Web services, via a client (JavaScript) API, and via REST. (Length: 12:22)

Video: SharePoint 2010: Silverlight Client Object Model

  
In this video you will learn how to use the SharePoint client object model to program a Silverlight application against SharePoint data. (Length: 9:03)

Video: SharePoint 2010: ECMAScript Client Object Model

  
In this video you will learn how to use the SharePoint client object model to program a ECMAScript application against SharePoint data. (Length: 8:20)

Video: Developing .NET Applications by Using the SharePoint 2010 Client Object Model

  
This demonstration shows how to use the client object model from a console application. (Length: 8:47)

Video: Developing Silverlight Applications by Using the SharePoint 2010 Client Object Model

  
This demonstration shows how to use the client object model from a Silverlight application. (Length: 11:15)

Video: SharePoint 2010 Data and the Client Object Model

  
This video provides an overview of how to use the client object model from a Windows Presentation Foundation application. (Length: 5:38)

SharePoint 2010 Client Object Model Issue

  

Hi,

I want to make a windows form (VS 2010, C#.NET), where you can connect to a specific list on a SP site and display all the items in a Data Grid View.

I made the connection to x site and y list and display them to a treeview. When i add the list to the tree view, i set the property Tag to it and assign as value the name of the list. Then through the NodeMouseClick event handler i get the current list is selected in the tree view.

The next step i want to display all the items from the list in a Data Grid View (windows form).

The event handler code is here:

    private void farmExplorer_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
    {
      try
      {
        colNames.Items.Clear();
        if (e.Node.Tag != null)
        {
          selectedList = ((SP.List)e.Node.Tag);
          String newUrlToLoad = currentUrl.ToString() + selectedList.ParentWebUrl;
      
          using (SP.ClientContext ctx = new SP.ClientContext(newUrlToLoad))
          {
            SP.Web webToLoad = ctx.Web;
            SP.List myLis

SharePoint 2010 Client Object Model upload size limit

  

Hello,

for the client object model i found 2 methods for uploading files:

  • Microsoft.SharePoint.Client.File.SaveBinaryDirect
  • Mircrosoft.SharePoint.Client.FileCollection.Add

The 1st methods use a stream and the 2nd use a byte-array as parameter. This morning i noticed that with the Add-Method of the FileCollection-Class I only can upload files which are smaller than 3 MB. With larger files I get always the exception (400 - Bad request).

The SaveBinaryDirect-Method seem to have no upload size limit. I can upload files which are 50 MB large. Unfortunatley it gives me no return value, but i like to get an object with id/guid for later operations (update/delete).

Is it possile to change the upload size limit for the add-method?

Thanks for help!


Can't add item using client object model of sharepoint 2010 with read only permission to user.

  

Hi

I have already developed Silverlight application in SharePoint 2010 using client object model.

But I have one scenario that user can comment on the item, so there is a update operation come in picture for user, but user have read only permission to site.

So please help me resolved this problem.

We can use Run with elevated privileges method in SP object model. I think Silverlight client object model don’t support this method.

Is there any alternative workaround to solve this problem?

Tha


SharePoint 2010 site using FQDN and Silverlight Client object model issues

  

I am working a FQDN installation of SP2010 site and I am having touble connecting to it from Silverlight, when my Silverlight app is running outside that SP2010.
Just to include the note, that if I use the CLR client object model, from a Console Application, I am able to connect to the FQDN SP 2010 site, and get all data I need. Using the CLR and monitoring with fiddler there are two consequent requests made: first GET to http://my_sp2010_site_fqdn/_vti_bin/sites.asmx, then POST to http://my_sp2010_site_fqdn/_vti_bin/client.svc/ProcessQuery and Everything works fine.
However when it comes to the Silverlight Client I have troubles.
If I put my silverlight application in a web part inside my site, it works. If I put it on a regular site, outside SP - it does not work and following behavior is observed:

There is initial request sent to
http://my_sp2010_site_fqdn/_vti_bin/sites.asmx
but there is no consequent request to http://my_sp2010_site_fqdn/_vti_bin/client.svc
That second request does not even show up in fiddler.

private ListItemCollection _projects;
...

ClientC

Sample: Accessing SharePoint 2010 Data with the .NET Client Object Model

  
Explore the code in this visual how-to article as you learn to use the SharePoint 2010 managed client object model to read and write data in SharePoint sites from Microsoft .NET Framework-based applications.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend