How the concurrent for sharepoint list item are are handled.
if two or more users are working on same item. Then how sharepoint process multiple update request for particular list item.
View Complete Post
var soap1 = createEnvelope(Title);
var ws = new ActiveXObject("Microsoft.XMLHTTP");
if(ws == null)
ws.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
var ListName = 'S
i was working on a webform on asp.net, it has a list to save users information. the system has a "profile manager", it has user's loggin name. so i made a query to check if it already exists in the list, and then prepopulated the information on the form(in
what i want is that if this item already exists, it can update the item. if it is not in the list, it will then create a new one.
i was searching around, and changed my code accordingly. but it always create a new item, even though all information is the same.
here is my pageload code:
public class TTCVIP : System.Web.UI.UserControl
protected GenericWebPart webpart;
#region member controls
//rendering the page
private void Page_Load(object sender, System.EventArgs e)
SPSite mySite = SPControl.GetContextSite(Context);
SPWeb myWeb = SPControl.GetContextWeb(Context);
ServerContext context = ServerContext.GetContext(mySite);
UserProfileManager myProfileManager = new UserProfileManager(context);
string CurrentUser = Context.User.Identity.Name;
UserProfile myProfile = myProfileManager.GetUserProfile(CurrentUser);
//check if list exist and create new list