A custom list in SharePoint is a blank list in which you can add your own columns and views. Use this if none of the built-in list types are similar to the list you want to make.

learn more… | top users | synonyms

19
votes
4answers
5k views

Content types vs. custom list field

This is a question about best practices and the intent of the designers of SharePoint. I'm pretty new with SharePoint, and have only worked on pretty small projects. I often find myself creating ...
12
votes
2answers
5k views

How can I use normal paging on a custom view?

I'm creating several lists (and their views) programmatically, based on custom list definition templates. When these views display more than 30 items, the following link is displayed: Whereas on ...
9
votes
3answers
64k views

Can I create some sort of Attachment column in a list?

User needs a list to track issues. They also want to be able to attach a document to this issue. If this attachment was mandatory I would be able to create a document library, but since it is not I ...
8
votes
2answers
2k views

Event Reciever on specific list in sharepoint 2010

I am working on creating event reciever for a custom list in sharepoint 2010 using visual studio..how can this event reciever be targeted to a specific custom list ..in my case its customEmpList?
7
votes
1answer
6k views

Can't hide the title column in a custom content type

I'm building a custom content type. I've set a bunch of site columns I add to the content type. The content type is used in a custom list definition within a ContentTypeRef node. I'm also willing to ...
7
votes
4answers
283 views

Request timeout error in large list

I have a list containing 500000 data. When i am query on that list like list.getitembyuniqueid(1), its working fine and give result quickly. But when i restart sql server and try to fetch data from ...
7
votes
1answer
264 views

SharePoint Online List limitations

Is it just me or is it really strange that SSRS 2012 still does not support Claims based authentication or OData connections? Anybody know of plans? Reasons for such a hole in the strategy? Part of a ...
6
votes
7answers
20k views

Hide some fields in the NewForm.aspx for a custom list

I have 5 columns in the custom list. Out of which only 3 have to displayed in the NewForm.aspx page. All of the 5 columns have to be displayed on the EditForm.aspx page. While googling, I have come ...
6
votes
3answers
4k views

How to create SharePoint list with custom template using Managed Client Object Model?

Creating lists in SharePoint using Managed Client Object Model is rather easy task. Here's how to create a list with SharePoint's custom list template: ListCreationInformation lci; List list; lci = ...
6
votes
2answers
3k views

sharepoint 2010 adding more fields in user profile, accessible from spuser

we have custom fields like e.g. Manager, Organisation, EmployeeCode. currently we are creating a custom list to add these with respective SpUser.ID, which i think is wrong. Can any one please guide ...
5
votes
5answers
13k views

email into a list on 2013 SharePoint-online

