Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [updatelistitems]

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

0
votes
1answer
33 views

What happens if more than one user is updating an item?

I've created a request portal in our SharePoint using custom list. There are several of us in the team who will have access to the list. What will happen if multiple users update an item in the list?
2
votes
1answer
1k views

Is Sharepoint List item update using REST API return updated data

I am trying to update custom list item using REST API. I was successfully updated item but in response of request i am not getting updated record. I want to store updated etag but I am getting 204 ...
1
vote
0answers
17 views

SP2007 Reasons why Item Created workflows Error, but when Restart they run to completion perfectly?

I have a very basic form. The user creates a nomination for another user. When the item is created the workflow does the following: Make some simple checks to make sure the nominee or approver is not ...
1
vote
0answers
254 views

powershell - Update Author (Created by)

I have following powershell. I am trying to update Created by (Author) for SSRS report library. I am changing disabled authors to sharepoint service account. The script runs without an error but there ...
1
vote
1answer
4k views

How to pass null value to a DateTime field sharepoint rest?

I want to update a field 'End Time' of type DateTime in my Sharepoint list. I want to update the field('End Time') with null.Whenever I try this I get an exception "Input string is not in correct ...
1
vote
0answers
805 views

Invalid data has been used to update the list item. The field you are trying to update may be read only

I am getting this error while updating discussion item's any property on SharePoint online. Error doesn't occur in case of document library and custom lists. Error Code is -2147024809 my code goes ...
0
votes
1answer
213 views

Workflow error: Invalid data has been used to update list item

My list workflow on SharePoint 2010 foundation is created in SPDesigner. Sometimes it raises an error (from ULS log): "Invalid data has been used to update the list item. The field you are ...
0
votes
1answer
457 views

Create item in 1 list and update in another list with different field types?

I am running into errors with a 2010 workflow. I'm doing "Create item in" list #2 with a value from list #1 which is a people picker type field. I can't seem to get the update item in field type right....
0
votes
1answer
171 views

Update REST API SharePoint Online

