Monday, September 19, 2016

Validating SharePoint list data by using PreSaveAction involving JSOM Asynchronous call

In the previous post I had shared validating SharePoint list data that invlolved JSOM asynchronous call by overriding the PreSaveAction . The same requirement can also be accomplished without over riding the presaveaction.

Approach would be when the call is succeded or failed I am creating delegate on executeQueryAsync call with call back. On success we will posting the data manually to SharePoint list or on failure I willnt post any data to SharePoint list by returning false.



Output


No comments:

Post a Comment