A content type is a reusable collection of columns and settings that can be applied to a certain category of SharePoint content

learn more… | top users | synonyms (1)

1
vote
1answer
254 views

Content Type adding and removing to a list: “ghost content type” problem

I have a problem with Content Types... I have houndreds of lists that has some content Type and a configuration list in which I store the content type to be attached to my custom list type. I have an ...
1
vote
1answer
157 views

Access exceptions when trying to add a content type to list

In the following method, 'list' is simply an SPList ("Documents"). I'm attempting to add ContentTypes to the list and then update it. This code is found in the FeatureActivated event of an event ...
0
votes
1answer
1k views

How to extend the Survey content type?

This may be basic but being a novice in SharePoint, I am not able to figure out how to create a new Content Type with Survey as base type. Adding a new Content Type in Visual Studio presents me a list ...
6
votes
3answers
5k views

Content Types “New Item”

I am working on the Knowledge Database in SharePoint, so I have created several content types with lists. I want customers to be able to create a new article and get a different FORM based on the ...
0
votes
0answers
425 views

SharePoint 2010 for custom content type not working for subsite

In SharePoint 2010, we are creating a subsite from a site template. We have 2 custom content types based on the folder content type with some manage metadata columns added. Still, after creating a ...
0
votes
1answer
278 views

Programmatically Creating Self Referencing Content Type using C# is it possible?

I was wondering if it's possible to create a content type using C# that has two columns, the second column looks up the first column. eg. Title | myColumn myColumn should be a lookup column and it ...
0
votes
2answers
74 views

Content Type concept

I read hundred of articles for Content Type but still confused, can someone please put down few words that help me understand concept of it and how its being utilized in sharepoint, I already read ...
1
vote
3answers
1k views

2 Content Types: Same column name, different choices. Possible?

I am trying to set up a number of different content types and have come across a road block. I am trying to create a "Policy Document" content type and a "Training Document" content type. Within each ...
0
votes
2answers
676 views

The content type is not available in this site

I created a content type and deployed it as a feature. It shows up in the root site. I cannot attach it to the Task list in a sub site. I created a console app (code from MS) and tried to add it ...
0
votes
2answers
1k views

Hidden content types

All the default content types are being hidden in our sites how to get them visible on all our sites.We are having SharePoint 2010 and i could see all the content types visible when I open the site ...
0
votes
0answers
17 views

Site Content Types are Missing [duplicate]

Possible Duplicate: Hidden content types We had an issue of content types in one of our site collections. We have lost the default content types from all our sites. We don't have server ...
0
votes
0answers
545 views

Attach content type to task list

I have created a content type that inherits directly from the "workflow task" content type. I deployed it as a feature and activated it. Now, I want to attach it to the "Task" list in a site, but when ...
0
votes
1answer
920 views

Cannot delete duplicate content types where more than one type is duplicated

We have a strange situation where we have managed to get two copies of a custom content type referenced in a document library. The content types had the same name and content type ID, and this ID was ...
0
votes
1answer
29 views

Include SharePoint Version and Date info in Content Types

I have some content types for documents. It would be neat if I could have the Version and Date Modified properties attached or replicated to the Content Type. My goal is to be able to use the ...
1
vote
1answer
1k views

Content Type's custom template loading from wrong place

My first question on stack exchange, and I'm very new to SharePoint, so please be gentle! (But please do let me know if I've not provided enough detail for you to be able to help me). I would like my ...
0
votes
1answer
82 views

Custom Content Type on Documents SharePoint 2010

I'm trying to attach a custom content type to Document Library so that it's available to users whenever they upload a new document, they'll have the necessary columns visible. I'm struggling to staple ...
3
votes
1answer
808 views

Issue with Content Organizer Rule for Document Sets in SharePoint 2010

I have created a new custom content type for document sets in SharePoint 2010. This content type is published via a Content Syndication Hub. I have also created a Record Centre site on the same web ...
1
vote
2answers
2k views

create content type from workflow task

I have been looking all over the internet for instructions on how to create a content type based off the Workflow Task type. Everything I have found thus far seems like it is incomplete or has gaps ...
0
votes
1answer
858 views

I can't remove Content Type programmatically? How I can do it? SharePoint Foundation

I create in SPD 2010 workflow which create custom content type with column. I removed workflow, list and column and I also want to remove content typ but I can't do it, SharePoint shows this info "The ...
0
votes
2answers
4k views

Document Library in Site Definition with custom content type

I am attempting to specify a custom content type onto a reference library which is being provisioned in a site definition but am so far failing. I have read:- Deploy document library with multiple ...
1
vote
0answers
105 views

Help understand ContentType/List upgrade

Everywhere i read on the web it says that Content Types and List once deployed through Xml files they cannot be updated anymore. I have created a VS 2010 solution, created a SharePoint List ...
0
votes
1answer
114 views

A column is not appearing in GroupBy option when editing view

I have a document library created from a custom content type (which inherits from Document type). The Document Libraries are created via feature activation using CAML in the Elements and a List ...
2
votes
0answers
89 views

CQWP displays error when pointed at specific subweb

