2

Will there be any problems (e.g. save conflicts) if several users at the same time will try to programmatically add SPListItem to SPList?

public override void Add(Contract contract)
{
    var listItem = List.Items.Add();
    GetListItem(contract, listItem);
    listItem.SystemUpdate(false);
}

protected override void GetListItem(Contract contract, SPListItem listItem)
{   
    listItem[Fields.Title] = contract.Name;
    listItem[Fields.BeneficiaryBirthdate] = contract.BeneficiaryBirthdate;
    ...
}
0

No,

There will be no save conflict when multiple users will add new item to the SharePoint List.

0

As it is new Item, it wont give any error! if its update then you will get error if same item is getting updated by different users at same time

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.