Questions tagged [updatelistitems]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

How do I send data to a lookup field with ReST? SP2013

I've been working with a jQuery AJAX call to post data to one of my SharePoint lists. One of the fields in this list is a look-up field. In forming my JSON data to push to the list I was able to ...
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
2k views

Programmaticly updating SPFileVersion.Properties Hashtable

Anyone who has experience with programmatically updating the SPFileVersion.Properties Hashtable? I have a special situation where I would like to modify this Hashtable. Most of you will say: "Why on ...
5
votes
3answers
21k views

How to update multiple items in sharepoint list online using javascript

I want to update 4 items in the same time in my SharePoint custom list using JavaScript. I am using a CAML query to get the item witch I want to update. Can anybody please help me and write a function ...
0
votes
2answers
52 views

JSOM : Unable to update Custom list item

I have Read User having read Permission. I'm trying to update the list item using JSOM. But I get below error "Access denied. You do not have permission to perform this action or access this ...
3
votes
1answer
101 views

Pass file name having space to update operation using REST API

I am using on premise SharePoint server 2016.I am using rest api to update a list.I have a list having space in it's name so while passing this name it causes problem.Is it possible to pass file name ...
1
vote
2answers
32 views

Update 1st row always of sharepoint list

I am using REST API to update in custom list of SharePoint Server. It is a dashboard and displays result as per logged in user. Is it possible to update 1st row always using REST API irrespective of ...
0
votes
1answer
697 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
599 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
731 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 ...
2
votes
2answers
81 views

Column validation for past dates

Looking at implementing column or list validation for a date field to stop them from entering past dates The validation should do the following Validate only there is a value in the column Validate ...
0
votes
0answers
24 views

Encounter 401 error when try to update a list item using Python

So I am trying to write a Python script that will be able to update a list item in company's SharePoint (intranet), and for some reason in the script when I do the "post request" (for updating item) ...
1
vote
1answer
40 views

Update SharePoint list via C#

I'm trying to update a SharePoint list via C# So first I check if my item already exists, if it is, I add his id in my lUpdate variable. So my code works, it goes in the loop (for the update and the ...
0
votes
1answer
33 views

403: Forbidden when trying to update item properties with SharePoint API

In my .NET Core API I'm trying to update a document library item property with the SharePoint API. I already succeeded to get the document library item by id and by filter. When I try to update an ...
0
votes
1answer
851 views

Batch update In SharePoint List Using JSOM/CSOM

I'm trying to update a field using CSOM. It works for few items but when i try t on items over 700 items i'm getting the error below:- "The request message is too big. The server does not allow ...
0
votes
2answers
20 views

Run a SP D workflow each day - with step by step

I want a SP D workflow to run each day, that will update a SPO List. Is there any articles that gives the step by step process to achieve this? I found many posts but stuck at somewhere environment: ...
0
votes
1answer
20 views

SharePoint Rest API Patch request to update list item not working

