tag:blogger.com,1999:blog-3739525582411091001.post6331988518440779060..comments2023-06-11T05:14:03.949-07:00Comments on SharePoint Served: Get next item ID from a SharePoint Document Library using RESTPrasathhttp://www.blogger.com/profile/06697356352311369520noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-3739525582411091001.post-35543020109234225872018-06-28T04:08:47.510-07:002018-06-28T04:08:47.510-07:00But Suppose you had deleted all items from list th...But Suppose you had deleted all items from list then what happens in this case?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3739525582411091001.post-23444062728367828772017-03-26T20:56:12.040-07:002017-03-26T20:56:12.040-07:00No, You cannot recreate an ID. If you want it to b...No, You cannot recreate an ID. If you want it to be sequential, then you need to export the list item to a new list.Prasathhttps://www.blogger.com/profile/06697356352311369520noreply@blogger.comtag:blogger.com,1999:blog-3739525582411091001.post-397170795430615272017-03-26T17:31:27.479-07:002017-03-26T17:31:27.479-07:00Is there a way to get the next item ID which handl...Is there a way to get the next item ID which handles deleted items too? E.g. If you have 10 items, but delete item#10, if you run this code it will get the highest item ID (9), add 1 to give you a next ID of 10 - however if you actually add an item it will be item ID 11 because 10 was deleted...EsCohttps://www.blogger.com/profile/17111590587910932359noreply@blogger.com