A list definition defines a schema for a SharePoint list. It contains information on what views are being used, which columns and content types are being used, and other metadata information.

learn more… | top users | synonyms

4
votes
1answer
795 views

How to create List Definition based on Wiki Page Library in Visual Studio 2010

While creating Wiki Page Library from the browser (Site Actions->More Options->Wiki Page Library) is easy, doing it form Visual Studio not so much. When I create new ListDefinition in VS2010 I use ...
2
votes
1answer
81 views

How to hide inherited fields in the custom list definition?

I have defined a Site Content Type which has inherited fields (inherited from parent content type). Also, created new custom list definition that uses the content type created. I want to hide the ...
2
votes
1answer
2k views

Set Enforce Unique Values for Title Field in Custom List Definition

I have custom content type, custom list definition from this content type, and list instance in my visual studio project. I could not set Enforce Unique Values for Title Field. How can i achieve this. ...
0
votes
1answer
39 views

How to Use List View Web Part in List Definition / List Template?

Currently trying to import List View WebPart, and use that Code in List Definition/List template. So For That added List View Web Part Manually on a Publishing Page,Trying To import web Part,But There ...
0
votes
1answer
109 views

Custom Assets Library List Definition

I need to create a custom list definition for "Asset Library" in SharePoint 2013. Eventually i need to add my custom content type to it. Hence the reason for the custom list definition. The custom ...
2
votes
0answers
249 views

user field in a list definition thorough VS code (schema.xml)

I create a user field in a list definition thorough VS code (schema.xml). <Field ID="{0A9DDA0E-1EB8-467B-AFFA-AFB04057FCF7}" Name="ChannelManager" DisplayName="Channel Manager" ...
2
votes
0answers
1k views

Pagination and group by for Custom views created using list definition not working

I created a list using the list definition + list instance from VS 2010. I also created the list views for the list. When I add Group by and paging properties for custom views other than All Items ...
1
vote
0answers
47 views

Creating List definition for Survey list in SharePoint 2010

I wanted to create a Survey List definition through visual Studio. But when i tried creating it - there was no option available to create list definition for Survey List Please let me know how to go ...
1
vote
0answers
36 views

AllItems customization

I have a custom list definition where I have defined a view with BaseViewID = 1 (AllItems.aspx) <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" ...
1
vote
0answers
28 views

Content type keeps document properties when overwritting file

A document library we have implemented on our SharePoint 2010 environment is behaving strangely. It has been created using a custom content type with several multi-lookup fields. When a file is ...
1
vote
0answers
394 views

Adding values to column filter of a list

Ive created some custom xsl for a view in a project i am working on. One of the columns shows a custom message depending on some date comparisons i am performing against other columns in the xsl. ...
1
vote
0answers
553 views

Sharepoint 2013 custom toolbar in list definition (VS 2013)

i've a problem with the customization of the toolbar in a list definition created in a custom view. I write the following code: <View BaseViewID="4" ...
1
vote
0answers
618 views

Missing my custom content type in UI List instance

In visual studio I defined some content types. In addition I added each content type to a list definition and created a list instance from each list definition. When I install my solution in ...
1
vote
0answers
46 views

Listdefinitions use Listname as Contenttype

I have a Sharepoint 2010 Foundation, VS2010 and i use the Sharepointfactory(spsf.codeplex.com), if this is important. My typical approach are: I create first some fields, then i use these in a ...
1
vote
0answers
1k views

An item with the same key has already been added when trying to recover my list using Linq (SPMetal)

I have a problem with my application SharePoint. The problem is that I added a List in my SharePoint site (directly in SharePoint), then I used SPMetal LINQ to generate a File in which I can recover ...
1
vote
0answers
60 views

Same custom button on 2 totaly different lists

Is it possible to have just the same custom button, show on 2 totaly different lits? Because when i use the same type for the lists TemplateType="10777" then the list have the same fields. So i need ...
1
vote
0answers
105 views

How can i enter User information in the Data element of a list instance

For example... <Rows> <Row> <Field Name="ClassName">Programming 101</Field> <Field Name="Attendee">Domain\User</Field> </Row> </Rows> ...
1
vote
0answers
620 views

Creating Custom List Definitions that Use InfoPath Forms - Deploy everything using Visual Studio 2010

I'm trying to create a list instance from a list definition, all from a VS2010 solution and want to have custom InfoPath forms for the list instance. This article keeps popping around in my searches: ...
1
vote
0answers
32 views

How do I import a spreadsheet to create a list, but specify which column should be the “title”?

I'm not a programmer, just a frustrated user. Is there a way for me when I create a custom list by importing a spreadsheet to specify which column should become the "title" for each row in the list? ...
1
vote
0answers
583 views

How should I go about modifying the Discussion Board?

So our client wants a Discussion Board, but wants to change the functionality and look 'n' feel significantly. We want to be able to deploy changes via a VS 2010 solution (farm) and a deployable wsp. ...
0
votes
0answers
19 views

List instance in not created after deploying a feature which has this list definition and instance

I have a site definition: inside that I am creating a list definition & instance, one visual web part. I am creating a feature and putting all these list definition, instance and visual web part ...
0
votes
0answers
33 views

ListDefinition and ListInstance failures with custom List Views

I have been working on a project which requires to provision a list with custom conditional view using visual studio, editing the schema.xml file for a sharepoint list definition. I am given a task ...
0
votes
0answers
58 views

Is it possible to create a custom list in a public facing website on SharePoint Online O365

I am trying to figure out of it is possible to programmatically (list definition/instance via solution) create a custom list in a public facing website on SharePoint Online. I have managed to create ...
0
votes
0answers
12 views

why is it a must to replace the type attribute value when creating list defn and instance via VS?

We have created a VS project and added to it a content type and a list defn that uses this content type. We have selected the content type and the check box while creating the list definition to auto ...
0
votes
0answers
603 views

create list using CustomSchemaXml from client object model

I'm using Client Object model of SharePoint 2010. What is the property CustomXmlScheme in list creation? MSDN say nothing about it. It seems not working. I'm using this code: string xml = @" <?xml ...