Represents an item or row in a list.

learn more… | top users | synonyms

0
votes
1answer
714 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
0answers
12 views

Time calculation diff from timerjob and manually created list item

I have a problem. I have a list, where some item fields are calculated from created time + offset. If I create a item manually, from the UI time calculations are correct. But I also have a scheduled ...
4
votes
2answers
1k 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 ...
0
votes
1answer
64 views

Error:Input string was not in a correct format. (Javascript)

I'm using SharePoint 2013 online and trying to save a item to a folder content type in a document libary I think the code is nearly rigth but i am getting this error when i hit save button have anyone ...
0
votes
1answer
16 views

How can i set selected item property from the list using code behind?

div id="Div1" class="myTeams"> <div class="listTitle">My Teams</div> <div id="myTeams"> <select id="myGroupList" name="myGroupList" ...
0
votes
0answers
8 views

Displaying parent data when selecting a child

I have a parent child relation between Organisation and Person and I need to select a person by displaying "Organisation name: Person name" to the user. From what I have read it seems the only way to ...
0
votes
1answer
591 views

Unable to edit list item

I have recently, and for reasons unknown, started to get errors with a particular list on Sharepoint 2013. I am unable to edit existing list items, and attempting to do so throws me to the "Sorry, ...
0
votes
3answers
27 views

How to load multiple item

I'm using SharePoint 2010. I'm trying to load mutliple selected item from a view in a ribbon on a custom list. I can have the selecteditems but when i try to display a value for an item, i've an ...
0
votes
1answer
31 views

Copy a list item with all field entries

I try to find an easy solution for copying a list items with all field values (duplicate a list item) and edit some specific lines at the end. The script I'm using right now isn't perfect for my ...
3
votes
1answer
3k 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
0answers
24 views

Print Preview for share point list issue in IE8?

I am using SP2013. In IE 8 I am clicking on print preview for SP list items, I am unable to see the last 4 to 5 items available in SharePoint list, but it is working in IE9 and IE 10. Can any one ...
-2
votes
1answer
84 views