I execute this function updatemainop() in my script: function updatemainop() { var itemType = GetItemTypeForListName('MainOperation'); var query = applink + "_api/SP.AppContextSite(@target)/...
0
votes
1answer
650 views

UpdateListItems Error: Data at the root level is invalid. Line 1, position 1

I´m trying the UpdateListItems web service but I always get following error in the response file: Data at the root level is invalid. Line 1, position 1. GetList, GetListItems and DeleteList works. ...
1
vote
1answer
1k views

Update list item in root site from subsite in SPD 2013

I have a site collection at https://extranet/sites/mysite, represented as URL below, that contains a list (A). I then have a subsite with a list (B) at URL/subsite. When an item is added to B a ...
1
vote
1answer
258 views

Update external content type list item

I have a SQL table brought into my on-premises foundation (SharePoint 2013) site. The read item and read list functions were normal however I used a stored procedure for the update function. The ...
1
vote
1answer
2k views

2013 Workflow Update Items in dictionary

Is it possible to build a dictionary, and then perform an actual action (such as set field value) on every item in that dictionary? The Objective - I have a list lets say"Test List" (for simplicity ...
1
vote
2answers
418 views

SPServices : Write data into a list with UpdateListItems

Context : I was trying to use UpdateListItems to write some html textbox data into a custom list. The list "Cabinet" contains 13 columns and has already a line of data, only the first column "name" is ...
1
vote
3answers
2k views

Workflow to update all List Items

I have written a workflow many times that run for a single list item whenever it gets created/updated. I want to create a workflow to update all the existing list items. How can this be done? An ...
0
votes
1answer
36 views

SPD : Workflow Item Added Item Updated not working

I have a doc Library with "CountryName" field (DDL), When the file is Uploaded to the Library, I need to copy it in the respsctive Library (exp file1, countryName = CH it will be copied to Library_CH)....
0
votes
2answers
542 views

make List item non Editable dynamically

Is it Possible to make list item non editable based on one of its column value. for example i have list fees which has a column submitted.when submitted is false user can edit that item but not when ...
1
vote
1answer
67 views

Update properties of document

I'm trying to update properties of documents in my SharePoint site using C# code. This is the code I'm using to get to the folder I need: public SPArchiveBDI(string sharepointsite, string ...
3
votes
1answer
6k views

2013 - Update Item - Path and Name - Fails

I have 2 libraries both published from an identical InfoPath 2013 form. I am trying to move items from Library A to Library B with a simple workflow: Update Item in Current Item With: Field set to ...
2
votes
0answers
355 views

Disable SharePoint 2013 Workflow Trigger when updating list item via CSOM

I have multiple lists in my SharePoint application that have workflows attached to them. These workflows trigger when list items are updated, which when updated from the SharePoint UI is the intended ...
0
votes
2answers
91 views

Duplicate item in another list

I have three SharePoint lists: List A, List B, and ListC. After creating an item in those lists, a workflow starts a task process and the item status changes to “waiting for meeting” and keeps that ...
0
votes
1answer
68 views

Create item in list 2 from list 1 SharePoint Designer 2010 using “Create item in”

I posted this same question about a month ago but for SP 2013. I noticed in 2010 (I have to rebuild my WF since I want it to kick-off from another workflow and this cannot be done in 2013) the ...
1
vote
0answers
744 views

Why “The property '__deferred' does not exist on type 'SP.SecurableObject'” message appears when trying to update a sharepoint list item?

I know that updating an item in sharepoint list by using REST API should be very easy, but for some reason, I have not been able to do it. I keep getting "400 Bad Request: The property __deferred ...
0
votes
1answer
692 views

Can I Update List Item Using My Particular Field Value Insted of ID Using Rest

I am trying to update share point list item using rest api. I can update Item using ID but I want to Update that item which column Name Title is like "DA5000" its unique field so can I do this ?? if ...
0
votes
1answer
282 views

Update text field item in list 2 from text field value in list 1

List #1: If CurrentItem:EmployeeStatus equals Active Employee (I just clicked String Builder and typed in Active Employee) Update item in (list #2 called Irvine-First Day) to Active Employee (blank ...
3
votes
2answers
151 views

Update listitem in document library without using eventreceivers

How to update a listitems say status column in my document library from Pending to Approved without using event receivers or C#? If I use SPServices , it needs to be added as content editor web part ...
2
votes
2answers
8k views

SharePoint 2013 Workflow - Update List Item Based on Two Columns

I'm not sure if this is possible. I would like to have a SharePoint 2013 workflow update a list item in another list only if: column A contains 'x' and column B contains 'y'. I know I am able to ...
2
votes
0answers
438 views

batch command to update SharePoint list item using updatelistitems

I am new to SharePoint and i need help to update lookup field, multi line of text field and date field from one list to another list using SharePoint web services updatelistitems. Is there any way to ...
2
votes
2answers
808 views

Why unable to update columns in listitem using CSOM?

I am trying to perform a basic operation,updating a column in a list item of a list.Following is the code , List oList = clientContext.Web.Lists.GetByTitle("HomePageTab"); ListItem oListItem ...
1
vote
1answer
571 views

SharePoint 2013 WF doesn't run when item is updated by another WF

Problem: A SP 2013 WF set to start when an item is changed on a Contacts list does not start automatically if a field for that list item is updated by another workflow; however, it does start ...
0
votes
1answer
94 views

Update SP List Item Drop-Down for one item

I have this code that I always use to query and display items, but I need to perform occasional updates as well and tried this code. It wouldn't update or recognize the word update. I tried a number ...
2
votes
0answers
15 views

I need to update an aggregated list that was copied from various sub-sites using work flows if possible

I have a main list that has a copy of each list item from several sub-sites. These sub-sties use a template list created so all information fields are the same. I am able to copy each sub-site's ...
1
vote
2answers
87 views

Update List A with workflow triggered in List B which looks up data in List A

I have two lists: People & Projects People list has two items: Man1 & Man2 When I create a project I give it a Project name: Project1, look up into People list and choose Member1: Man1, then ...
0
votes
1answer
148 views

List item add with event receiver COMException

I expose my scenario and my issue. Scenario I have one custom list in SharePoint 2010 Foundation called Actions. This list has one event receiver that override this methods: ItemAdded ItemUpdated ...
0
votes
1answer
516 views

Update list item with HTML Form,JS,etc…?

I got asked to solve the below problem. On our Sharepoint 2013 Teamsite there is a list with teammembers. {Name;IsAvailable;Person} Name = Textfield IsAvailable = True/False combobox Person = Person ...
4
votes
3answers
4k views

Adding a new item to a Document Library Using JSOM

I need to add a new item in a document library using JSOM. The document library also possesses custom columns. I am able to upload file but unable to get proper method to add the custom column values ...
1
vote
2answers
111 views

automatically add new list item if the Column has a value and adds a value 1 in calculated column

Hi is this possible in sharepoint 2013 formulas? automatically add new list item if the Column has a value and adds a new value "1" in calculated column that's newly created thanks
1
vote
0answers
354 views

Javascript to: get username, lookup id in list, then update list item

I have a pretty complex task I need to perform in Sharepoint, but I'm a total beginner when it comes to JavaScript! Here's what I need to do: I have a list on my site that is basically a database of ...
2
votes
1answer
242 views

updateListitems issue

I want to update SharePoint survey answers using spservices so I used UpdateListItems to update this $().SPServices({ operation: "UpdateListItems", async: false, webURL: params....
0
votes
1answer
310 views

Lists.asmx UpdateListItems fails with “The user does not exist or is not unique” until manually adding items

I'm writing a .Net app that adds new entries to a SharePoint list and then attaches a file to that entry. The code below only works each day after the user has already added an item with an attachment ...
1
vote
1answer
75 views

SPListItem update conflict

Task: when user updates an item, change synchronously another hidden field of this item. Problem: save conflict occurs AFTER update is called (not on this line). I subscribe on EventReceiver's ...
1
vote
1answer
154 views

Workflow update list item 'write created date in date field' does not apply to items within folders

I have a document library that receives email and splits email and attachment grouping them with a folder (all by design in 2013 version). I have created a very simple workflow (SP designer) that ...
1
vote
1answer
2k views

Access denied. You do not have permission to perform this action or access this resource. with Contribute No Delete

I am getting this error when User has Contribute No Delete permission and try to update folder under document library. This is the steps I followed, Create new document library Create folder under ...
2
votes
3answers
5k views

How to modify Author field of ListItem

I am building a migration tool that is migrating items from an XML schema to SharePoint list fields. Everything is working fine except when it comes to the migration of Created By fields. I need to ...
0
votes
1answer
486 views

Update List items using workflow - multiple items

I have two SharePoint lists, one list contains Tools and the other list contains Jobs. On the Jobs List, I enter a new job. I then will select the Tools needed for the job. The Tools are in a lookup ...
0
votes
3answers
101 views

Update listitem problem

i am trying to update a listitem in a event receiver on FeatureActivated in a document library. public override void FeatureActivated(SPFeatureReceiverProperties properties) { ...
4
votes
1answer
2k views

Update readonly field using REST API

I am trying to update a list item using Rest API. Following is my code. It works and it updates all fields except "RichMessage" which is a Note field with RichText="TRUE" and readonly. I have tested ...
0
votes
1answer
657 views

Updating List Item using REST API generates no error but nothing happend

Following is my code using Rest API to update a List Item. It generates no error, goes to success callback. However it does not update the List Item. var itemTitle = "Test item"; var userId = 22; //...
1
vote
1answer
724 views

Rename file with SOAP in SharePoint 2010

I use SOAP in native C++ application - no C#, no Java Script. When renaming list item (including file) via REST, it's possible to alter Name field. But in case of using SOAP Lists.asmx UpdateListItems ...
0
votes
1answer
306 views

The XML content that is supplied for the sparse column set 'tp_ColumnSet' contains duplicate references to the column 'int1'

I am getting below error while updating list item SqlError: 'The XML content that is supplied for the sparse column set 'tp_ColumnSet' contains duplicate references to the column 'int1'. A column ...