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.
0
votes
1answer
46 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
623 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 ...
2
votes
1answer
712 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 ...
0
votes
1answer
339 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
682 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. ...
3
votes
1answer
2k views
How can I provision a list with a calculated field?
I am trying to create some fields, a content type, a list definition and a list instance in Visual Studio. All of my fields are working, showing up in the list etc. except for calculated fields. What ...
0
votes
1answer
321 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"
...
2
votes
3answers
792 views
Disable certain list templates
We have a specific requirement, where we have to create dedicated site collection for hosting discussion boards. How we can disable all list and library templates and level only discussions, so users ...
1
vote
2answers
583 views
Is it possible to create a List Definition project with multiple custom content types, pushed to several sites at once?
There's plenty of documentation online on how to configure a List Definition project to create a single list using a custom content type, but how does one go about creating a project that contains ...
0
votes
1answer
498 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 ...
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 ...
0
votes
1answer
590 views
Custom list definition shows title even if it is not declared in schema
I created an own list definition with list instance in the project.
I described all the fields in the schema which should be shown. ANd it is ok, after deploying when i visit the list it show all mine ...
4
votes
3answers
450 views
What options are available to me to find lists that were created using a specific list definition?
I have many lists, some of which were created using a custom and now-obsolete list definition. I need a programmatic way of finding out which lists were created using that old definition.
Currently ...
1
vote
1answer
398 views
Using an imported list template's (build in SP designer) xml as the basis for a new list definition in VS
I'm a SP 2010 beginner (although a long time ASP.NET developer) and I thought a good learning exercise would be to:
Create a list template in SP Designer
Import that list into VS 2010
Create a new ...
1
vote
1answer
160 views
How do I set the property for a custom field type that I am using in my custom list definition?
I have a list definition that will have a title, description, and a few picture fields. Each entry in the list will represent a project. I do not like to use the SharePoint hyperlink/picture field ...
2
votes
1answer
1k views
Updating list definition using features
I have a feature that deploys content types, a list definition and template that uses these content types and finally a list instance. This feature is already in production.
Now we have a change ...
2
votes
2answers
374 views
How to make Add new Item link to navigate to Custom Form
I have made Custom Content Type, and List Definition from that Content Type. What I'm trying to do now, is create custom display/edit/add forms for List Item, and when user clicks on Add New Item, ...
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>
...
2
votes
3answers
584 views
Generate ListDefinition from ListTemplate
Is there a way or tool to generate list-definition projects/features from an existing list template?
(Sharepoint 2010)
0
votes
1answer
325 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" ...
1
vote
0answers
427 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?
...
0
votes
1answer
719 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 ...
3
votes
2answers
1k views
Issue adding description column to custom document library in VS2010
I want to add a description column to my List definiton. However when i do it the column does not show up on the EditForm dialog so that you can actually set the description. Can someone look at the ...
2
votes
1answer
568 views
Composite unique indexes in Sharepoint 2010
I'm looking for something like Composite unique indexes in Sharepoint 2010. I have found that I can make some field in list unique. But how to make unique index composed from two or more cols in list? ...
1
vote
1answer
2k views
Add a last modified date column for each row in Sharepoint 2010 list
I have a list where I have some columns, my requirement is that I need to add a column, which will update the last modified date for each row.
That is if I edit one row today, add today's date to ...
1
vote
1answer
4k views
Custom list definition - fields in Elements.xml and Schema.xml
I'm creating a custom list definition in SharePoint 2010 by following this article. The tutorial is OK and it works.
There is a thing that I don't understand though. Why do I need to insert the ...
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 ...
1
vote
2answers
290 views
Best practices for updating list template schema files in SharePoint
I have a requirement to update the schema files of a list template which modifies the options available to the fields.
But, when I am updating the schema file the options for the already defined ...
1
vote
1answer
903 views
Add image column to Sharepoint Foundation list
Trying to use Visual Studio to add an image/thumbnail column to the schema.xml of a Sharepoint Foundation list (Can't use the Type="Image" as this is Foundation). Any ideas?
TIA
1
vote
1answer
847 views
How to handle 'Feature for list template is not installed in this farm' for custom lists
I have a feature in which I have a custom ListDefinition. Within the definition, I also have a ListInstance based off of the definition. When installing and activating the feature, these lists are ...
1
vote
1answer
787 views
Updating a content type via feature receiver at the list definition level
Problem is I am trying to update a content type (created within a list definition, going into a new list instance) and it is not liking the ID I pass in code. I tried passing JUST the child ID, ...
1
vote
1answer
389 views
Provision list instance with title and description from resources issue
I have created feature which contains list definition and list instance based on that definition. I also added feature resource files to localize it. I created invariant and pl-PL resource files. When ...
8
votes
4answers
404 views
Save metadata on this list as social tags
On the UI, for a document Library settings, under "Enterprise Metadata and Keywords Settings" there is an option to
"Save metadata on this list as social tags"
Is there a way to activate this, ...
1
vote
0answers
381 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
2answers
494 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 ...
2
votes
2answers
3k views
Programmatically creating a list
I have created a new list definition following the steps listed here: http://msdn.microsoft.com/en-us/library/gg276355.aspx
I can create new lists using this definition in the browser with out any ...
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 ...
2
votes
2answers
3k views
Set “Allow management of content types?” set to “Yes” within a Content Type or List Definition
How do you set "Allow management of content types?" to "Yes" within a Content Type or List Definition?
2
votes
1answer
2k views
Error occurred in deployment step 'Activate Features': Could not find any recognizable digits
Error occurred in deployment step 'Activate Features': Could not find any recognizable digits.
Dos anyone know what this error message means? I'm trying to deploy a feature containing some, content ...
1
vote
1answer
400 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 ...
0
votes
1answer
355 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 ...
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 ...
3
votes
2answers
2k views
How do I deploy custom list edit forms in the sandbox?
I'm creating a List Definition for use on 2007, 2010 (Sandboxed), and 2010 (unrestricted) that will need custom new and edit forms; unfortunately the Sandbox specifically excludes custom application ...
4
votes
2answers
4k views
How can I export a schema.xml file for a list from a SharePoint site?
I've been troubleshooting my schema.xml file for a list definition and getting more and more frustrated.
So I thought, "Hey, I'll just get it to look right in the UI and then export that and compare ...
1
vote
0answers
844 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
159 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" ...
...
2
votes
2answers
837 views
List Schema : Title Field ID
When creating custom List definitions, what should the ID value of the "Title" field be?
At one point I was told I should be using the OOTB ID (fa564e0f-0c70-4ab9-b863-0177e6ddd247) as it caused ...