Get selected item ID to display in customized DispForm javascript

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. I show my question form in my DispForm for my list (I added my app as ...
1
vote
1answer
89 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 ...
0
votes
2answers
79 views

Loop through array to get all items

I use sharepoint online and this is going to be an app I need to loop through an array to get all items that are selected in a list, now i can only get one item but i need to get more items at once ...
0
votes
1answer
46 views

Send data from textarea to SharePoint list with javascript

I have created a SharePoint app for a form with textarea boxes. Now I want to send all data that I have written in the textarea to SharePoint with javascript. Every textarea have a unique ID and I ...
1
vote
1answer
24 views

Enable Data View Caching JSlink

I have Enable Data View Caching unchecked and when i firts go in to my list i select the items i want to set color on press the button (pic1) and then it looks like this (pic2) when i after that ...
1
vote
3answers
2k views

Get list ID and selected item ID

I use SharePoint Online and working in Visual Studio with SharePoint hosted app I need to get list id and the id of the SELECTED item in the list And i use a ribbon button to show a dialog and want ...
1
vote
3answers
11k 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 ...
0
votes
0answers
37 views

Copy\Move items between list using Content and Structure, Comments is empty

I am working a SharePoint Online tenant and trying to move/copy items between two Issue tracking lists. Everything works fine however the value of comments column is empty in the target list. any ...
0
votes
0answers
29 views

Copy list item from Prod to Dev using Powershell or Server Object model

I'm looking for the best way, either throught Powershell or the Object Model, to copy a list item from Production to Dev. The lists are identical, I just have one item that is causing an error in an ...
0
votes
1answer
84 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 has it can only edit list items. When I click on ECB menu on an item, I can see the edit item. Which means I can edit items, but ...
0
votes
0answers
9 views

Determine Correct Item URL for Report Library

I am creating a webpart that displays list items from a Report Center that contains both .xlsx files and .rdl files. When I view the .xslx files in the standard SharePoint list webpart it opens them ...
2
votes
3answers
3k 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
32 views

How time is save on list item and its versions?

Today I faced interesting issue: I retrieved list item, saved its modification date to datetime object and and started to iterate through that list item's versions. In first iteration i tried to ...
0
votes
2answers
2k 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
113 views

Get selected item ID from Ribbon buttons Element.xml file

Im using sharepoint 2013 online and want the id of selected items is it possible to get the id from this line in the Elements.xml and if so how do i do it? ...
1
vote
1answer
64 views

Advanced version history in SharePoint

Is there out the box advanced version history for List items which show when, which metadata change by who?
0
votes
2answers
88 views

REST API: Show each unique item only once while retrieving categories from a list

In my SP2013 environment I've a function which returns items from a list using REST. Let's say it only returns the items' category which is defined in the column "Category". It works just fine. Some ...
0
votes
0answers
30 views

Have workflow add items in a list contained in a different site scope in SP 2010

I've been tasked to create two distinct site structures, which will contain one list each. One list will have a workflow associated with it, this workflow having to, once activated, add and update ...
0
votes
1answer
37 views

editing list item by users in different groups with different permissions

What is the best solution to acchieve following scenario programmatically (Visual Studio) in a Farm solution. There is a document library, two different Site groups (Managers and Approvers). The ...
2
votes
0answers
45 views

SPListItem.BackwardLinks equivalent in CSOM, JSOM, or REST?

In the Server API for SPListItem there is a property called BackwardLinks that returns a collection of items that link to the item. I don't see the same property in CSOM, JSOM, or REST. Is there a ...
1
vote
1answer
559 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 ...
5
votes
3answers
505 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 ...
0
votes
1answer
2k views

SharePoint 2013 REST-API: Reliable way to retrieve all field values of a list item?

I am trying to retrieve all field values of a specific list item via the REST-API of SharePoint 2013. The values will be used for further processing. The goal is to retrieve all field values ...
-1
votes
1answer
184 views

Add/delete list item using knockoutjs

I need knockout js code to add/delete a list item. Any ideas?
0
votes
1answer
339 views

Creating monthly report of a list

I have a list that gets updated every month and currently any item in the list that is over 5 days of the current day gets deleted. However, now I wanted to keep a record of the list items that get ...
1
vote
1answer
279 views

Provider Hosted App unable to access List Item value from host web in Sharepoint 2013

I have a List on my host web in sharepoint by name 'PremiumCalculatorContent' which has two columns 'Title' and 'FriendlyName' and some data. I was trying to fetch these two column values from the ...
0
votes
0answers
75 views

Copying list items's attachments

I have to modify a .Net console application written in C#. The application references the following assemblies : Microsoft.SharePoint Microsoft.SharePoint.Client Microsoft.SharePoint.Client.Runtime ...
0
votes
0answers
44 views

Edit ListItem and InfoPath form in ItemAdded event

Currently I have an InfoPath form that is being saved to a SharePoint document library with a filename based on the DateTime of when it was created. When the file hits the list of documents I want to ...
0
votes
1answer
64 views

List Item-Specific permissions

I have a list that I would like to apply list item-specific permissions to. For example I have a list of links: Link 1 Link 2 Link 3 Link 4 And a set of groups: Group 1 Group 2 Group 3 Group 4 ...
0
votes
2answers
1k views

Get Current list item

How to get current (opened) list item using object model. I have a blog which has list named posts. when user opens anyone post, i need to do operation taking that current opened list item. I am using ...
0
votes
1answer
1k views

changing list item using Rest API not working

following is my code. I am trying to update a Choice ListITem (dropdownlist) in a Custom list using Rest API. I have debugged the code it goes into success handler but the Item still has the old ...
0
votes
1answer
1k views

How to get the selected items of list in the javascript

I have one picture library, where several pictures are stored. In that picture library I want to put such a link that will download selected images. To achieve this functionality, I thought to prefer ...
0
votes
0answers
10 views

Duplication of listitems when enabling a feature [duplicate]

I currently have a Web scoped feature that creates a list via a list definition created in Visual Studio 2013. This list instance has some Rows being added in the definition itself by default. For ...
-1
votes
3answers
647 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 ...
6
votes
1answer
5k views

How can I restart list item ID numbering at 1?

I deleted list items that include an ID from the list and the recycle bin. When I create a new list item, the ID populates where the last line item left off. Now is there a way to make a new ID ...
0
votes
1answer
97 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
597 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
690 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
247 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 ...