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.
1
vote
1answer
401 views
Xml defintion of Field and FieldRef elements and the precedence of attributes
Anybody out there with a good understanding or a good reference of how the attributes that make up a custom list definition apply to the list columns when you define Fields and FieldRefs in multiple ...
1
vote
1answer
161 views
Why can't a Managed Metadata field be sealed?
I am creating a custom list definition that contains Managed Metadata fields (TaxonomyFieldType). These taxonomy fields are !important so users should not be able to delete them through the UI. I ...
1
vote
1answer
465 views
Set Event Recurrence ShowInNewForm programmatically
I have a custom list template based on the "Calendar" default list template with the "Recurrence" field disabled. In my case, disabled means ShowInNewForm, ShowInDisplayForm, and ShowInEditForm ...
1
vote
2answers
3k views
Getting an existing list definition in sharepoint 2010
I have created a list in sharepoint 2010 and want to somehow export the list definition for use in a feature in visual studio 2010. What is the best approach to getting the list definition?
1
vote
0answers
25 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
72 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
1answer
266 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.
...
1
vote
0answers
380 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
39 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
1answer
646 views
SharePoint 2013 Document Library Template
I'm in the process of migrating code from SP 2010 to SP 2013. I have a document library (both definition and instance) which is defined via XML in a Visual Studio project. I moved the definition into ...
1
vote
1answer
313 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 ...
1
vote
1answer
838 views
create custom sharepoint new form in visual studio
I am creating a custom list inside a feature receiver. I would like to create a custom New Form for my list.
So, the list is not created via List definition.
Can anyone guide me how to create the ...
1
vote
0answers
59 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
84 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
431 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
28 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
382 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.
...
1
vote
0answers
847 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
1answer
160 views
How do you decode the Flag attribute on the List element?
How to decode the Flags attribute of a SharePoint List? What does 4104 mean?
<List DocTemplateUrl="/SiteAssets/Forms/template.doc"
DefaultViewUrl="/SiteAssets/Forms/AllItems.aspx" ...
...
1
vote
0answers
480 views
ListInstance not firing all item event receivers [closed]
I have a feature that defines a number of list instances to provision whenever a new site is created using a particular site definition. The list template for one of these instances has an item event ...
0
votes
1answer
1k views
Trouble with custom Sharepoint List views created in Visual Studio 2010
Probably something simple but i'm not sure what the problem is here. I create several custom list views in my schema.xml for my list. I deploy and go in sharepoint designer to make sure everything ...
0
votes
2answers
293 views
deploy a list with specific item-level permissions in ListAdded event receiver method
I have a certain type of custom list I have designed in my 'solution.wsp', that, whenever an instance of it is instantiated, it should have at the outset a specific Item-Level permission.
To further ...
0
votes
1answer
340 views
How to keep synchronized Deployed Custom List with List Definition
I'm wondering, if there is any way to keep synchronized deployed custom list with it's list definition in Visual Studio. To make it clear, and avoid confusion let me bring en example. Let's say I have ...
0
votes
2answers
265 views
How to tell all the differences between 2 SharePoint lists?
I have 2 SharePoint servers (2007) a staging and production server. Both have the same list but now that the test server is undergoing a few changes, the fields are somewhat out of sync. Is there an ...
0
votes
2answers
376 views
“Value does not fall within the expected range.” After adding a column in a existing list
I updated a list of mine by adding a column.
After this update I receive the following error "Value does not fall within the expected range" when I try to get the data in the colum.
This is the code ...
0
votes
1answer
650 views
List validation on multiple fields?
I would like to validate a list item so that if one field is true, then another must be completed. If the first one is false, then it can be ignored.
=(([Start Deferment]="Specific Date") AND [Start ...
0
votes
1answer
2k views
Creating a List Definition in Visual Studio 2012
Dont know if I'm missing something or just blind, but did MS not include the Add new List Definition template to VS2012 ? It was there in VS2010.
VS 2010 screenshot
VS 2012 screenshot
0
votes
3answers
1k views
Display Calculated Field as link
in a custom ListDefinition I used a calculated field to format a Text into an URL. I'm developping in VisualStudio2010 for SP2010.
Here is my ListDefinition:
<Fields>
<Field ...
0
votes
2answers
686 views
ListInstance with CustomSchema breaks OnQuickLaunch
I have a solution in which one of the features defines a collection of External Content Types. The solution also has a feature that creates an External List Instance for accessing one of the ECTs. ...
0
votes
1answer
503 views
Make field editable in List, EditForm?
[N00b to SP, sorry! Inherited an SP2007 site]
I have a List in SP2007, when I Edit an item, it opens up the EditForm.aspx page, however, some of the fields are not editable.
I now need to make one ...
0
votes
1answer
326 views
How to add header to AllItems.aspx
Wondering if and how this is possible.
I have a Document Library list definition that I use to create several lists. I want to modify the AllItems.aspx so that there is a header with the lists name ...
0
votes
1answer
174 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
217 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
495 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
356 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
503 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
494 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
526 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
46 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
17 views
missing content type name and description in the new item dropdown
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
44 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
30 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
38 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
2answers
213 views
Fail to export custom SPList to Excel
Im trying to export a SharePoint-List(created from a custom Listdefinition) to Excel by using the "Export to Excel"-button on the ribbon. It works when im trying with other default SharePoint-lists ...
0
votes
0answers
67 views
Redeploying ListInstance in Sandbox Solution retains old fields. Help!
I originally created a sandbox solution. Created a elements file to hold all the Fields. I created 5 fields. I then created a content type to hold all 5 fields. I then created a List definition and ...
0
votes
0answers
299 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
0answers
22 views
CustomRibbon not displaying in inbuilt List created
I have created my CustomRibbon button in my project.
When I deploy it, it is showing me in the CustomList which is created from Site, but not displaying in the List which is created from VisualStudio ...
0
votes
1answer
565 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
90 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
2answers
363 views
Define contenttype with list
I have defined my list definition as following:
<List xmlns:ows="Microsoft SharePoint" Title="Requests List Definition" FolderCreation="FALSE" Direction="$Resources:Direction;" ...
