Represents an item or row in a list.

learn more… | top users | synonyms

1
vote
1answer
28 views

Previous submitted InfoPath form disappears in form library

I'm working in SharePoint 2013 (Office 365). I have created an InfoPath form and publish it into the SharePoint site. When I submit a new record it will be submitted successfully. But if I add ...
0
votes
0answers
15 views

Validation for column choice

I am creating an event registration list using Sharepoint and have a column with the choices session 1, session 2, session 3 etc. How do I set a validation rule to limit the number of items for a ...
0
votes
0answers
7 views

File Version Corrupted

I need to check programmaticaly (C#) if a file (and its own versions) is corrupted or not. I am getting the stream in this way: System.IO.Stream fileStream = item.File.OpenBinayStream(); but I can ...
1
vote
1answer
96 views

Upload list item attachment using JSOM

I am trying to upload list item attachment using the below code. There is no error in the code and all the variables are present with proper values but in uploadFile method it goes to error handler ...
1
vote
0answers
30 views

Include Rich text web part in document template

I have a workflow which creates a word document in document library, when a new item is created in list. The list has a rich text field. The document is created successfully with all the contents but ...
1
vote
1answer
36 views

Fetch list item attachment by name

I am trying to write custom code for list item attachments. As it is not allowed to overwrite them, I will check if file already exists. If yes, will delete and then upload again. I found a method ...
0
votes
1answer
22 views

Add list item only after workflow approval

Is there a way to restrict or hold the list item from adding into the list until it is approved? Once the user hits the save button from new user form, the workflow approval request starts and until ...
0
votes
1answer
32 views

Print out list item display form (InfoPath)

I have a SharePoint site used for tracking despatches in a warehouse. I think I'm going to use InfoPath to design the form to make it look nice, rather than CSS or JS, and from what I've seen ...
0
votes
0answers
46 views

CSOM retrieve List Item doesn't show some Lookup Key Value pairs

I try to load a ListItemCollection from my SiteCollection using CSOM C#. Therefore I use the following List rr = web.Lists.GetByTitle("MyTitle"); context.Load(rr); FieldCollection fcol = rr.Fields; ...
0
votes
0answers
19 views

Custom action sequence number

I do not understand how does the sequence number work in custom action definition. How can I decide my custom position (which number should I use?) <CustomAction Sequence="600">
0
votes
1answer
22 views

Hide list item with Workflow

Is there any way I can hide a list item that is posted to a custom list until it's approved by a content owner? If so how can I do that?
0
votes
2answers
55 views

CommandUI.Ribbon.ListView Displays Custom Action On DisplayForm For Item

I have the following custom action definition: <CustomAction Id="MYRibbonTab" Location="CommandUI.Ribbon.ListView" RegistrationType="ContentType" ...
2
votes
2answers
93 views

JSOM Anonymously CAML query list items

I am attempting to query a list using CAML via JSOM and am getting the error message The method "GetItems" of the type "List" with id "{GUID}" is blocked by the administrator on the server. I have set ...
0
votes
1answer
48 views

How to specify columns when adding new item to list using set_item

I'm trying to add an item to a SharePoint list like so: Title | Column1 | Column2 -------+-----------+----------- title1 | 1 | a title2 | 2 | b Now lets say I want to add ...
0
votes
2answers
149 views

SharePoint Online Iterating through Document Libraries CSOM

I am trying to iterate though a document library and set each document/items within to inherit permissions (at the moment each doc/item is using uniquer permissions). I am able to get the specific ...
0
votes
1answer
89 views

Updating a list item using date() function

I have a column [ScheduleTime] which is a DateTime type in my List. Using JavaScript i need to update the [ScheduleTime] column which should be Current Day whenever my script loads. But here I need to ...
0
votes
1answer
54 views

'u.Email' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'

'u.Email' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException' When I try to get the email from a user in a list. Here is mycode: CamlQuery query = ...
0
votes
1answer
35 views

Cannot convert lambda expression

I am trying to retrive an email of user in list. I have this compilation error context.Load: Error 1 Cannot convert lambda expression to type 'System.Linq.Expressions.Expression>[]' ...
0
votes
1answer
18 views

Extract email from ListItem user

I don't know how to extract the email of a User in a Sharepoint list. I get a FieldUserValue but I am stuck at it. Microsoft.SharePoint.Client.ListItemCollection listitems = list.GetItems(query); ...
0
votes
2answers
25 views

javascript to deactivate a list item

I have a Picture Library. It has YES/NO column called "Activation Status". When we deactivate a image, we have to manually, un-check the Activation Status. Can we use JavaScript code to un-check ...
0
votes
1answer
187 views

Add facebook like button to sharepoint list item

How can I add a facebook like button to a sharepoint list item in Sharepoint 2013? P.S: I'm intrested in adding a like button only to a list item, not to the whole page. Thank you in advance!
0
votes
0answers
102 views

Adding an a attachment to a new list item programmatically (not typical issues)

I am having a bit of a weird issue. I have created a Visual Webpart for SP2010 using C# and VS2010. I finally got all the bugs worked out and it is working properly. If someone wants to attach ...
0
votes
1answer
37 views

How to copy item to new item then edit new item (cloning a record)

I have records in my database and when viewing a record, I wanted to be able to have a button that would create a new record (new ID number) with the same data that was in the record I chose to create ...
1
vote
3answers
51 views

Create list item which will link and navigate to new list item?

I've been trying to get this to work but need some direction. Got a requirement for a list item that on submission would create another list item and link to it. So basically a lookup on the ID of the ...
0
votes
1answer
12 views

Can a deleted list item be restored to a different list?

We have a couple list items deleted that we want to restore to collect attachments from, but we can't restore it to the same list if possible.
1
vote
1answer
23 views

Different permissions on item creation

Within SP 2013, is it possible to do the following in terms of permissions : Two different AD groups : Admins & Users. With only one list. When Users access this list, they can add/modify only ...
0
votes
1answer
114 views

Item level permissions settings for a document library in sharepoint 2013

How can I get item level permissions settings for a document library in SharePoint 2013. Something like below I want to create a page where everybody will be able to create/add their post/picture. ...
0
votes
0answers
16 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 ...
0
votes
1answer
34 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
1answer
192 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
0answers
11 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
3answers
63 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
73 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 ...
0
votes
0answers
56 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
137 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
228 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
1answer
96 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 ...
0
votes
0answers
94 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
57 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
0answers
21 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 ...
0
votes
1answer
66 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 ...
1
vote
1answer
52 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 ...
0
votes
2answers
95 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
0answers
170 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
3answers
4k 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
1answer
78 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
188 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
33 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
49 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
69 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 ...