This sample has been moved to SharePoint-Add-in-JSOM-BasicDataOperations.

 

 

This SharePoint-hosted app demonstrates how to use the JSOM in an HTML page hosted in SharePoint. The sample also demonstrates how to perform many basic tasks with websites, lists, and list items. The following screen shot shows the start page of the Basic Tasks JSOM app.

Figure 1. Basic tasks JSOM app start page

Prerequisites

This sample requires the following:

For more information, see How to: Set up an on-premises development environment for apps for SharePoint.

Key components of the sample

The sample contains the following:

Configure the sample

Follow these steps to configure the sample.

Run and test the sample

  1. Press F5 to build and deploy the app.
  2. In the Basic tasks using the JSOM page:

Change log

First version: September 2012

Related content