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
0answers
10 views

ValidateUpdaeListItem Ajax

I would like to post an ajax call to update a list without updating the version. I was told I can make use of the ValidateUpdateListItem() function. However, when I try using it, I have the error: ...
0
votes
3answers
37 views

SPListItem field resets to null after calling Update

I use SharePoint 2013 with the following code: SPListItem listItem; ... listItem["MyCol"] = " "; // Space character. Console.WriteLine($"listItem[\"MyCol\"] = {listItem["MyCol"]}"); // Here i see ...
0
votes
1answer
23 views

Update People picker value using javascript

My function is : function UpdatePerform() { var clientContext = new SP.ClientContext(_spPageContextInfo.webAbsoluteUrl); var oList = clientContext.get_web().get_lists().getByTitle(...
0
votes
1answer
41 views

Updating List item from Event Receiver of another List

According to my requirement, I've 2 Lists within the same site List A and List B. Below are the columns in List A: User [PeoplePicker], City [dropdown (2 choices)], Company [dropdown (5 choices)], ...
0
votes
1answer
50 views

how to udpate using patch powerapps

How to update using patch in SharePoint list from edit form? Using below patch function. but, its creating new record every time. Patch(test, Defaults('test'), { ReasonforLateSubmission: ...
0
votes
1answer
14 views

migrate Access database to Sharepoint and preserve ID column

I would like to migrate access databases to SharePoint Online, and sometimes the built-in migration wizard fails. I can create the missing tables and relink them with a macro, but I have trouble ...
1
vote
1answer
25 views

ListItem.Update() triggers validation of all properties

I need to do a scheduled or manually trigger update on some hidden properties of files and folders. The items all have different content types with different properties, but the hidden properties are ...
0
votes
1answer
30 views

Send an email to multiple contacts, asking to confirm information that we have on SharePoint list

I am trying to send an automated custom email (via Flow or directly via SharePoint; no SharePoint Designer, PowerApps, or anything of the like). We can only use SharePoint Online. These emails would ...
0
votes
0answers
15 views

Edit metadata on a publishing page when page is saved

In SP 2013 on-prem, when I save and publish a page I want the standard "PublishingExpirationDate" field to get the value of "Modified" + 30 days. I want to avoid using event reciever for this ...
1
vote
1answer
21 views

Make column look at Active Directory and auto populate - SharePoint Designer 2013

I'm using SharePoint Designer 2013 and I have a list that I created from an excel spreadsheet that have several columns and rows. One Column is labeled as "Assigned To", it may have some data ...
0
votes
1answer
48 views

Powershell script to update list column from another column Conditional

Any help is greatly appreciated. Here is the scenario: I have a powershell script which I am using from another post on stackexchange. I have two fields in a list, the script copies the value from ...
3
votes
1answer
122 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
37 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
0answers
95 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
72 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 ...
2
votes
2answers
92 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
1answer
125 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
2answers
25 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
66 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
77 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
32 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
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
12 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
47 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
173 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
34 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
181 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
42 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
314 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
150 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
2k 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
331 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
1k 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
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
71 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
513 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
80 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
329 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
1answer
58 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
137 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
38 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
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
39 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
151 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
306 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
470 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
61 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 ...
0
votes
2answers
55 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
43 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
37 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 ...