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.

15
votes
3answers
11k views

AllowUnsafeUpdates vs SPSecurity.RunWithElevatedPrivileges

When is the best time to web.AllowUnsafeUpdates vs SPSecurity.RunWithElevatedPrivileges? Specifically when dealing with updating an item in a list or updating the list itself. Is it safest to use ...
5
votes
3answers
20k 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. Im using a camlquery to get the item witch i want to update. Can anybody please help me and write a function to ...
3
votes
1answer
21k views

Updating Sharepoint List items

I got a custom Sharepoint list which has the following list items Hostname - IP - OS - CPUs - RAM - Disk Server 1.1.1.1 Server 2003 3 8 Disk C: 20gb If i then ...
0
votes
3answers
6k views

How to update Created By Author field in list SharePoint 2013 JavaScript Client Object Model

Just wanting to know how to update a user field, like CreatedBy or Author based on a users name e.g. steven.martin? I seem to have it working fine, from a user id, but not from a user name. get user ...
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
1answer
4k views

How to add values from a multi-valued field from a list using SPD's Update an Item Action

I have a workflow that automatically updates the value of a multi-valued field in an item. This workflow is working as expected. BUT, when that field/column of an item has a value already, the current ...
5
votes
1answer
8k views

Javascript : How to handle version conflict errors when using javascript COM?

so I use quite a bit of the javascript client object model for CRUD operations to lists from custom pages (inputs) and I have found that I get version conflict errors on saves from time to time....its ...
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 ...
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 ...
2
votes
4answers
4k views

How to update calculated column on a daily basis without admin rights?

I am running SharePoint 2013 and have a column that is supposed to determine whether or not each phase of a project is late. I am using the NOW() fucntion, which, of course, does not update ...
2
votes
1answer
6k views

Powershell - Update column with managed-metadata

I have used following PS script to update a manage metadata column. Not sure how to go by updating a managed-metadata column. I know I need to only populate with "10;#Wholesale Agreement" in ...
1
vote
0answers
353 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 ...
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
2answers
790 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/...
1
vote
1answer
654 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
2k views

Error code 0x81020073 when calling UpdateListItems of Lists.asmx web service

I am executing code in a program I have been working on that uploads files to sharepoint. I am uploading the file with HTTP PUT, then using the path to update the attributes. For a day or two I've ...
0
votes
2answers
9k views

How to update calendar item created by an other list?

Appreciate any thoughts on this: A user edits an existing list item to pick a date to select a project deadline. A custom workflow, initiated by that item change, takes that date and project title ...
0
votes
1answer
64 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 ...