none
difference/uses for CSOM,JSOM

    Question

  • Hi in Sharepoint 2013 for the above i cant seem to find the differences and when to use them 

    What is CSOM (Client Side Object model) and what is (Javascript object model).

    When do you use them and how do you use them ?

    Cheers

    Thursday, January 26, 2017 6:53 PM

All replies

    • Proposed as answer by croute1 Friday, January 27, 2017 2:37 PM
    Thursday, January 26, 2017 7:37 PM
  • Hi,

    Please find link below

    https://social.technet.microsoft.com/Forums/office/en-US/6519f654-b818-4bc4-b369-8fbebb72f913/when-to-use-csom-over-jsom?forum=sharepointdevelopment

    CSOM is Client-side object model. The Main advantage of the CSOM is that you do not need to be on the Server to use them in your program. No Compilation required as required on the server side, NO IISRESET required.

    We can use CSOM in SharePoint Provider-Hosted Add-ins.

    JSOM is JavaScript Object Model, we can use the JSOM in SharePoint hosted Add-ins.

    If you want to access some SharePoint resources(like lists, items) from a WinForm application or an ASP.NET application, we can use CSOM to achieve it.

    If you want to access some SharePoint resources from SharePoint page, we can use JSOM or use jQuery Ajax to call REST API.

    If you want to access SharePoint in a Java or PHP application, SharePoint 2013 provide the REST API to meet the requirement.

    For more details,please find the below link
    http://sharepoint.stackexchange.com/questions/93269/csom-vs-jsom-vs-ssom-vs-rest


    Please remember to click Mark as Answer on the answer if it helps you

    Thursday, January 26, 2017 7:46 PM
  • but when do you use these items.

    what is best for CSOM , JSON and rest. ?

    Sunday, January 29, 2017 7:41 PM
  • but when do you use these items.

    what is best for CSOM , JSON and rest. ?

    Sunday, January 29, 2017 7:41 PM
  • If someone still looking for an answer what is csom? jsom etc in SharePoint. Check the below article.

    https://www.enjoysharepoint.com/sharepoint-2013-csom-vs-jsom-vs-ssom-vs-rest/


    Many Thanks,
    Bijay Kumar
    EnjoySharePoint.com | SharePointSky.com | TSInfoTechnologies.com

    Bijay Kumar MVP

    Thursday, July 12, 2018 4:08 PM