Represents an item or row in a list.

learn more… | top users | synonyms

0
votes
0answers
324 views

clientContext.ExecuteQuery() giving an error: The remote server returned an error: (403) Forbidden

I'm trying to connect to SP site programmatically and get List data (external list) But getting an error: The remote server returned an error: (403) Forbidden. At clientContext.ExecuteQuery(); ...
0
votes
1answer
215 views

How SP generates ID for each list item

When you click open an item in an external list, you have a url like this: ...
0
votes
1answer
43 views

New Item Fields Automatic Population

I sure this is possible to do in SharePoint, however, I am not 100% sure on how it's to be done. My objective is to 2 fields to automatically populate when adding a 'New Item' to an List Library. ...
0
votes
1answer
106 views

Open item from a different External List (BDC connector)

I have a "Quote List" and "Task List". Both are external lists, using BDCM custom connector (from WCF services) I'm using Sharepoint 2013. A new task will be create when a quote is approved. So on ...
0
votes
1answer
183 views

Why is edit item greyed out on lookup link

This is SharePoint 2010 Enterprise. This is all OOB stuff. I have one DocLib and two Lists. DocLib 1, List A, List B. DocLib 1 has two lookup columns. One to list A and one to list B. I have values ...
0
votes
0answers
135 views

Trying to get all selected items from a list

Im trying to get all items selected in a list but unable to do so with the code below: getItem = new TextBox(); getItem.Text = "get item"; getItem.Attributes.Add("onkeyup", ...
3
votes
2answers
739 views

SharePoint 2010 Save ListItem without closing

Is it possible to save a ListItem without closing the modal dialog in SharePoint 2010? Possibly by replacing the save button on the Ribbon with a custom button that calls the submit function and keeps ...
0
votes
1answer
1k views

Unable to add taxonomy field value in list item

I want to add value to the managed metadata column of list item. The term which is being inserted is selected from taxonomy web tagging control. My declarative part is: <tr> <td> ...
0
votes
1answer
589 views

How to decide which link is clicked from list item using javascript?

I have inserted an image (with <a> tag) like "Add to cart" before the title of list item using SP Designer. Now I want to check that which item's link is clicked using java script. How to do ...
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
88 views

SharePoint 2010: What are the Related Resources for Document Library items?

Could anyone please tell me what "Related Resources" means in context of Document Library? I have an existing Document Library (created by Publishing feature) with MS Word files and some other ...
0
votes
1answer
83 views

Append List Item Files

I'm using a list which allows users to attach files to an item but removes the delete option using javascript. I need to find out if theres a way I can allow users to continue uploading documents to ...
3
votes
3answers
141 views

How to get the state of the document whether it is locked or not in SP2013?

I have document library with workflow attached with it. There are metadata columns attached with the document library i.e. Test1 & Test2 I am modifying the value of the Test1 & Test2 in the ...
0
votes
3answers
483 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
27 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
243 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
631 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
23 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
173 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
77 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
286 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
3k 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
159 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
260 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
130 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
445 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
162 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
191 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
86 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
8k 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
666 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
2k 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
720 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
147 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
316 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
155 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
238 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
226 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
0answers
778 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
10k 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
10k 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 ...