This figure shows the overall architecture of the Client Object Model. Object Model supports multiple platforms.
The default master pages of SharePoint define a ScriptManager control, which automatically includes references to these. You could also reference them by yourself.
Next let us look at an example as an introduction on how to use JSOM. In order to retrieve a List instance and show its Title property, first you should reference the SP. You can use the SharePoint: ScriptLink control to reference.
ScriptLink control accepts a set of arguments, including the following: The core of the block is in the method retrieveContacts. In this method, we get a reference to an SP.
Licensed under a Creative Commons attribution-noncommercial grupobittia.com code in this book may also be considered licensed under an MIT license.. Illustrations by various artists: Cover and chapter illustrations by Madalina Tantareanu. The Document Object Model (DOM) is the model that describes how all elements in an HTML page, like input fields, images, paragraphs etc., are related to the topmost structure: the document itself.