dataBridge > dataBridge Sharepoint Tips Blog > Posts > “The SharePoint 2010 EcmaScript Client Object Model: Part 1”
dataBridge Sharepoint Tips Blog
June 07
“The SharePoint 2010 EcmaScript Client Object Model: Part 1”

When SharePoint 2010 was released Microsoft had the foresight to include the ability to access the underlying SharePoint objects (lists, libraries, webs, site collections) at the client level vs. the SharePoint server object model.

SharePoint 2007 did give end users the ability to access data via web services but this was a relatively clunky way to get at these SharePoint objects (although the SPServices JavaScript library did make this somewhat easier – see

Now anyone who has a functional understanding of JavaScript can do some amazing things without having to resort to the awkward if not sometimes rigid walls put up by System Administrators.
Take a look at this sample JavaScript (from now on I’ll use that vs. Microsoft’s coinage of EcmaScript) code to see just how simple it is to access SharePoint web information.
                ExecuteOrDelayUntilScriptLoaded(getWebSiteData, "sp.js");
                var context = null;
                var web = null;
                function getWebSiteData() {
                                context = new SP.ClientContext.get_current();
                                web = context.get_web();
Function.createDelegate(this, this.onSuccessMethod),
Function.createDelegate(this, this.onFailureMethod));
                function onSuccessMethod(sender, args) {
                                console.log('web title:' + web.get_title() + '\n ID:' + web.get_id());
                function onFaiureMethodl(sender, args) {
                                console.log('request failed ' + args.get_message() + '\n' + args.get_stackTrace());
       Now this code does nothing special, but does display the web title and GUID in the JavaScript console window.
Not really that exciting but next time we’ll go over what this code does, how it does it and then we’ll begin the task of creating a JavaScript slideshow from a SharePoint picture library.
By the end of this series you should be able to access a SharePoint list and do just about anything with it, including updating data. We’ll accomplish this by using real-world examples that you can use on your own SharePoint sites.


I will assume you have a fairly good understanding of SharePoint site collections, webs, lists/libraries and columns.


Guy Davis -


 on 1/8/2017 8:35 PM


 on 1/20/2017 9:42 PM

 on 4/5/2017 3:52 AM

Re: “The SharePoint 2010 EcmaScript Client Object Model: Part 1”    Michael Kors Clearance    Pandora Official Website    Michael Kors    Pandora Store Sale    zapatilla adidas    Doudoune Moncler Femme Pas Cher    louboutin heels    Air Max Femme    womens nike air max    23 IS BACK Store   Toms Outlet Online    Nike Air Huarache For Sale    Ugg Pas Cher Femme    pandora beads    Doudoune Moncler Pas Cher    Bottes Ugg Femme Pas Cher    fitflops sale uk    Doudoune Moncler Site Officiel    nike jordan shoes    Adidas Superstar    Adidas Superstar Sale Online    vans shoe store    Yeezy Men    Nike Outlet    ugg factory outlet    Nike Air Jordan 11    Air Nike    hogan scontate    Air Max Kopen   toms shoes outlet    goedkope nike air max    Air max levně    Toms Factory Outlet    Oakley Sunglasses Cheap    Official Toms Shoes Outlet    Nike Air Pas Cher    Ugg Outlet Online Store    Adidas Originals Stan Smith    Nike Air Sneakers    ugg clearance    Nike Shoes Discount Marketplace    nike air    Hogan Outlet    nike shoes    Ugg Pas Cher En France    TOMS SHOES OUTLET    Jordan Store    Discount Air Max    Air Max 90    Boost Yeezy Sale On Line    new jordan releases    longchamp bags on sale    nike tn pas cher    pandora jewelry store    coach factory outlet online    chaussure Nike homme    Chaussure Air Max    günstige nike schuhe    Ray-Ban Official Discounted Site    Pandora Store    Nike Pas Cher Femme    Cheap Toms Shoes Outlet    Air Max Pas Cher    Scarpe Air Max    Moncler Outlet Store    Nike Roshe Run Sale    Kobe Shoes Nike    Uggs Pas Cher Soldes    Cheap Air Max Trainers    moncler jacket sale    nike air jordan pas cher    Nike Store    Pandora Store    adidas outlet    Nike Factory Store    Cheap Michael Kors Tote Bag    billige nike sko    Boutique Ugg    nike joggesko    Timberland Outlet    Boty Nike Air    cheap uggs    pandora outlet store    Moncler Sale    Jordan Sneakers For Sale    zapatos de futbol nike    new pandora charms    Nike Air Max Goedkoop    christian louboutin outlet    Air Max Sneakers    nike mercurial soccer cleats    TOMS For Sale    Yeezy Shoes Discount Marketplace    Nike Air 90    Original Ugg Boots    suivre un envoi    Jordan Schoenen    canada goose jacket outlet    abercrombie and fitch store    Canada goose dam    botas de futbol    cheap nike air max    Cheap Michael Kors    Yeezy Boost Sale Online    Michael Kors Handbags Discount    Nike Zapatos    Yeezy Black    air force one pas cher    zapatillas nike baratas    retro jordans for cheap    Descuentos Nike    Moncler Jackets Discount Marketplace    chaussure basket homme    Jordan Shoes Air    Nike Air Max Cheap    canada goose jackets on sale    nike sportschuhe    huarache sneakers    cheap uggs for women    Moncler Outlet Online    reebok running shoes    Stone Island Outlet    nike sb stefan janoski    Nike Online Store    nike schuhe günstig    Canada Goose Outlet    Michael Kors Outlet    nike sneakers    Cheap Toms Outlet Store    Air Jordan Retro Sale    Hugo Boss Sale    Ugg boots Sale    toms sale    Uggs For Cheap    Ray ban sale online    zapatillas running    Nike Soccer Cleats Boots    Coach Bags On Sale    Adidas Shoes Discount Marketplace    Adidas Neo Discount Sale    Nike Tn Requin Pas Cher    newest lebron shoes    Adidas Originals Superstar    UGG BOOTS FOR WOMEN    Canada Goose Womens Coats    ADIDAS NMD SALE ON LINE    Canada Goose Outlet    scarpe nike    prada outlet    Ray Ban Sunglasses Online    Vans Black Sneakers    Air max dam    TOMS OUTLET    scarpe hogan outlet    Nike Shox discount Sale    Nike Shox Cheap    new yeezy shoes    Nike Air Damen    ugg store    converse store    Nike Shoes Sale Store    official NHL jerseys    nfl store    adidas store    Chaussure Nike Air Max Pas Cher    Nike Air Women    Discount TOMS    Soccer Boots Outlet nike    chaussures nike pas cher    Negozi Pandora    nike air max running shoes

CCMrs 17.4.19
 on 4/19/2017 4:47 AM


20170619 leilei3915
 on 6/19/2017 5:49 AM


20170619 leilei3915
 on 6/19/2017 6:02 AM


20170624 leilei3915
 on 6/24/2017 9:19 AM

Add Comment


Body *

Captcha *




 About this blog

About this blog
Welcome to SharePoint Blogs. Use this space to provide a brief message about this blog or blog authors. To edit this content, select "Edit Page" from the "Site Actions" menu.