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
2answers
15 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
11 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 {"...
1
vote
1answer
21 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 ...
0
votes
1answer
28 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) { ...
0
votes
2answers
29 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
22 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
71 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
15 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 ...
0
votes
1answer
53 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 ...
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
2answers
126 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 ...
1
vote
0answers
77 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
523 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
125 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
1answer
573 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
1answer
35 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
47 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 ...
1
vote
2answers
292 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 ...
0
votes
2answers
57 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
151 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 ...
0
votes
0answers
75 views

Update list Item SharePoint Designer 2013

I want to update list item in List B with value of the column in List A. in the log historic i can get the value of the column in list A with this code : Set Variable: Domiciliation to Current Item:...
0
votes
0answers
176 views

Update Multiple Items in a single list

Hello and thank you in advance to anyone that can help or point me in the right direction of this one. So... I have created a custom list which is being used for recording who belongs to which team (...
0
votes
1answer
38 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, [...
0
votes
1answer
114 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
33 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....
1
vote
2answers
799 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
36 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?
2
votes
0answers
129 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
1answer
236 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 ...
3
votes
1answer
295 views

SharePoint 2010 JavaScript CSOM- Updating list item by id - Anonymous user - Access denied

I am using SharePoint 2010 JavaScript Client Side Object Model to create and update list items on a SharePoint Survey list. In my use case users are anonymous . New items are created properly (...
1
vote
1answer
51 views

Designer Workflow: Triggering on Delete?

So I have created a custom task list which has 4 sub lists that are identical. When the business area is selected in one of the choice columns on the list this will then copy the item to the relevant ...
3
votes
1answer
37 views

How to get current time in SharePoint designer 2013

It seems everytime I use "today" I get the current date but always at 12:00 PM
1
vote
1answer
35 views

Taks List/Workflow - Reflecting changes across lists

I have created a task list named 'Project Planner' and I have created 4 other identical lists for each business area. One of the columns in this list is a choice field named 'Business Area' with 4 ...
0
votes
2answers
378 views

Getting 403 Forbidden Error for REST add list item

I'm getting continuous 403 forbidden errors when trying to add a list item. Here's what I have so far $.ajax({ url: webUrl, type: "POST", contentType: "...
2
votes
5answers
252 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 ...
0
votes
2answers
61 views

Field is not updated

I try to update a list item, with PowerShell: try{ $root = GetRootSite #this function returns the site collection url $site = New-Object -Type Microsoft.SharePoint.SPSite -ArgumentList $root $...
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 ...
1
vote
2answers
132 views

SP2010: Unable to update list item with JSOM

I have a list column which I want to update using JSOM on button click. Here's my code - function updateListItem() { var clientContext = new SP.ClientContext.get_current(); var oList = clientContext....
3
votes
1answer
5k views

Update Created, Created By, Modified, Modified By using CSOM

How to update Created, Created By, Modified and Modified By in list items using CSOM?
1
vote
3answers
6k 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
296 views

Update a list item in a list in a root site from a sub site

I am currently working on SharePoint 2016 on premises, I have a situation where in the root site, I have a list A which has a content type X and one of the fields is counter (starts with 1). From a ...
2
votes
0answers
246 views

Attach file in Datasheet View

SharePoint 2007 allowed adding attachments to list items in Datasheet view. However, with SharePoint Online (Modern / Classic view) I do not get any options for attaching items in Datasheet view. Is ...
1
vote
2answers
1k views

Handle ListItem attachments via CSOM

I'm able to add OR remove attachments to/from a ListItem: Remove foreach (Attachment a in emailItem.AttachmentFiles) { a.DeleteObject(); } emailItem.Update(); ctx.ExecuteQuery(); Add foreach (...
1
vote
0answers
509 views

transfer List item from One list to another list in same site using NINTEX WORKFLOW [closed]

how i can Get records from a list of columns and column transfer it to another list using the nintext workflow
1
vote
1answer
22 views

Auto Scan at set intervals and populate SharePoint 2010 List

Hi can anyone Help me! I want something that I am able to select a different SharePoint List every week. within that list select the columns that apply (Monday to Friday or just monday), I then need ...
1
vote
1answer
546 views

Update Custom Field Type Field by REST API SharePoint 2013

I have a REST api to update the different fields of Item in the list $.ajax({ url: projectSiteURL + "/_api/web/lists/GetByTitle('MyList')/items(10)", xhrFields: { withCredentials: true }, ...
1
vote
1answer
656 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 ...
1
vote
1answer
10 views

SPD2010 Workflow - Calculating Costs after importing amounts

I'm running 2 database that share information. Main Dbase is "Requests" and runs my workflow. The second Dbase is "Funding". I need to export the "Estimated Cost" from the Request Dbase and ADD it ...
-1
votes
1answer
2k views

Sharepoint Online : Rest API POST method getting - 415 (Unsupported Media Type) OR 400 (Bad request)

Im new on SharePoint online and i want "POST" (update my list) with Ajax First step : var listName = "Creation de projet"; var url = _spPageContextInfo.webAbsoluteUrl; var itemId = "18"; // Update ...