A method of the Lists class that adds, deletes, or updates the specified items in a list on the current site.

learn more… | top users | synonyms

0
votes
0answers
18 views

How to use Javascript to update a Discussion Board reply?

I have a Discussion Board with a series of replies. Each 'Message' (Reply) Content Type has an 'Answer' dropdown with the values 'YES/NO' (NO being default) I have created a hyperlink on the property ...
1
vote
1answer
2k views

Programmatically update Recurrence parameters for calendar entry

I'm building a Sharepoint service, which allows users to book company's resources, such as conference rooms, etc. The back-end is implemented with standard Calendar list, the front-end uses JavaScript ...
2
votes
2answers
431 views

Unable to update list item - Additions to this web site have been blocked

I am developing a SharePoint job. In the public override void Execute(Guid targetInstanceId) method, my code goes: SPSecurity.RunWithElevatedPrivileges(delegate() { int count = ...
0
votes
2answers
584 views

Have Workflow Change\Update an item on Infopath Form

Is it possible to change the content of a field in a InfoPath form from a workflow in SharePoint. I have tried working with the "Update List Item" action but have been unable to to find a direct way ...
0
votes
1answer
33 views

Would applying a lock help to prevent a Save Conflict Error when simultaneously updating a list item?

I have a scenario where users may update a list item at the same time and this causes a Save Conflict error. I could catch the exception and reload the list item as suggested in ...
2
votes
2answers
81 views

Fetch list item properties using Powershell

I have document library. I want to replace some document properties using powershell. There are multiple properties associated with each document. First I'll need to check for all documents if that ...
1
vote
3answers
2k views

Why SPListItem.Update doesn't trigger workflows?

I have a workflow with Start Option "Start workflow automatically when an item is changed" and I have code that execute SPListItem.Update(), but this update doesn't force workflow to run execution. ...
2
votes
1answer
529 views

set or update multiple values cascading lookup field using client object model

I'm struggling since a couple of weeks with setting a multiple values cascading lookup field using a client object model, I could set the first value but then It show me an error of invalid lookup ...
0
votes
1answer
40 views

How to update list item without having permission on list

If the user does not have permission on list and want to update the list item, how to achieve that without using Elevated privileges?
0
votes
2answers
80 views

Get user ID from display name?

My users need a feature which will replace all instances of someone's name (assuming he/she is fired) with someone else. I use SPService's UpdateMultipleListItems action which works fine, but for ...
0
votes
2answers
58 views

Update created by field using share point web service only

I want to update the created by field in sharepoint using sharepoint web services. I tried to do it using List web service's UpdateListItems method but that did not work. Can some one tell me how to ...
0
votes
2answers
51 views

Sharepoint 2013 workflow: Set dynamic value in a listitem column

I am using SharePoint 2013. I have created a workflow. This workflow is triggered on a contenttype on a list. I would like to update some listitem column. But I would like to set the value dynamic ...
0
votes
1answer
182 views

changing list item using Rest API not working

following is my code. I am trying to update a Choice ListITem (dropdownlist) in a Custom list using Rest API. I have debugged the code it goes into success handler but the Item still has the old ...
2
votes
0answers
64 views

Error code 0x81020030 when calling UpdateListItems of Lists.asmx web service

My problem is very similar to this one (in what I'm calling) but I'm receiving a different error. The XML I feed the service and the response is as follows; <Batch OnError="Continue" ...
1
vote
3answers
532 views

Do I need to do an update after set permissions on a listitem in the ItemAdded event receiver?

I have an event receiver on itemAdded. I set some permissions like below. SPRoleAssignment role = new SPRoleAssignment(spPrincipal); ...
0
votes
0answers
47 views

Special Characters in Field Values

I am updating a list item using SharePoint Object Model from an Excel spreadsheet. The cell in Excel contains a special character, a degree symbol °. When the update is done I am getting the � symbol ...
2
votes
2answers
153 views

Is there a way to start a SharePoint workflow from VBA code?

I created a tool in Excel VBA that generates a custom report from the data I pulled from a SharePoint list via Excel VBA code. What I want to do is change/update the "Status" field for items within ...
0
votes
2answers
51 views

Q: Can I update values of an entire column from a workflow?

I'm using VBA to gather info based on their status. What I'd like to do is reset their status after the VBA operation is done. From my understanding, there is no way to update via Excel VBA. My only ...
0
votes
1answer
25 views

Clearing a hyperlink column of it's value in a workflow in SharePoint Designer 2010

In a SPD 2007 workflow, I was able to use the "Update List Item" action to clear the value in a hyperlink column that had a value by simply specifying the field in the "Update list Item" action and ...
0
votes
1answer
242 views

SPD Update List Item - If “field” in Current List equals “Yes”, then Update status in List 2

I have a form library, with a SPD Custom Task associated with it for approvals. The approver just has to check a box when they approve the form. But in order for them to not get a reminder to ...
1
vote
1answer
446 views

SharePoint 2013 REST API: How can I clear a non-string field value?

I'm using the SharePoint 2013 REST API (my last choice, technological constraints require using it vs CSOM) and am encountering an issue when trying to clear any non-string (date, number, etc) field ...
0
votes
0answers
100 views

Save Conflict error on task when saving task

The idea of the task lifecycle is this: CreateTaskWithContentType: Set all the task properties OnTaskCreated: Set unique permissions for the task OnTaskChanged: Complete task and continue workflow ...
1
vote
2answers
68 views

Update metadata on n amount of files at the same time programmatically, using SPListItem update methods or SPWeb update batch?

I need to update meta data on multiple files that exist on my SharePoint 2010 site. When starting the method that will update the metadata i do not know how many file that will need to be updated, ...
2
votes
2answers
773 views

Event Receiver not triggered by Approval Workflow

I have a simple workflow that approves a List Item. I have an ItemUpdated Event Receiver that is supposed to compute some fields and update another List Item. My event receiver gets triggered when I ...
0
votes
2answers
173 views

Is there a way to dynamically update ratings

For Ratings there are two fields in share point. Rating (0-5) Number of Ratings Is there a way to dynamically update these values by code?
8
votes
2answers
670 views

Is it possible to create a “Link to a Document” in a Document Library using a CAML Batch Command with UpdateListItems?

I have a Document Library in WSS 3 which has the "Link to a Document" content type enabled, and I want to use a batch command (via lists.asmx updatelistitems) to create a series of links. Here is the ...
1
vote
0answers
474 views

How to update an existing list item during a workflow to capture the newest list item

I have a custom build list to store status updates on a project. To add a new item, one simply click + NEW ITEM, fils in the Infopath 2013 form and clicks SAVE. Then a workflow is triggered to convert ...
0
votes
2answers
2k views

Can't edit items from a particular list? Corrupt somehow?

I can't seem to edit any list item in a particular list. The stack trace points to the AddOrUpdateItem() method (below). I can't think of any recent changes made to the content type of list definition ...
0
votes
0answers
116 views

Setting Taxonomy Field's Value causes Security Validation to fail

I have a WCF webservice, which saves data to a list. However, Taxonomy field is giving me issues here. The Problem: Interestingly, When I save data without specifying any metadata, the list item ...
1
vote
1answer
602 views

Javascript : How to handle version conflict errors when using javascript COM?

so I use quite a bit of the javascript client object model for CRUD operations to lists from custom pages (inputs) and I have found that I get version conflict errors on saves from time to time....its ...
1
vote
2answers
1k views

Unable to update item using powershell when event reciever is enabled

I have a powershell script that I am using to update some list items programatically. It seems to work as I expected when I disable the event reciever that is associated with the list however when I ...
2
votes
2answers
127 views

moving list items from wss 3.0 to foundation 2010 using lists.asmx

I'm trying to use Lists.UpdateListItems to move items from a list in WSS 3.0 to a list in SharePoint Foundation 2010. The original list contains several items. The target list does not contain any ...
1
vote
0answers
117 views

executeAsync strange behavior - sharepoint rest services

I'm using Sharepoint Rest services to update List Items. To do the update, I'm using the function executeAsync from the SP.RequestExecutor object. The code was working fine, but while I was testing it ...
1
vote
0answers
111 views

how to update Document in doc set

I've been trying to update the file name of a document inside of a doc set. I continually get either a "Invalid data has been used to update the list item. The field you are trying to update may be ...
2
votes
1answer
259 views

Update Created By field in Document Library using web service

I am uploading documents to Document Library using copy web service. I need to update read only fields like created, created by, modified, modified by, version,.. I changed the read only property of ...
0
votes
1answer
90 views

Update Document Library Fields

Is it possible to add/update Document Library fields like Content Type, Version, File Size,..? These fields are visible in view mode.
0
votes
2answers
1k views

How to update calendar item created by an other list?

Appreciate any thoughts on this: A user edits an existing list item to pick a date to select a project deadline. A custom workflow, initiated by that item change, takes that date and project title ...
0
votes
0answers
1k views

SharePoint 2010 Workflow stuck in starting status?

We have a SP 2010 workflow on a Document Library which sends an email notification out to certain users when a property is changed for a document. This workflow was working fine up until 2 weeks ago ...
1
vote
1answer
234 views

List item Title goes blank after editing document in Word

I am creating new document in document library using this code: private SPListItem CreateNewDocument() { SPContentType documentContentType; byte[] bytes; string templatePath; ...
0
votes
1answer
124 views

Can I edit a LOOKUP column?

More concisely: How do I edit a lookup column? I have a custom list with columns [Name] and [Product] named 'MainList'. I would like a third column [Referral] which shows a name found in ...
1
vote
1answer
843 views

How to add values from a multi-valued field from a list using SPD's Update an Item Action

I have a workflow that automatically updates the value of a multi-valued field in an item. This workflow is working as expected. BUT, when that field/column of an item has a value already, the current ...
0
votes
1answer
177 views

Object Expected error in Non Edit Mode only

I have an issue with Javascript errors (Object Expected) in normal mode while it works in Edit mode. Its failing on the last line shown below. $(document).ready(function() { updateListItem(); }); ...
0
votes
1answer
132 views

where i can find trace for item.systemupdate()

I am working on a project which was initially developed by someone else. few of my list items are getting updated but i am not getting anything in version history. I believe that some schedule job is ...
0
votes
1answer
48 views

Append workflow changes to existing content

I have a workflow that updates a lookup column in another list when conditions are met. The problem is that the column allows multiple values, but the workflow is replacing any content that already ...
0
votes
1answer
580 views

Update custom property on listItem using -replace in powershell?

I have two different web application with one site collection each. One Site collection is privat and the other on is public inside the intranet. The public site links to the private site which link ...
1
vote
1answer
253 views

Updating a List Using SharePoint Designer 2010 - can't find an example of my use case

I have two lists - one administrative with lots of details, and one public with a subset of the information. There are close to 2000 entries in the list. The admin list has 3 states, which I track ...
0
votes
1answer
85 views

How to know if content was added to a SharePoint list or folder?

I'm using the GetListItemChangesSinceToken service in order to be notified for changes in a sharepoint list. This works ok for deleted items since the ChangeType return Delete , but for added items, ...
1
vote
1answer
145 views

Different CAML statements needed in development and test anvironments

I have a .NET solution which uses the SharePoint web services interface to update meta data for existing documents in a SharePoint library. However, I am finding that I need to supply different CAML ...
1
vote
1answer
224 views

How do I get the current Editor of an Listitem while ItemUpdating?

How can I get the current Editor of an list Item in SharePoint 2010 during ItemUpdating? Problem is properties.AfterProperties["Editor"].ToString() throws and Exception cause it's null. This ...
1
vote
1answer
121 views

Update list item not retuning full item properties

I'm using SharePoint web services to update items by calling the UpdateListItems method, and the response is not providing me the attachment data of the item correctly as other services does, like ...