First call a ajax function with parameters "/_api/Web/Lists/GetByTitle(ListName)/Items?$orderby=Id desc&$top=1". Now you will get the latest added "Id".Now Divide the Id returned by the ajax by 5000. (Id/5000) So that you will get a result of how many times you need to perform the ajax.Now you can perform the ajax...
Showing posts with label Javascript SharePoint. Show all posts
Showing posts with label Javascript SharePoint. Show all posts
Thursday, March 18, 2021
Friday, July 24, 2020
24
Jul
In this below script, Convert UTC Date Time to local/EST Hours
In this article , we will use default java-script action
Type 1:
var localTime = new Date();
var localKolkata = moment.tz(localTime, "Asia/Kolkata").format("hh:mm:ss");
Javascript script provide date and time format.
Type 2:
function getLocalTime(i)...
Labels:
Javascript SharePoint,
javascript:;,
Jquery
Wednesday, November 29, 2017
29
Nov
I am going to tell you very simple manner to do the CRUD operation using LocalDB with entity framework and how to use code first Database migration.After reading this article you are going to know about,Uses and purpose of LocalDb.Connection string about LocalDb.Model Binding.What is DBContext class ?Step by...