New answers tagged updatelistitems
Following code snippet could help you. // add the file SPFile file = docLib.RootFolder.Files.Add(newFileName, inputStream); // get the list item for that file SPItem item = file.Item; //Set the Created Date item["Created"] = "2009-02-26 15:00:00"; item.Update();
ContentType and File Size is a Calclated field. So we can't change that. And the Version is a Number Field Type and this is ReadOnly. We can change the Content Type by updating ContentTypeId field with the ContentType ID in that list. To update Version field, we have to set the readonly property to false and then update the verion nuber (not recommended). ...
If you some way to identify the item in the calendar (if the project title is unique, or you have some other primary key) then: you can create a hidden field called 'EventCreated' or something then inside your workflow have a condition that checks if an event is created if it was then run an update list item query on your unique value (see: ...
You need to add a column to the first calendar that stores a unique key of any related item in the team calendar. You could use the SharePoint ID of the first calendar, for example. Add a column to the Team calendar called "ParentID". Let the workflow find an item with that ParentID = current Item ID in the Team calendar. If that item is found, the workflow ...
Top 50 recent answers are included