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
171 views

where i can find trace for item.systemupdate()

I am working on a project which was initially developed by someone else. few of my list items are getting updated but i am not getting anything in version history. I believe that some schedule job is ...
0
votes
1answer
202 views

Object Expected error in Non Edit Mode only

I have an issue with Javascript errors (Object Expected) in normal mode while it works in Edit mode. Its failing on the last line shown below. $(document).ready(function() { updateListItem(); }); ...
0
votes
1answer
60 views

Append workflow changes to existing content

I have a workflow that updates a lookup column in another list when conditions are met. The problem is that the column allows multiple values, but the workflow is replacing any content that already ...
0
votes
1answer
739 views

Update custom property on listItem using -replace in powershell?

I have two different web application with one site collection each. One Site collection is privat and the other on is public inside the intranet. The public site links to the private site which link ...
1
vote
1answer
325 views

Updating a List Using SharePoint Designer 2010 - can't find an example of my use case

I have two lists - one administrative with lots of details, and one public with a subset of the information. There are close to 2000 entries in the list. The admin list has 3 states, which I track ...
0
votes
1answer
93 views

How to know if content was added to a SharePoint list or folder?

I'm using the GetListItemChangesSinceToken service in order to be notified for changes in a sharepoint list. This works ok for deleted items since the ChangeType return Delete , but for added items, ...
1
vote
1answer
192 views

Different CAML statements needed in development and test anvironments

I have a .NET solution which uses the SharePoint web services interface to update meta data for existing documents in a SharePoint library. However, I am finding that I need to supply different CAML ...
1
vote
1answer
257 views

How do I get the current Editor of an Listitem while ItemUpdating?

How can I get the current Editor of an list Item in SharePoint 2010 during ItemUpdating? Problem is properties.AfterProperties["Editor"].ToString() throws and Exception cause it's null. This ...
1
vote
1answer
292 views

List item Title goes blank after editing document in Word

I am creating new document in document library using this code: private SPListItem CreateNewDocument() { SPContentType documentContentType; byte[] bytes; string templatePath; ...
1
vote
1answer
132 views

Update list item not retuning full item properties

I'm using SharePoint web services to update items by calling the UpdateListItems method, and the response is not providing me the attachment data of the item correctly as other services does, like ...
1
vote
1answer
52 views

Reupload the document (update)

I'm writing now code agains the document library, that code adds files to the document library. Basically what I want to do is, when the particular file already exists in the document library with the ...
0
votes
2answers
2k views

Setting value for Taxonomy field produces Value does not fall within the expected range

I have a custom ASPX page where the user inputs data and clicks Save to add new item to the list. The field My Department is a Managed Metadata field (single choice). The user sets the value for this ...
0
votes
2answers
2k views

Can't edit items from a particular list? Corrupt somehow?

I can't seem to edit any list item in a particular list. The stack trace points to the AddOrUpdateItem() method (below). I can't think of any recent changes made to the content type of list definition ...
1
vote
0answers
152 views

Can't update document properties through any API - only through check out and check in

I have a few documents in a library that I can't seem to update the properties for through the Web UI, the ListData.svc (JSON/JS), the object model or PowerShell. We have a property called Data Rights ...
1
vote
1answer
242 views

How to prevent document editing and properties updating

I need to be able to prevent the document in document library to be edited and it's properties updated when the custom document property DocState has a value Reviewed. Should I use document library ...
0
votes
0answers
196 views

Comments field not updating

I am developing a workflow. I have extended the Workflow Task content type with the Comments field using SharePoint UI. I need to set some value for this field in my code when editing the task, but it ...
0
votes
2answers
3k views

New EventReceiver events not firing

I have an event receiver written by someone else. It originally came with events for ItemCheckingIn and ItemCheckedIn, but we needed something to handle simple metadata updates, too. Since those ...
3
votes
1answer
2k views

Client Object Model - Update Document Library Metadata - Lookup Field with no required value

I am attempting to update metadata for documents in a document library (or List) using the client object model. I have whittled down a number of the error messages I was getting and now I am hitting ...
2
votes
2answers
5k views

Edit multiple list items in one shot?

I have a list that contains many items. I'd like to give my users the ability to select 10-20 items by "checking" them and then edit them all at once. Certain fields (item name, id, etc.) are ...
1
vote
3answers
513 views

How to update people field?

I have following code on infopath form. All the column gets updated in the target list except for the people column. The verifiedBy is not updating the column in SP List. (In the list I have to to ...
1
vote
1answer
198 views

Large update in Event Receiver

I wonder how should I make a large update in Event Receiver by executing it in other thread. Normally it would look like that: public override void ItemUpdating(SPItemEventProperties properties) { ...
0
votes
2answers
1k views

Batch update with javascript client object model?

Anybody know how to do batch list updates with the javascript client object model in Sharepoint 2010? I'm putting the list into an array right now and then a kendo grid is reading it. I can update ...
1
vote
1answer
1k views

List ItemUpdated Event not firing when updating item from code

I have a problem with my eventreceiver. It is set to fire on updating item from a list, and works very good when I update that item from Sharepoint's web UI. However I have some code that goes through ...
0
votes
1answer
184 views

SPServices: Using variable as column name - possible?

When using SPServices, is it possible to use a variable to specify the column to be updated? res = lists.quickUpdateListItem('MyListHere', { ID: ReqD, columnVar : userName }); In the above ...
1
vote
1answer
174 views

What are “unsafe updates” for list items?

In the SharePoint 2010 server-side object model the SPWeb Class has a property "AllowUnsafeUpdates". What are unsafe updates in connection to list item changes? How are they to be delt with in code? ...
0
votes
1answer
346 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
2k 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
446 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
744 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
254 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
2k 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 ...
2
votes
1answer
588 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
2answers
655 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
414 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
520 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
5k 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
1k 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
184 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 ...
12
votes
3answers
7k 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
781 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
3answers
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
5k 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 ...
6
votes
2answers
2k 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
217 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
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 ...
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 ...
6
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
704 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 ...