Represents an item or row in a list.

learn more… | top users | synonyms

0
votes
3answers
40 views

Get id of current inserted item by javascript

I'm currently trying to get the id of my currently iserted item. I'm making a timesheet which user is able to save and retrieve his own timesheet. The thing is that i put the ID of an item in the html ...
0
votes
1answer
200 views

How to upload a file attachment to a new list item using Sharepoint Online remotely

I need to upload a file to a new list item in Sharepoint Online from a clientapp. The list exists allready, but I create new list items and tried to upload file as attachements. I tried it over CSOM, ...
0
votes
1answer
31 views

Security trim list-items based on a session variable

I have created a session variable. And have created a site column that sets a flag that corresponds to that session variable. I would like to hide/show list items across any list utilizing this site ...
2
votes
2answers
141 views

Best practice to add list item in SharePoint Server OM?

from the below codes, which one is best practice and performance wise also:- CASE 1: using (SPSite oSPsite = new SPSite("http://website url/")) { using (SPWeb oSPWeb = oSPsite.OpenWeb()) { ...
1
vote
1answer
127 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 ...
4
votes
2answers
393 views

Create Page using REST API

I have spent two days trying to create a page with a specific Content Type in Pages list using REST API. It goes into error handler and returns ...
1
vote
1answer
34 views

During ItemAdding of parent list, assign lookup field of a child list

I'm attempting to create a projects/tasks lists. When a user creates "ProjectA", I want to create a list of tasks based on the template that was selected for that project. In general, everything is ...
1
vote
1answer
56 views

Web Analytics - List Items

I have a list of 50 faqs. Is there a way to pull the number of times an faq is accessed in Sharepoint 2010. If so how.
0
votes
1answer
34 views

Using Pop-Up New Item Input of List from main site in sub-sites

I can use the following JS code on my main site to create an image link to pull up an input page just like when you click on the "+ Add new item" at the bottom of a list: <a ...
3
votes
6answers
717 views

How to run javascript code only when list item gets deleted?

ANSWERED! See bottom of original question for the working answer. I'm trying to find out how I can run a piece of JavaScript code the moment a list item gets deleted. So it should be some sort of ...
2
votes
0answers
106 views

How to show names of attachments from a list item in a column?

I have an announcements list and some announcements have multiple attachments. The view is set to show the attachments, but it just shows this paperclip icon which probably means the list item has ...
0
votes
2answers
347 views

Add ListItem to List using client object model

I am able to add new list item in sharepoint list using the CSOM using the below code : ListItemCreationInformation itemCreateInfo = new ListItemCreationInformation(); ListItem ...
1
vote
1answer
292 views

SharePoint 2013 REST API: How can I clear a non-string field value?

I'm using the SharePoint 2013 REST API (my last choice, technological constraints require using it vs CSOM) and am encountering an issue when trying to clear any non-string (date, number, etc) field ...
2
votes
3answers
46 views

Two different documents with same name become one

If two users have two different documents but same name, when the second user saves his file in same document library, it overwrites the first user's document and the document gets new version. Is ...
2
votes
1answer
744 views

SharePoint 2013 auto-hosted app: Assigning unique permissions to list item programmatically fails with Access denied

I have a SharePoint 2013 auto-hosted app. The app is really simple. It has a list with a remote event receiver on ItemUpdating and ItemUpdated. What I have been trying to do is to assign unique ...
0
votes
1answer
51 views

Create Multiple items with workflow (sp designer)

When someone asks some vacations, i have to create items in a sharepoint list...one item per days...is it possible with a workflow to create multiple items? Lambda situation: The user creates a list ...
1
vote
2answers
231 views

Add items to Sharepoint Online list using Web Service provided by sharepoint

I want to add a new item to a sharepoint list using /_vti_bin/Lists.asmx web service. I have used the following code SharePointListService.Lists currentListService = new ...
2
votes
2answers
872 views

Create list item in sharepoint list using REST API using C#

I have a requirement to create list item in a sharepoint online list using the REST API and c#. How to achieve this. Most of the article show using REST API in jquery and Javascript but I have a ...
0
votes
1answer
40 views

Customise Create Item & View Item page

I'd like to apply heavy customizations to the Create Item & View Item page. It's an external list pulling data from WCF, and I'm using SP 2013 e.g. Group fields Layout in 2 columns on first ...
0
votes
0answers
253 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
99 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
27 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
0answers
126 views

Can SharePoint 2013 Workflow add a user from a people column to permissions on an item/file?

I have a Document library with users that can only add new items permission by default. There is a new people column in that library. I presume I can manually change permissions on one file to let a ...
0
votes
1answer
85 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
59 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
109 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
573 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
700 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
0answers
111 views

Workflow 2013 - CreateListItem activity setting RelatedItems field

I'm creating an item in the list from a workflow (2013) and I'm using CreateListItem Activity. It works, but when I try to set the RelatedItems column I can't. Still having error: BadRequest I ...
0
votes
1answer
312 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
0answers
17 views

How to insert “Add to cart” image before each item title in the list?

I want to insert image like "Add to cart" before each item title. Below is a preview: Here image is displayed with its title. I want to insert some kind of image before the title. How is it ...
0
votes
0answers
32 views

Can I manually form the Content ETag?

I'm using the ASMX web services to query my list items and want to retrieve the content etag of files as part of this query. I haven't been able to find a way to get at this information directly ...
0
votes
2answers
1k 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
52 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
67 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
117 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
186 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
24 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
3k 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
147 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
375 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
21 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
94 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 ...
0
votes
0answers
104 views

Event-receiver ItemUpdating event not getting triggered when list item is updated from a designer workflow after a pause duration

I am having a Workflow and Event receiver attached to a custom list.The workflow is started from code, based on some condition satisfied.When the workflow is started it initially updates a Status ...
1
vote
1answer
60 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 ...
4
votes
1answer
2k 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
204 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
965 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 ...
1
vote
1answer
186 views

ListItem: Set Item-level Permissions with a few exceptions

I have created a custom ListItem in VS with a custom content template. I have enabled set Item-level Permissions. It is now only possible to see your own items in the list. Also it is only possible to ...