Represents an item or row in a list.

learn more… | top users | synonyms

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
1answer
683 views

Q: After adding a new item to a list, is there a way/workflow to automatically add new item to another list?

I am hoping someone could direct me to the right path on being able to do the following. I have an "issue tracker" list, and a "Team Discussion" list. When adding a new item to the "issue tracker, I ...
1
vote
1answer
9k 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 ...
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 ...
5
votes
3answers
482 views

Updating a single list item based on relative URL

Is it possible, using SPServices, to update a specific list item when all I have is the file path? For example, I have a file located at /site/library/folder/file.txt and I want to update a single ...
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 ...
1
vote
1answer
83 views

Load list item to dispaly get_fieldValues?

I'm using SharePoint online and have a SharePoint-hosted app. I have a page with a question form that send data in to Sharepoint using listItem.set_item('GEN_1_blabla', $('#GEN_1').val()); Now in ...
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 ...
1
vote
1answer
352 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 ...