Represents an item or row in a list.

learn more… | top users | synonyms

3
votes
4answers
7k 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
2answers
3k 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
20 views

External Url adds RootFolder=Shared Documents to all lists on new item

We have a strange error in production in that the external URL to the SharePoint 2013 solution adds RootFolder=Shared Documents in the URL to all none documents lists. It works fine in the ribbon ...
1
vote
0answers
85 views

SPServices and GetListItemChanges

I'm trying to get the changes made on all items from a list using SPServices, in xml. This is the code I have so far: $(document).ready(function(){ $().SPServices({ operation: ...
-4
votes
3answers
57 views

Query on All Items view in SharePoint 2013 [closed]

I need to query on AllItems view for getting items. How can I do this? CAML maybee?
0
votes
2answers
332 views

Can't properly “get” attachment binary for certain filetypes

I am performing a "GET" request for a file on my SharePoint site because I need to be able to copy a list item and then copy each of its attachments. I am able to use this code to get the associated ...
1
vote
2answers
314 views

Get Listitem Attachment URL

I want to get the Attachment URL with via REST or Javascript. Is there an easy way? The reason I need this, is because I want to build a marketplace in my company. User creates new list item User ...
2
votes
3answers
354 views

Limit only one entry per day per user in sharepoint list

sharepoint 2013 I have a list where users should be able to create only one item per day (every user can create only one item per day). Any help or suggestion how to manage this?
0
votes
1answer
338 views

“Find an item” search box doesn't return result

In the sharepoint list, I see the "Find an item" search box. I input a number, but cannot get any result. But actually the item with this number as Title really exists. I tried with 2 methods as ...
3
votes
1answer
297 views

Dynamic link creation for each list item

I want to get the ID of a list item each time an item created. I have a list with couple of columns, one of columns is type Image. I want to have a list view which will show only the column Image, ...
0
votes
1answer
197 views

Like a list item function

I'm trying to implement the standard like function to a custom view I wrote. My code for getting the items, getting LikesCount and how I display them: <script type="text/javascript"> ...
1
vote
1answer
245 views

Group by responsibles (multiple values) in list view

I have a very simple and very common task. I searched everywhere and haven't found a solution. Well I have a lists items. All these items have "people and groups" field with responsibles. One list ...
1
vote
2answers
872 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 ...
2
votes
1answer
25 views

What is the difference between Title and TitleResource

If I am localizing SharePoint a lot of Fields have 2 public properties: Title TitleResource What is the difference between them? Currently I am localizing a Field with this piece of code: ...
0
votes
1answer
557 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 ...
0
votes
0answers
22 views

PowerShell Script to Update a SharePoint List Item with composite field

I have the following Sharepoint list item: Notice that URL is made up of two fields! I want to update that entry via a PowerShell Script, here is the troublesome line: .\Set-SPSItem.ps1 -url ...
0
votes
1answer
45 views

Retrieving Permission of ListItem

For sites, we always use the web context to retrieve all the groups for the site. However, I have requirement to retrieve all the users and groups for a list item. The list item has its own permission ...
1
vote
0answers
43 views

Passing More Than One Managed Metadata Term to a List Field Via a Webpart

I have a Webpart that adds items to a list. it has a managed metadata field that can get more than one term but when I submit the data, the first one gets submitted and there is a semicolon after it ...
0
votes
2answers
415 views

List Group By Week not working properly

I have a list grouped by the following formula. =CONCATENATE(TEXT([Effective Date]+(5-WEEKDAY([Effective Date])),"mm/dd/yyyy")," - ",TEXT([Effective Date]+(11-WEEKDAY([Effective ...
0
votes
0answers
55 views

invalid file name . sharepint site collection

i use Sharepoint 2010 as farm server .. every thing was good .. but suddenly i get this error . when i want to attach a file to new item in every list . Error text: invalid file name the file name ...
0
votes
2answers
4k 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
2answers
134 views

Start view with displaying items 31-60

I created a list with 100 items, split my page into three columns and entered the same webpart in each column. Now the thing I want to do is that by default, the list shows items 1-35 in column one, ...
4
votes
3answers
1k 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()) { ...
2
votes
1answer
328 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
0answers
26 views

Get checked out items that don't have checkedin version (yet)

In a document library, I need to get all the files/items, even the items that don't have yet checked-in versions. Is this possible and how? I'm using CSOM (C#).
0
votes
2answers
371 views

How to modify Author field of ListItem

I am building a migration tool that is migrating items from an XML schema to SharePoint list fields. Everything is working fine except when it comes to the migration of Created By fields. I need to ...
0
votes
0answers
38 views

Email alerts for existing list list items

I run a SharePoint Online site that my company uses for staffing. There is a List for Positions. Each position gets a status of open when it's first created and remains opened until it is filled. I'm ...
1
vote
1answer
233 views

How to get the List item Id in javascript while in the display form

Is there is a way to retrieve the List Item Id (ID) that you are currently viewing (Display.aspx from) in javascript. I have searched through ctx and the _spPageContextInfo but have not found any ...
3
votes
2answers
170 views

How do I display only the title on an event in the calendar?

Right now, it is currently showing up as the date and the title but it is all mushed into one line. I would like to change the default settings for all future events to be ALL DAY events, however ...
0
votes
1answer
102 views

New Item, Custom Form, Call Out(?)

In my webpart when I click new item I get: Is there a way to make this box appear to create a new list item when I link a link? I want to have something hyperlinked like "Send Feedback" that people ...
2
votes
1answer
422 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
3answers
3k 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
2answers
2k 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 ...
3
votes
1answer
666 views

BreakRoleInheritance and Inherit Permissions ListItem

I'm having a little difficulty with the BreakRoleInheritance in keeping inheritance of permissions in a users OneDrive for Business Documents list. By default the users Documents list has two ...
3
votes
3answers
8k 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
0answers
110 views

Unable to create new list item in another list using Workflow

I am trying to create a list item in List 2, when List 1 form is submitted. But I'm getting below error The workflow could not update the item, possibly because one or more columns for the item ...
0
votes
1answer
186 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 ...
1
vote
2answers
147 views

Check permissions of groups on a document library folder, write out the group names and permissions

I can get to the document library folder/item like this: SPDocumentLibrary docList = (SPDocumentLibrary)web.Lists["Documents"]; string caml = "<Where><Eq><FieldRef Name='ID' ...
0
votes
1answer
289 views

Add Item to List on JSLink with jQuery

I have a JSLink on my Webpart Custom List, and I need to add an item before render a view. (function () { var overrideCtx = {}; overrideCtx.Templates = {}; ...
0
votes
1answer
42 views

get the title of the list

I have a list with title as one of the column which is of clickable and am using jQuery to show the list items in one of my SharePoint page I am getting the name of the title but unable to make it ...
1
vote
1answer
77 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 ...
1
vote
1answer
1k 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 ...
0
votes
2answers
3k 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
1answer
2k 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 ...
2
votes
1answer
553 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
203 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
289 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 ...
1
vote
0answers
251 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
2answers
262 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" ...
0
votes
1answer
135 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?