I have an application build up in SharePoint 2013. In one of the custom list form, we are trying to update list item using Rest API call with type Patch. Few users are getting a response {"...
4
votes
1answer
1k views

Add document link to list item from a SharePoint workflow

I have a list workflow that creates a new document in a different library. This list has a column that will be used to save a URL with a link to the new document that will be created within the ...
0
votes
1answer
31 views

Sharepoint 2010 - refresh list job

I need to refresh all my lists in server daily. To refresh one list I use this powershell: $web = Get-SPWeb http://Server/ListLocation $list = $web.Lists["ListA"] foreach ($item in $list.Items) { ...
1
vote
1answer
42 views

Button, updating a list item at the Display Page

I am trying to create a button on the Display Page where it will update a value (Open, Close, Cancel), either redirecting them back to the Display Page or just taking them back to the List Page. They ...
1
vote
1answer
716 views

Refresh list items (not update) using PowerShell script

In SharePoint 2013 List A, I want to refresh value of column A of all items, but I don't want to make new item version when I do refreshing/update. Column A is calculated column and it is calculating ...
0
votes
2answers
31 views

Error from workflow to update a list when value in another list changes

I created a workflow to update a list (Rooms) when another list (People) is changed. I want to assign a value in the Room column in People list and have the value in column LastName be added to the ...
0
votes
0answers
9 views

Sharepoint 2013 workflow Referring to Old Values on update list item

I have ListA and ListB, I am getting List B items in List A workflow based on some condition and updating the List B items. When I go back to List B I see items are updated as expected. Issue: List ...
0
votes
1answer
26 views

Does Flow support SP site column lookups?

I was thinking of using Flow in SharePoint to update a list item, seemed simple enough. Then I noticed none of my lookups were showing. Hmmm, my lookups are driven by site columns, could that be the ...
0
votes
1answer
132 views

Update another field with an id of a lookup column

I have a list with around 1000 columns and I need to be a able to prepopulate another field with a lookupid of another lookup field on the same list I am getting error when I use: var ...
0
votes
0answers
22 views

Change Value of Choice Column in Another List with Ajax

On one of my create forms I have a select-list that is populated with values from another list. Now, when the user selects an option from the select-list and saves.. My goal is to change the status ...
1
vote
2answers
1k views

Update document library column value for given row ID

I'm trying to update the status column in a document library where the name is "sharepoint_test.csv" and I'm following this tutorial to do it. URL: POST:URL https://mycompany.sharepoint.com/...
0
votes
1answer
114 views

How to update list with _vti_bin/lists.asmx?

I want to use the updatelist ot updatelistitem function from here. I want to add a counter to the page. And i want to increase it with code. I thought this way would useful for me. I did not find any ...
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 ...
1
vote
2answers
187 views

how to loop through item id and update items via JSOM - SharePoint Online

Here is my snippet code below.My aim is to simply loop through item ids and update the list in batches. I need help with using CSOM to do this I need this as currently when i send a batch of over 800 ...
0
votes
1answer
39 views

SharePoint Online update list item

I have custom list in one site collection which have multi line field (RichText Field). It have images path for that site collection. Now when I migrate this list to another site collection. Path for ...
1
vote
0answers
115 views

batch updating processing with csom (Timeout issue)

I have just over 800 records i'm trying to update but I keep getting timeout error despite the fact i'm setting the timeout to indefinite like below:- clientContext.RequestTimeout = -1 see my snippet ...
0
votes
1answer
994 views

add attachments with javascript on item edit

I'm using SP Online. I have the following code to update a list item. I added this code in a script editor inside EditForm.aspx. It works fine and I'm able to update several fields, but If user adds ...
0
votes
1answer
245 views

Update Multiple List items on change

I have two lists and I am trying to get one to update based on a change from the other, when the titles both match. Document Library A has a few columns including a date that is updated manually. ...
0
votes
2answers
55 views

Updating secondary list item based on primary list item change

As the title should suggest, I'm trying to get SharePoint to automatically update List B item whenever a list item in List A is changed. In this case, when an item is created in List A it also ...
0
votes
1answer
37 views

Update another item in same Library

I have a SharePoint 2013 Library with 2 content types assigned: Document Set Document Both have a (non-shared) choice field called "Stage" with the following Choices: Stage 1 Stage 2 Stage 3 The ...
0
votes
2answers
70 views

Updating Field in Another List when creating new Item in other List

I'm new to SharePoint so maybe the question is stupid. My Problem is, that I have Lists with Publications and Projects. A Publication requires an Project. When I create an Publication I want that ...
1
vote
2answers
389 views

Couldn't update list item in SP 2013 using Rest

I am trying to update a field in my list but I keep getting this error: "A type named 'SP.Data.ttcuAnnListItem' could not be resolved by the model. When a model is available, each type name must ...
1
vote
2answers
245 views

How to update SharePoint List item via infopath

I have created an Infopath form with 2 views. I first view, user enter the details and submit the form that generate a unique ID basis on List Item ID. in second view there are some fields for ...
2
votes
5answers
287 views

SP 2010: JSOM function not working on page load

I am running a function on page load to update list item. Here's my complete code - jQuery(document).ready(function(){ updatePageViewCount(); }); function updatePageViewCount() { var ...
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
51 views

When adding item to List, I get error Invalid data has been used to update the list item. The field you are trying to update may be read only

I'm using Client Object Model to update a list on SharePoint. The list is very simple, it only has 3 columns ([Title], [Author], [Year Published]) [Title] is the standard column added by default, [...
2
votes
3answers
6k 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
124 views

Update External Data Field in SPD workflow

I created a Workflow in SharePoint Designer that create an item in a List B that was created in List A. The issue that the creation is OK. but when i Update the item, the workflow not delete the old ...
1
vote
1answer
35 views

Unable to update document title without changing modified time using system update()

I have a powershell command to update the document title .I want to update the title without changing the modified time. I have used the script $item.SystemUpdate() But the modified time also changed....
0
votes
1answer
38 views

Store the Attachment in the File folder and remove from the SharePoint List Item?

I have a requirement that when an item is added Store the Attachment in the File folder Remove the Attachment from the SharePoint List Item How do I achieve this?
1
vote
1answer
3k 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 value....
2
votes
0answers
147 views

Update “People or Group” and “Hyperlink & Picture” columns using “Build a Dictionary” action

Using SP Designer 2013 workflow, a list from a Site Collection A is updated by a list in Site Collection B. I used the below article to achieve this. https://mysharepointexperiences.wordpress.com/...
1
vote
3answers
7k views

Updating Items in Another List

I have a point in my workflow where I need to update a field in another list with a value from my current list. I keep getting an error in my workflow that says "Item does not exist. It may have been ...
1
vote
1answer
269 views

Can't update number column JavaScript SharePoint 2010

I've attempted to complete an update to a number column in a SharePoint 2010 list using JavaScript. I can update the title, or any other textbox field but not the number field. I have already ...