1
vote
0answers
25 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 ...
0
votes
1answer
261 views

ListDefinition and ListInstance failures with custom content type

In VisualStudio 2012 I have a custom content type that I want to use in a ListInstance. When I create a ListDefinition or ListInstance using VisualStudio and add my ContentType I get feature ...
1
vote
1answer
137 views

What is the order in which Custom field type,Fields,Content type,List definition are creating?

I am creating a custom field type, Content type and List definition. I have a custom field type inheriting from Multicolumn value and I am adding new fields of my custom type to my new ...
0
votes
2answers
255 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
111 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
633 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
1answer
184 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. ...
1
vote
2answers
549 views

Custom list definition using OOB Site column causing problem

I have a custom list definition where i want to use the OOB URL site column plus a site column that i created in another list definition. When i do it and try to display the All Items view it says it ...
3
votes
3answers
115 views

Is a ContentType worthwhile/necessary in this situation?

I'm creating a custom List Definition. I've previously been told that I should create a ContentType, and a ListDefinition from that. But this seems to mean a lot of duplication in my project files. So ...
1
vote
1answer
1k 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. ...
2
votes
1answer
305 views

Add content type from sandboxed solution to list definition (farm solution) does not work

I'm using a sandboxed solution from a 3rd party vendor which contains some site columns and a site content type. I want to add this content type to my document library definition in CAML. But when I ...
1
vote
0answers
505 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
42 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 ...
0
votes
1answer
101 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" ...
1
vote
3answers
908 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;" ...
0
votes
3answers
3k 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 ...
3
votes
3answers
3k views

Trying to hide the title column the sharepoint way

I am currently just messing around with defining lists via the elements.xml Content Type <?xml version="1.0" encoding="utf-8"?> <Elements ...
0
votes
1answer
3k 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
268 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 ...
1
vote
1answer
513 views

ContenTypes on List Definition not added

I've an ListDefinition with some references to existing Content Types (provided by CTH) but when the list is created the content types are not added. elements.xml <Elements ...
1
vote
1answer
2k views

List Templates and Custom Contenttypes missing document template on list creation

I want to create a new document library definition for general use in our SharePoint environment. This new list has some predefined content-types. Users will add this list themselves one or more times ...
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 ...
0
votes
1answer
468 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" ...
3
votes
2answers
568 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, ...
0
votes
1answer
243 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
1k 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
1answer
8k 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
282 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
1answer
1k 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, ...
3
votes
2answers
6k 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?