SharePoint - programmatically add list items and set identifier

I need to create list items in sharepoint as well as set the ID field. However, when I try to do this, when I read only, I get an error message. Is there a way to set the value of an ID column when programmatically creating items in a sharepoint list?

As a side note, the reason I need to do this is that I need to add items to two hit lists, where the second uses the id column of the first as a search.

thanks

Kamran

+3
source share
6 answers

, . , .

, , . - , .

+4

, . . , , , , UniquID spListItem. GUID, .

+1

, - Flo one, . , , ?

+1

, . buisness,

0

, , OOB, , , . , listItem listItem.
, , .

0

Source: https://habr.com/ru/post/1706723/


All Articles