I wonder if anyone can help. I have a content type (FAQ) that I deploy in several different webs. I then use a CQWP to display all the FAQs used (aggregating them from different subwebs). This was ...
0
votes
1answer
103 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
1k views

Upload document : Default value not applied on choice column if baseFieldControl.ControlMode = SPControlMode.Display

I created a new site column, a choice column with 5 values to pick from in a drop down list : 1, 2, 3, 4 (default value), 5 I then created a document content type using this column. The problem I am ...
0
votes
2answers
408 views

ContentType.FieldLinks.Add() issue with hidden and required

I have a feature that does the following in the feature activation Code : Creates a new SiteColumn (Type=Text, Hidden=False and Required =True) Set the french version of the Name (using ...
0
votes
1answer
378 views

If properties.Afterproperties[“ContentType”] is null, is it safe to assume that the item is a document?

I need to add a specific behavior in the ItemAdding event when the item added is a document, but I noticed that when using the "Upload document" or the "Upload Multiple Documents" features in ...
3
votes
1answer
841 views

How to restrict/hide OOTB document libraries creation

Is there a way to restrict the out of the box document libraries like "Document Library" "Picture Library" etc and just have custom document libraries being shown in the pop-up below?
1
vote
3answers
1k 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;" ...
1
vote
2answers
2k views

Difference between a content type and a list template

I understand that content type gives the definition for the set of fields in a list which can be reused while creating many other lists and a list template gets a copy of an existing list with or ...
2
votes
3answers
1k views

What is the best way to provision Content Types and managed metadata columns in SharePoint 2010

What is the best way of provisioning ContentTypes, Columns and Metadata columns in SharePoint. Keeping in mind that we have two approaches of 1) SP object Model and CAML (declarative way). Which ...
1
vote
2answers
2k views

how to remove a published content type from subscribed site collections

I have a small Visual Studio 2010 project with one farm level feature that I deploy to a site collection which is configured as my content type hub. The FeatureActivated event adds a site column and ...
3
votes
1answer
496 views

SharePoint Framework for Programmatically creating Fields, ContentTypes etc

I am looking for a SharePoint Framework/API which can be used to programmatically create Artifacts like Fields, Lists, ContentTypes etc using SP 2010 Object Model. The objectives are: Provide ...
0
votes
1answer
7k views

Setting file Content Type using Client Objects

Setting the Content type the same way as setting other metadata fields does not work in ClientObjects. Anybody knows why? Here is what I do, and works for other columns: var fci = new ...
0
votes
1answer
631 views

Why is the associated lookup field not on the dispform.aspx?

I have three lists: Events (calendar) Customer1 (custom list from scratch) Customer2 (custom list from template) When I added the lookup of Customer1's ID and added the associated field "Title," ...
1
vote
2answers
1k views

Add field to content type in specific position

THe code below is working perfect, however I need the new field to be in the 5th position, and not at the end in the forms. Any idea how? private void UpdateDossierContentType(SPWeb parentWeb) ...
0
votes
1answer
613 views

List of Sub Sites and Workspaces

I would like to create a list of Project Sites and links to pages, on the Projects site. To contents of Sites and Workspaces. This process should be automatic when you establish a new project site, ...
1
vote
0answers
722 views

Adding/removing items to/from a DropDownChoiceField

I can't seem to manipulate the items displayed in a DropDownChoiceField I have that's tied to a field on the custom content type with big, really frustrating problems. This field is only visible in ...
3
votes
2answers
2k views

Calculated column on Start Date in Calendar List Not working

In SharePoint Server 2010, I have a standard calendar list created with an attached custom content type. I'm simply trying to create a calculated column on the event's start date in the content type ...
0
votes
2answers
464 views

How to assign programatically an InfoPath XSN to a Content Type

I had some content types and some XSN infopath files... I can link it by web interface and this works well but I must do this connection during feature activated event... So... Is there any code to ...
0
votes
3answers
4k 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
1answer
309 views

How do I add a new ContentType using Feature Upgrading?

I have created a new Content Type. How do I publish it using Update-SPSolution and feature upgrading? I added the following Code to my Feature Manifest: <UpgradeActions> <VersionRange ...
0
votes
1answer
361 views

Document Template - Columns from Content Type

I have a custom content type that inherits from the document content type, and has 10 columns (single line of text). A document template has been added to the content type from my local documents. ...
3
votes
3answers
4k 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
4k 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
961 views

Sharepoint 2007 lookup column

I have a site dropdown column using a list as the datasource (lookup). I was looking for a way to have the column be both required and have a default blank value. I read that is is not possible ...
1
vote
1answer
731 views

How bind a custom ContentType with activity CreateTaskWithContentType ?

When I create a task with activity "CreateTaskWithContentType", I can't bind a custom ContentType with the list "Tasks". For the moment I try to bind my CT with the correct path in properties ...
1
vote
1answer
599 views

How to specify content type when creating a list item using web services?

This is what I have tried so far: string newPageXml = String.Format(@"<Batch OnError='Continue'> <Method ID='1' Cmd='New'> ...
0
votes
1answer
347 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
990 views

Extending Content Types from Content Type Hub

I have defined a content type in content type hub. I would like to use this content type on a site (other than the hub) but also to extend it with an additional (lookup) column. Is it possible to do ...