I have setup a IT ticketing system in SP (hosted via office 365) and I wanted to make it easier for my employees to send me tickets (sp mobile isn't very friendly) Is there a way to have an email ...
5
votes
3answers
13k views

Creating CASE statement with Calculated Column

I am using SharePoint 2010. I added a new Column and made it a Calculated Column. Now I need to place a CASE statement in my Formula. Something like this... CASE when [Region1] = 'A' and [Region2] =...
5
votes
3answers
2k views

How to add new field to custom list (See edit!)

I am using a Microsoft template for adding Training and Courses for people to register for. Everything is working fine, but I want to add a field to the Courses list. I want to add a field to indicate ...
5
votes
5answers
855 views

Adding multiple items to list with same title

I'm experiencing an issue that in my programatically created SharePoint List, if I add two items with the same "Title" field, it tells me the following error: Sorry, something went wrong A ...
5
votes
2answers
1k views

ctx in CSR not return the title

I need to make the action of clicking on the title of a list item open the edit form, and not the view form. To do this I chose to use CSR. I have the following code: (function () { var ...
5
votes
1answer
3k views

more than one attachment field

We are planning to retire one of our old fashion tools and currently evaluating Sharepoint 2010. in our current tool, we have 3 different attachment sections two of which are visible to customer, and ...
5
votes
1answer
1k views

Save a multilingual site as template

I created a site and set the language settings to multiple languages, so users can switch between different languages for the MUI. But I have also custom columns in a list. So, i translated the ...
5
votes
0answers
71 views

How to change list icon of a custom list?

I wanted to change the icon in site content for a custom list in SharePoint Online. Setting the ImageUrl property of the list did the job. But then I discovered that this had also changed the icon for ...
5
votes
1answer
149 views

Rest API for breakroleinheritance gives UnAuthorized Error

I've created workflow for breaking inheritance rule of list item. I am using breakroleinheritance command to break the role using Rest API call by workflow. After breaking the rule, I am assigning new ...
4
votes
1answer
17k views

Disable the delete option from Sharepoint list 2010

I have a custom list in SharePoint 2010, for which, the requirement is to disable the delete option. Users should be able to add to the list but not delete. Is there anything oob for that?
4
votes
2answers
6k views

Browsing to a local image and uploading to a list

I am attempting to build a classified ad list for internal use. I want an image upload column that allows users to browse to a local file instead of having to paste a URL, and then I need to display ...
4
votes
1answer
3k views

Add list item through visual studio

I have created a list of links through Visual Studio. Now I want to add items to that list. How can I do it through visual studio itself? I am using visual studio 2013.
4
votes
6answers
28k views

How to remove default columns from a custom list?

Is there any option to remove default columns(eg: Created By, Modified By) from a custom list? I do not want to hide the columns for a view, but I need to entirely remove/modify the default columns. ...
4
votes
2answers
13k views

Defining custom views in a list's schema.xml file

I have create a custom list definition, with a content type. In the schema.xml, I'd like to define two views : All items (the default one, generated by Visual Studio) My items (the same view with a ...
4
votes
2answers
6k views

Validate a SharePoint list column with regular expression

I have a list. I want add a column for list with this format : XX-XXXX How to set this Validate for column? i use this link , but don't work for me.
4
votes
1answer
4k views

Sharepoint 2010 Calendar View in Custom List Expand All by Default

For some reason the scripts I have found on the web (ie: http://social.msdn.microsoft.com/Forums/en-GB/sharepoint2010general/thread/a24da49a-7fc8-47c6-a125-95e4a5b2d095) are not working with a ...
4
votes
4answers
87 views

Apply color for list column

I have four columns: FirstName LastName Date Birthday I want to apply color and font for the FirstName column data only, how can this be done?
4
votes
1answer
6k views

How to add values from a “Person or Group” list column type to workflow email To or CC field

On SharePoint 2007 I have a custom list with a custom content type. The content type contains (among other things) a Person or Group typed column that allows the creator to add additional ...
4
votes
1answer
54 views

How to retrieve all list/library which uses custom content type in a site collection?

How to retrieve all list/library which uses custom content type or a custom column in a site collection? It would be really helpful if you post your answers in C# code or SQL query. Please let me ...
4
votes
3answers
567 views

How to retrieve list hyperlink field values?

I know how to retrieve items like Title etc. I can query the columns and fetch data. But it doesnt show the hyperlinks. Appreciate if someone can help me out! getListItem.get_item('Link').get_url();
4
votes
2answers
4k views

CAML Query for items with a text value containing square brackets

I'm attempting to query for list items using a value stored in a plain text multi-line of text field in a SharePoint 2007 custom list. My column is named FilePath and contains a value like: /admin/...
4
votes
1answer
345 views

Assigning Icons to Content types

I have added a couple of content types that inherit from "folder" and some other from "item" (and each other, but they're not the issue). How can I, if that's possible at all, set another icon for my ...
4
votes
5answers
132 views

Workflow failed to start. Workflow variable ReturnValue was null when a value was expected

we are running Sharepoint 2010 Enterprise Edition and have a very large custom list with several approval workflows created in Sharepoint Designer. The workflows run daily and very recently we noticed ...
4
votes
1answer
726 views

Return a rich text managed property in search results

I am working with a custom list in Sharepoint 2010. The list has nine custom columns, some of which are rich text. I've mapped these custom columns to managed properties so that I can return them ...
4
votes
0answers
90 views

Can you add comments to an append-only field in a list in Sharepoint 2010 using C#? [duplicate]

Possible Duplicate: Can you programmatically add comments to an append-only comment field in a custom item list using C#? Posted on stack exchange first, then I found this Sharepoint sub-...
3
votes
4answers
181 views

Approaching to have a third part web application inside SharePoint 2013

I am working on SharePoint enterprise server 2013, and I am trying to find the best approach I can follow to achieve this requirement:- Our customer has a web page which list their employees info. ...
3
votes
4answers
9k views

SP 2010: hide/disable column in edit form

I've got a list (based on custom list) with several custom columns. There is one column, that I want to protect from changes by the user (it will be set/changed by webservice call and should not be ...
3
votes
2answers
918 views

Custom webpart being rendered twice on layout page

using System; using System.ComponentModel; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using Microsoft.SharePoint; using Microsoft....
3
votes
1answer
71 views

What is the best way to add JSLink inside form tag

I am trying to add JSLink insided for tag in my SharePoint hosted app <Form Type="NewForm" Name="{878B105CA-A7O8-7C28-HD7F-5B0DCBA7DSA}" SetupPath="pages\form.aspx" ...
3
votes
4answers
195 views

Only send notification when certain items are changed

I have a List with two workflows. One that runs when an item is created/updated, and another that runs daily to perform a calculation. Emails go out when an item is created, updated, and expires. ...
3
votes
5answers
26k views

How to Add Data Field to Existing Custom List Form?

Say I have created a really simple custom list via Sharepoint Designer, and then created a custom NewForm.aspx called NewFormTest.aspx to go with it. Now I have to add a field to the custom list. I ...
3
votes
2answers
608 views

Retrieve data from Sharepoint list to ASPX page

I have a sharepoint list named Products with the following columns: ProductID Name Price. In ASPX page there are 3 text boxes that will hold the data for each corresponding column as shown below: ...
3
votes
1answer
2k views

How to determine the List Template (SPListTemplate) that was used to create a list?

I am using the following code to create a custom list from a custom list definition. Is there a way, after the list is created to determine which definition it was created from? SPListTemplate ...
3
votes
1answer
62 views

Column validation only when creating new item Sharepoint 2010

So I have a date field that needs to be a future date when the item is created. The formula I have set up for that is: =[Date Required]>TODAY() This works well however I am running into an ...
3
votes
1answer
149 views

Create multiple items in another list using PreSaveAction

I am trying to add time counter to standard survey form and save elapsed time with coresponding username at another list so I just mixed up some code which takes current user, elapsed time and creates ...
3
votes
1answer
37 views

Is there a way to redirect a user back to the team site home page after entering an item in a custom list

This is becoming a pretty common occurrence. We have a custom list that we've created. Then someone enters an item, and it might contain information that the person doesn't get to edit, so we'd ...
3
votes
1answer
1k views

How to update field name for a list?

I am creating custom lists(fields,CT,List Def and list Instance) A and B with visual studio. I have site column called "Status" i have used those column name in ListA and ListB. Suddenly i need to ...
3
votes
2answers
890 views

Creating SharePoint List Dynamically

I am trying to create a custom SharePoint list on feature activation. Though it works fine but I want that if the list with same name already exists it should overwrite that list and create the new ...
3
votes
1answer
1k views

Dynamically display a single row of a custom list

In SharePoint 2010, I have created a custom list and I want to be able to display a single row of this custom list on page. But I do not want to create a separate page for each row. I would like to ...
3
votes
1answer
31 views

Messed up columns and forms after adding from existing site columns

I'm very new to SharePoint and have a stupidly high level of access to a site built for our team (dangerous!). Apologies if this is a duplicate question however I haven't been able to find a ...