Stack Exchange Network

Stack Exchange network consists of 174 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

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

0
votes
1answer
16 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
32 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
57 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
33 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
29 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
0answers
39 views

Updating list column using C#

What I have I have two lists with the following columns: listA - 'employee name', 'project' and 'department' (depratment is empty now); listB - 'project' and 'department'. Projects are assigned to ...
1
vote
2answers
76 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
44 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
53 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
51 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
123 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
0answers
27 views

SharePoint 2007/10 Lists Web Service, UpdateListItems. List does not exist?

I am trying to delete items within a SharePoint list using the UpdateListItems on the SharePoint Web Service. I have the following code: public XmlNode DeleteListItems(string listName, string ...
0
votes
1answer
25 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
88 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
31 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
281 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
0answers
12 views

Update document from one library to another library

In 2013 workflow, I have option to copy document from one library to another, on item create. On item edit I should do update of document, but OOTB command update item only updates metadata columns, ...
0
votes
1answer
35 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
98 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
161 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
201 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
39 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
30 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
34 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
273 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
184 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
51 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
487 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
106 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
3k 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
4k 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
246 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
205 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
716 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
466 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
21 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
427 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
530 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 ...
0
votes
1answer
32 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?
1
vote
1answer
779 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
14 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
157 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
3k 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 ...
0
votes
0answers
36 views

choose List by name / Workflow 2013

I created a Sharepoint Workflow 2013 in Sharepoint Designer. Now I have the problem, that I don't know how to choose the list by a variable in "Update item in 'this list'". Is this possible?
1
vote
0answers
767 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
169 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
426 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
150 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)/...