Represents an item or row in a list.

learn more… | top users | synonyms

0
votes
3answers
383 views

Automatically add value to column of new list item?

How can I automatically add a value to a column when making a new list item? Like, if I make a new item in a list named "Announcements", and I want the "Expires" column to automatically get a date 3 ...
0
votes
1answer
26 views

Modifying the !new marking on listitems or alternatives

I am looking for a way to increase the duration an item is marked as "new" in a list by up to 30 days. I found this article, but it is only viable for Sp2007 and I can't find information, if this is ...
3
votes
1answer
4k views

How can I display list item data on a workflow initiation form?

I have a master list (Projects) containing all the data about the projects my clients' employees (technical writers) are working on. When it's time for the writers to grab sign offs on the project ...
0
votes
1answer
215 views

List item storage in SQL

So I'm having some performance issues with some large queries against SharePoint (yes, I'm already using CAML), so I decided to take a peek at the SharePoint database despite the dire warnings never ...
1
vote
2answers
560 views

Retrieving the Name of a Document Saved in a Document Library Using the Client Object Model

foreach (SPListItem item in listitems) { String value = item.File.Name; } The above sever side code shows how to retrieve the name of a document which is saved in a SharePoint document ...
0
votes
1answer
22 views

COM ListItem not updating

ClientContext cl = new Microsoft.SharePoint.Client.ClientContext("http://" + "mysharepoint" + "/" + SubWeb); System.Net.NetworkCredential cred = new System.Net.NetworkCredential("myuser", "mypass", ...
0
votes
1answer
147 views

Edit Hidden Item in List

I'm using SharePoint 2007 and I'm trying to figure out a way to hide a group of fields from being options in a new-item form when a list item is being created by an end-user. However, I also want to ...
1
vote
1answer
73 views

Adding new item to a list works in dev but not in prod

I have some code which simply gets a list, creates a new item with the appropriate fields, and adds the item to the list. The code worked perfect in the dev and UAT environments but since we deployed ...
6
votes
1answer
3k views

CSOM Get ListItem of Folder

In an application I'm working on, I'm interacting with SharePoint (2010) via the .NET Client-Side Object Model, and am trying to account for a large number of possible configurations of document ...
0
votes
0answers
261 views

How to Update LinkTitle programatically

I have a script that adds a set of items to a list one by one in a loop. The items are added fine and the "Title" column contains the correct title for each row. However, both of the LinkTitle and ...
1
vote
3answers
2k views

Possible to load a SPListItem from the item url?

I have a FullTextSqlQuery that is returning the URL for a list item. I would like to create a new SPListItem object from that URL. Is there an easy way to do this, or will I need to peel apart the ...
0
votes
2answers
1k views

How to modify xml list item property via powershell

Hi all, i have a sharepoint 2010 site with blog, blog contains few posts with comments. I need to modify comment property via powershel. Have used the following code: $spWeb = Get-SPWeb ...
0
votes
1answer
149 views

How To Add Item ToSharePoint List Programmaitcally

My goal is to simply submit a new item to a SharePoint list programmatic-ally through a custom web part that I'm building, however, I'm having trouble putting some pieces together. There are plenty of ...
0
votes
1answer
250 views

What is the difference between ItemId and DocumentId in Sharepoint

How is an ItemId different from DocumentId in Sharepoint Server? if documentId is unique to the content repository, what is the need for ItemId.
1
vote
0answers
126 views

Is there a way to catch the transition of a SharePoint 2013 list item to Project Server 2013 project event?

As you may know, there is a feature in SharePoint 2013 that allows you to create a project in PWA from a list item (Ideation). I need to add a couple more settings for that list item and the resulted ...
2
votes
2answers
410 views

Updating a document library list ltem in ASP.NET code behind file

I am trying to update a list item's custom property in asp.net code behind file but getting Error 500 without any explanation or further error, while debugging I realized it happens while calling ...
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 ...
1
vote
1answer
161 views

How to display ONLY “Add new item”?

I see lots of people on Teh Interwebs trying to block the "Add new item" line that comes up on SharePoint lists, but I want to do the inverse -- I want to have ONLY the "Add new item" line, green '+' ...
0
votes
0answers
173 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
1answer
82 views

Only give permission to modify/delete a list item to the user that created it

I have created a simple Hyperlink list on which everyone can create, edit and delete items. Now I need to add some more restrictive permissions similar to the following: Only the users that created ...
0
votes
1answer
7k views

The property or field has not been initialized. It has not been requested or the request has not been executed

I am getting this error and from what I understand this is when you try and access columns from the list item. I have tried various things including the line below: clientContext.Load(items, eachItem ...
1
vote
1answer
561 views

Item-level permissions on document library

I ultimately want to grant users edit permission only on the items they created. According to this article: http://www.hersheytech.com/Blog/SharePoint/tabid/197/entryid/28/Default.aspx I can do ...
2
votes
1answer
1k views

Delete item from Client Object Model

I'm trying to delete an Item from a list using the following code: using System; using Microsoft.SharePoint.Client; using SP = Microsoft.SharePoint.Client; namespace ...
0
votes
1answer
641 views

Add documents to library or assign them to items?

We have a checklist for projects, this list is represented as a project tasklist so we can track to progress. At the moment we add documents to a document library on the same page, but this way they ...
1
vote
2answers
141 views

How to change the default link in a list item

I have a basic list and would like to customize the default link of the "Title" field. Currently when I click on the "Title" field of a list item it takes me to view that particular item; instead, I ...
0
votes
0answers
302 views

MOSS 2007 cascade delete non-programmatically?

Using SharePoint 2007 (and SharePoint Designer), is there a way of faking the cascade delete that I understand is available in SharePoint 2010? I have two custom lists: Orders and Line Items. The ...
2
votes
2answers
4k 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 ...
0
votes
1answer
151 views

Permissions(user has not created list item but should only be able to edit their own)

Hope you can help. Ok so I have a list with a field called Owner which is derived from the active directory, this is the person who should be able to edit the list item in which they are assigned to. ...
0
votes
2answers
1k views

Two Content Types or Two lists?

[Apologies if this is phrased badly] I have two very similar "Forms" that I want to be in a List...or two lists? Both have near identical data, but different validation rules. As I understand it I ...
0
votes
2answers
224 views

MOSS 2007 workflow not copying particular column to another list

MOSS 2007 workflow not copying particular column to another list I Created a workflow to move the list items to another list. A column with lookup field type is not moving to another list. The column ...
0
votes
2answers
2k views

List Item Description not showing up when viewing item?

Ok so I have a List and it has a Description column, the one that is default and I cannot delete it. The problem is that the Description field will show up when you are creating a list item but when ...
0
votes
1answer
225 views

List not updating correctly after programmatically deleting items

I have a custom webpart control on a page which, upon page load, deletes the items from a list (displayed on the same page as the custom webpart). After deleting the items, the code also populates it ...
0
votes
1answer
1k views

Attach multiple files to a list item with a single action

I have a list with a "New Item" form that has the built-in "Attach File" button at the top. If I want to upload I file then I can click on that button and I am taken to a page where I can choose the ...
0
votes
0answers
750 views

Error when trying update item options

i experienced problem, when trying update list item options, here need long wait and after receiving error, with corelation ID, which is c1941c35-10fb-437c-be9f-ead1d9efb313 Error appearing not ...
5
votes
3answers
9k views

Cannot get field value of list item through JavaScript

I try to get the value of a list item (that is currently selected). I know that I must load it into the context but even with loading the field explicitly I get the following message. Microsoft ...
1
vote
3answers
9k views

How do I get the terms used in a TaxonomyField?

I have a document library with a custom managed metadata field. I want to get the terms that are used for a particular item. I can get access to the item through the object model, and can get to the ...
1
vote
1answer
1k views

Move an Item between lists maintaining version history

I wish to move/cut a item from list in SharePoint to another list. I can copy the item across to a list and delete the original. Sadly version history is lost. I want a way to be able to copy an item ...
0
votes
1answer
3k views

How to find deleted list items in SharePoint 2010?

We have a list with few hundreds of records in it. There are some list items that are deleted in past. We need to get the list of items (title of the list items) that have been deleted so far. These ...
2
votes
4answers
3k views

Archiving list items

What would be the best way to archive items from one list to another. Is there OOB functionality for that or do I have do code this by myself? If I had to code it, what would be the best approach?
1
vote
1answer
3k views

Get UniqueId from listitem with Javascript/Ecmascript (Sharepoint 2010)

Is it possible to get the Unique Id from a listitem in a custom SharePoint 2010 list? I've added a custom ribbon action so far where I can get the id, but that's an integer (0,1,2,3,...) I need the ...
0
votes
0answers
67 views

The edit field of list won't show up when user has edit permission on items. why?

i created a Permission Level(by the name JustEditItems) which whoever have it can only edit list items. when i click on ECB menu on a item i can see the edit item, which means i can edit items, but ...
1
vote
1answer
389 views

Get list items even if user does not have access to those items

Is there a way to get items from a list even if the current user does not actually have acces to them? SPSecurity.RunWithElevatedPrivileges does not seem to work! I have a special case in which I ...
1
vote
3answers
350 views

how can i know Items in Tasks list viewed by user(something like “Last Viewed” and “Last Viewed By”)?

for every list-item in Lists we have two columns or fields by the name of "Modified" and "Modified By". you got the idea, i wanna have two columns or fields for Tasks List by the name of "Viewed" and ...
0
votes
3answers
1k views

How make a item visible only for one user inside a site

Hi I'm trying to find a way to make an specific item visible for only one specified user of the site. Has anybody any idea?
0
votes
1answer
4k views

properties.ListItem is NULL on item added Event Receiver?

The following articles... http://moonistahir.wordpress.com/2008/05/05/properties-listitem-in-itemadded-is-null-workaround-to-get-listitem/ ...
0
votes
1answer
613 views

Caml query returning multiple lists

Trying to load a list from library containing two files. The following code when tested in CamlBuilder it is returning single row according to the filename selected. But in the program it is returning ...
2
votes
2answers
273 views

Comments for Content Types

One piece of functionality I thought was oddly unincluded in SharePoint 2010 was the ability to create comment trails for content types other than blog posts and to a lesser extent discussion boards. ...
1
vote
1answer
349 views

Sharepoint Ribbon for view item form going full option

I have a view item form which contains a custom WebPart for displaying that item. I have no issue with that but the ribbon for the display form looks weird: It contains lots of options that don't ...
1
vote
1answer
558 views

SharePoint 2007 Error - some part of your SQL statement is nested too deeply

Im working with an application on SharePoint 2007, I encountered an issue where the list item unable to view. It hit error 1309 "Some part of your SQL statement is nested too deeply. Rewrite the ...
0
votes
1answer
942 views

How to execute code for custom menu action?

I have a custom menu action, declared like this: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="ConvertListLevel" ...