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

0
votes
1answer
227 views

Me Filter Issue

I have added the following field to a custom list definition based on custom content type. <Field Type="User" DisplayName="Line Manager" List="UserInfo" Required="FALSE" ...
0
votes
1answer
268 views

Custom List Definitions - Remove the standard create item menu option

I'm creating a custom list definition in SharePoint 2010 by following this article. It works well but I need to remove the default create list item option and only keep that for Bug Item. How can ...
0
votes
2answers
725 views

change attributes of a site column when using in list definition

i want to know how to change Required Property on site column when it is consumed in a list definition. like i have deployed a site column <?xml version="1.0" encoding="utf-8"?> <Elements ...
0
votes
1answer
371 views

External CT Related Lists - Examples - CAML - LINQ to SharePoint

I'm trying to return related data via External Content Types. I was wondering which is better to use, CAML queries or LINQ to SharePoint? I'm fine with writing CAML queries besides the relating part ...
0
votes
1answer
677 views

List Schema Modification Effect

I have created a list using schema.xml and then i have created a list instance. later on i need to to add one column in the list schema which is not shown in the existing list instance. any idea how ...
0
votes
1answer
556 views

List definition simply won't work

I have created this list-definition which I then refer to in a site-definition. When I then create a new site with the site-definition, the list gets created too on the site, but all the custom fields ...
0
votes
2answers
552 views

How do I create a Forms Library feature with a custom list definition?

I'm working on a prototype SharePoint site at the moment where a forms library has been created with an InfoPath form published to it. A content type has not been used, the form is bound directly to ...
0
votes
2answers
201 views

Unable to hide the title field of content type

I have created a custom content type and applying to the list, I want the built in title column to be hidden from the all forms. I searched over the internet I found some solution but I am able to ...
0
votes
1answer
67 views

Need help with list definition with content types

I have a custom content type based on document content type, and I added some columns to this content type. I referenced this content type from list definition like this: <ContentTypes> ...
0
votes
1answer
380 views

Online Sharepoint : Custom content type not included by default in List definition

Requirement : Webtemplate with custom document libraries along with custom content types to be used in sharepoint 2013 online created the web template and content type, both are working fine in ...
0
votes
0answers
33 views

Offline Client Availability in Schema.xml

Hia all. I have a custom site definition and I wonder how to set Offline Client Availability property in schema for Document Library definition. I tried with <List xmlns:ows="Microsoft SharePoint" ...
0
votes
0answers
36 views

xslt transform: : failed library not registered

I have created List in VS2010 using List definition template. Then I went to Sharepoint designer and tried to add "Edit Item Form" web part on page. But it failed with next message: "xslt ...
0
votes
2answers
273 views

Rename “Title” column on multiple lists

I have 3 or 4 lists where the title column is not required. Hence I started renaming the Title field to any other text field that I have in the list per the below blog. ...
0
votes
1answer
109 views

missing content type name and description in the new item dropdown [duplicate]

I have created a content type based on the oob item content type, list definition and a list instance and they are activated via a web scoped feature. It all works as expected apart from one thing. ...
0
votes
1answer
332 views

Create Calendar view using list definition with visual 2010 (sharepoint 2010)

I'm a newer in sharepoint 2010 .I want to create calendar view for my list definition using list definition. I think i need to do something in schema.xml file, but i can't find any document talk about ...
0
votes
1answer
105 views

View and Edit SP list from another site with Sharepoint 2010?

I have been searching for a way to view my SP list into another site. I want the members to be able to delete items so the list changes on my site. I tried to create a view of the list and created a ...
0
votes
1answer
81 views

Permission only get list information from admin site to user site Sharepoint 2010

I discovered a problem while I was testing my webparts this morning. In my project I have an Admin Site and a user site. The user site is supposed to only be shown by users. It contains a webpart menu ...
0
votes
0answers
419 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 ...
0
votes
1answer
1k views

Can't see any custom fields when 'adding new item' to custom list

As title says, I can only see the 'Title' field when adding a new item to my custom list. Any ideas? I've double checked the field definitions and checked the field references are in both default ...
0
votes
1answer
98 views

Help to understand content type

Given the below definition of a content type: <List xmlns:ows="Microsoft SharePoint" Title="Algorithm Types List Definition" EnableContentTypes="TRUE" FolderCreation="FALSE" ...
0
votes
1answer
180 views

Programmatic Setting List Options

In the list definition, is there a way to programmatically set the "Dialogs" parameters? I see available parameters such as OnQuickLaunch, as well as the parameters listed: ...
0
votes
1answer
73 views

Creating a New list based on previous List Definition

I have a List definition with following files Feature.xml <?xml version="1.0" encoding="utf-8"?> <Feature Id="GUID" Title="abc" Description="mmmmmmm." Version="1.0.0.0" ...
0
votes
1answer
2k views

Error Message - Field type Int is not installed properly. Go to the list settings page to delete this field

I saw similar post on SO but it didn't worked out for me. I've created a List Definition project in VS. On one of the fields I set type to Int instead of Integer, and tried to deploy List Definition. ...
0
votes
1answer
237 views

Field required in Content type, but not in my list

I don't know why but when I try to bind a list with my content type, fields having a status to "Required" in my content type are not Required at all in my List. I'm binding the field with this ...
0
votes
1answer
61 views

Limiting a List (Listview webpart) to a single User

I have a List Definition and I want to limit only 1 specific user to "add new items" to this list, oh by the way its a custom list definition, I was wondering what are the possible ways to accomplish ...
0
votes
1answer
280 views

List item field values incorrect in AllItems view, but correct in detail view

I've created a custom content type and a list definition and list instance based on it. In a web part, I add an SPListItem to the list, set its field values, and then call item.Update(). However, ...
0
votes
1answer
51 views

Creating a Copy of Site Definition with a different Name

I have a site definition folder with following structure, XML default.aspx MasterPageabc.master masterpageabcajax.master In XML folder I have "ONET.XML" and I looked into this file, and realized ...
0
votes
1answer
410 views

SPMetal, lookups without EntityRef

I defined site definition with two content types and two list definitions. I have lookup site column <Field ID="{4318c52f-11c6-129a-b832-5ab22450b17c}" Type="Lookup" ...
0
votes
1answer
990 views

Can fieldrefs in content type definitions change the internal name of a site column?

I have a content type that references a built-in site column like this: <Elements ...> <ContentType ...> <FieldRefs> <!-- a reference to the built-in ...