Tuesday, August 25, 2015

SharePoint Hosted App - JSOM CRUD

Download the code from MSDN Gallery

You might find useful to start learning on SharePoint hosted app development using Javascript object model.

Here I have implemented the simple registration form with CRUD operation.
There will be a html table to bind the all SharePoint list items and each row will contains the link to delete and edit the corresponding record.

To wrap up the simple app, I have used the jQuery Modal dialog to show the details for update and delete confirmation.

You will find the useful code snippets on how to retrieve and populates the values in checkbox / dropdown list using jQuery.

And also how to bind the click events to the link or cell in this application.