Skip to main content
added 6 characters in body
Source Link
Eric Alexander
  • 43.3k
  • 10
  • 54
  • 93

wheneverWhenever we add some new record in sharepointto a Sharepoint list. the ID column gets unique number by itself. iI want to get that number after adding record. likeFor example, when we add new record in sql server table and if there is some identity column. we get its auto generated id column value by @@IDENTITY... I need a similar thing i need with sharepointfor a Sharepoint list and ID column.

pleasePlease provide some reference or code sample. iI hope there is some built in feature for doing it as i dontI don't want to query my data after adding to get its id column value. lookingLooking for some efficient way.

Thanks

whenever we add some new record in sharepoint list. ID column gets unique number by itself. i want to get that number after adding record. like when we add new record in sql server table and if there is some identity column. we get its auto generated id column value by @@IDENTITY... similar thing i need with sharepoint list and ID column.

please provide some reference or code sample. i hope there is some built in feature for doing it as i dont want to query my data after adding to get its id column value. looking for some efficient way.

Thanks

Whenever we add some new record to a Sharepoint list the ID column gets unique number by itself. I want to get that number after adding record. For example, when we add new record in sql server table and if there is some identity column we get its auto generated id column value by @@IDENTITY. I need a similar thing for a Sharepoint list and ID column.

Please provide some reference or code sample. I hope there is some built in feature for doing it as I don't want to query my data after adding to get its id column value. Looking for some efficient way.

Source Link

get auto generated unique id from list after saving new record

whenever we add some new record in sharepoint list. ID column gets unique number by itself. i want to get that number after adding record. like when we add new record in sql server table and if there is some identity column. we get its auto generated id column value by @@IDENTITY... similar thing i need with sharepoint list and ID column.

please provide some reference or code sample. i hope there is some built in feature for doing it as i dont want to query my data after adding to get its id column value. looking for some efficient way.

Thanks