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

learn more… | top users | synonyms

0
votes
1answer
314 views

Problem Updating Item of a Certain Content Type (deriving from Folder)

I'm encountering some problems updating some items in my Event Handler. I have a Document Library in which I have folders, items and folder of content type PRATICA, which derives from folder and has ...
0
votes
2answers
1k views

SPServices UpdateListItems

Ok, here's the scoop. I have bunch of lists on sub sites that I am rolling up into a list on the parent site. Here is what I have for code: var title = ...
1
vote
2answers
392 views

How to implement 'on document property update' logic?

I need a functionality in which something happens after the properties of a document in document library get updated. I need some kind of event to fire after the user clicks Save button in edit form. ...
0
votes
1answer
617 views

updating an item in itemupdating on the same list and on the same item

in item updating event of list, i want to update the same item which being updating but i don't want to change and update the fields of the item but the permissions of it. so i can't use ...
0
votes
1answer
213 views

SharePoint 2010, programmatic updates to PagesList not saving on PagesList.Update()

publishingWeb.PagesList.EnableModeration = false; publishingWeb.PagesList.EnableVersioning = true; publishingWeb.PagesList.MajorVersionLimit = 10; publishingWeb.PagesList.EnableMinorVersions = false; ...
1
vote
1answer
1k views

Programmaticly updating SPFileVersion.Properties Hashtable

Anyone who has experience with programmaticly 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 ...
1
vote
1answer
511 views

set or update multiple values cascading lookup field using client object model

I'm struggling since a couple of weeks with setting a multiple values cascading lookup field using a client object model, I could set the first value but then It show me an error of invalid lookup ...
0
votes
1answer
509 views

Have Workflow Change\Update an item on Infopath Form

Is it possible to change the content of a field in a InfoPath form from a workflow in SharePoint. I have tried working with the "Update List Item" action but have been unable to to find a direct way ...
1
vote
1answer
331 views

Update list item from within list item

I have a list in SharePoint 2007 with a Person or Group type column, named "Attendees" which can contain multiple persons. I want to update Attendees with the logged-in user name on click of a custom ...
2
votes
1answer
361 views

New choices are not shown in existing list items

I have my custom list template. The template initially described a field Position using the following XML element: <CHOICES> <CHOICE>1</CHOICE> <CHOICE>2</CHOICE> ...
1
vote
2answers
4k views

UpdateListItems in a library with client object model

I’m trying to update some metadata with web services. I read following msdn article UpdateListItems and wrote a small test program, but sadly something went wrong. I get the error message, that the ...
1
vote
2answers
969 views

Automated update of SharePoint List from .csv file

Our company wishes to keep an updated SharePoint List of our current customers for use in a InfoPath form. Our ERP system is capable of exporting this on a timer job to a certain location (i.e. a ...
2
votes
1answer
180 views

SPListItem update yields ItemUpdated/ing Numbering Scheme not found

I've written a console app that searches items in a SP document library (MOSS 2007) for a specific condition and updates the value in a column for each item that meets the criterion. I run the console ...
9
votes
3answers
6k 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 ...
0
votes
2answers
570 views

Update item in list trouble (using multiple look up criteria)

I have a workflow attached to a task list that sends out an email to the assignee to asking them to fill out and submit a form. The workflow sends daily reminders (I followed this post) until the task ...
1
vote
2answers
2k views

Why SPListItem.Update doesn't trigger workflows?

I have a workflow with Start Option "Start workflow automatically when an item is changed" and I have code that execute SPListItem.Update(), but this update doesn't force workflow to run execution. ...
1
vote
1answer
3k 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 ...
1
vote
1answer
2k views

Programmatically update Recurrence parameters for calendar entry

I'm building a Sharepoint service, which allows users to book company's resources, such as conference rooms, etc. The back-end is implemented with standard Calendar list, the front-end uses JavaScript ...
1
vote
1answer
1k views

Updating managed metadata field issue

I'm copying documents between document libraries in different site collections. I have saved my source library template, uploaded to destination site collection and created library based on that ...
5
votes
2answers
1k views

SPListItem.SystemUpdate updates SPListItem.File.ModifiedBy

As can be seen from the debug image when I call SystemUpdate(false) of a SPItem, that SPItem's File object's ModifiedBy attribute changes to "SHAREPOINT\system". Sorry, it's a bit weird way to ...
1
vote
2answers
191 views

Is it possible to update the searchindex for only one item?

Is it possible to update the searchindex for only on specific item. I'm search some tasklists through keywordsearch and showing them in a webpart. Then I have a custom action which changes the status ...
1
vote
1answer
1k 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 ...
2
votes
1answer
2k 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 ...
5
votes
1answer
2k views

ItemUpdated event handler runs four times

I have a list in the rootweb, and a list in a subweb. I want to update/add when something changes in an item in the subweb. This method is invoked in an ItemUpdated event receiver. The problem is that ...
8
votes
2answers
613 views

Is it possible to create a “Link to a Document” in a Document Library using a CAML Batch Command with UpdateListItems?

I have a Document Library in WSS 3 which has the "Link to a Document" content type enabled, and I want to use a batch command (via lists.asmx updatelistitems) to create a series of links. Here is the ...
3
votes
4answers
2k views

Remote Access to SharePoint Lists with PowerShell

I have a PowerShell script that pulls data from a database. I need to push this data to a SharePoint list on a different server. Would you have tutorial or examples that show how to do this ...