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
1k views

Bind custom content type to Pages library

I have developed a custom content type and a custom page layout that is inheritted, in visual studio for my publishing site. I am setting the default page layout of the site programmatically, in event ...
1
vote
1answer
2k views

Removing Content Type: already in use even if removed from all lists

I'm facing a problem with content Types. I added a content type to thousands of lists, added items that uses that CT and now I want to remove it.. The steps I followed are theese: Removed every ...
1
vote
1answer
176 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
101 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 ...
1
vote
2answers
1k 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 ...
1
vote
3answers
841 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
1answer
969 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 ...
1
vote
1answer
291 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'> ...
1
vote
1answer
590 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 ...
1
vote
1answer
732 views

Hide content type on “Add new item” ribbon button in folder

I have a problem which concerns hiding content types in the "Add new item"-Ribbon-Button. In Visual Studio, I defined 2 custom content types (derived from the default folder content type) and a ...
1
vote
1answer
493 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
1k views

Find content types for given column

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfield.listsfieldusedin.aspx $web = Get-SPWeb http://”sitecollectionurl” $column = $web.Fields[“Column Display Name”] ...
1
vote
1answer
631 views

Library ECB shows “Change New Button Order” for all users

We have a document library which has content type management enabled. The library allows two content types, one based on Document, the other on Document Set. We also have a custom action attached to ...
1
vote
2answers
159 views

Provision a file through a module (CAML) and choose its Content Type

How do you provision a file through a module (CAML) and choose its Content Type? Is it even possible? The normal behavior for a new item is to get the default content type.
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
1answer
1k views

How to update all elements child of a Content Type programmatically

when (by web interface) user access to a content type (in site settings -> content types) and adds or remove a column there is a flag near the end that says something like: "Update all content types ...
1
vote
1answer
131 views

Getting library field parameters when inherited from a site column

The SetUp I have created 3 site columns. All set to not required fields. I have added these site columns to a content type. This content type I have added to a document library. The document library ...
1
vote
3answers
674 views

Issue with External Data Columns on Document Libraries with Content Types

I have site content type called ContractBase that has a bunch of fields that are used in contracts. I created some other site content types (ContractType1 and ContractType2) that inherit from ...
1
vote
2answers
2k views

Why is the icon for my custom document template broken?

Before I get to the meat of it here's some background information (and an apology for the wall of text...). I'm running SharePoint 2010. I have created a content type called E-mail, using Document ...
1
vote
1answer
265 views

Ignore content type on search

I have several content type names. I want to remove one from being indexed so that it doesnt show on my refinement panel
1
vote
1answer
760 views

Globally Published Workflow only available for Parent/base content type and not the children

I've published a globally reusable workflow which is associated with a parent or base content type. Within one of my subsites I have a library full of documents that are child content types of this ...
1
vote
2answers
740 views

Default Field values are not selected when changing content type

When I change the content type of an item in my list through "Edit Item" option, some additional fields are rendered at the bottom of the form (These fields are part of new content type) However, the ...
1
vote
1answer
152 views

Can I create a content type that incorporates multiple files and an image?

The SharePoint 2010 content type I would like to create is a "Logo", which has a thumbnail image and 2 files associated with (a JPG and an EPS file). As I understand it, I can't have a site column of ...
1
vote
2answers
190 views

Creating Custom List Forms for Creating, Editing, or Displaying a List Item

I'm following this article (as well as different MSDN pages) and trying to add some custom template forms to my content type. I think I'm doing all by the book, but for some reason wont deploy my ...
1
vote
1answer
38 views

Can I be notified when a content type is added to a list in 2010?

Not too much to add, but I'd like to be notified of when a content type has been added or removed from the content types associated with a list. Is this possible?
1
vote
1answer
1k views

Folder creation with custom folder content type

I have my own folder content type inherited from base Folder content type. I am trying to create folders based on my own content type programmatically without success. I change ...
1
vote
2answers
500 views

Set ContentType Mandatory FieldRef

I have the following ContentType Elements.xml file in a visual studio project. I need the ArticleStartDate to be mandatory/required. When the deployment happens the field is not required. I can't ...
1
vote
1answer
208 views

Custom FieldType - Constructor on type not found

We have a SharePoint 2007 solution with a custom Field Type. We have now upgraded to 2010 and find when deploying a ContentType with a reference to the custom field type we get the following error ...
1
vote
1answer
1k views

Document Sets don't enforce allowed Content Types when multiple Doc Set CT are available

I fear that this is indeed a bug, but I'm asking just to be sure (SP1 and the CU haven't provided any change to the issue). I have a document library that utilize multiple document set content type ...
1
vote
1answer
706 views

How to define a computed column

I'm creating a custom content type in I need two fields Submitter and Date Uploaded which would have the same values are CreatedBy and Created How do I define it? I have the following definition ...
1
vote
1answer
1k views

Can't delete content type

How do you remove a content type? I created a content type at the site collection level, used it for a few lists, deleted the lists, cleared them from their site's Recycle Bin, and it still says The ...
1
vote
3answers
4k views

Content type not showing up after publishing to hub - what am I doing wrong?

Here are the steps I am taking Updating the existing MDS to enable hub (setting URI to a specific site collection) Update the content type in the site collection to be set to publish Run the timer ...
1
vote
1answer
973 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
819 views

Content type ID management - how do I snag parent ID's with ease

What is the best way to pull off the retrieval of parent content type ID's for newly created content types. Do I literally have to open the XML for the parent content type to fetch this ID? Are ...
1
vote
3answers
5k views

Link to a Document by UNC

I've seen some old discussions about this but nothing current, so thought I'd throw it out there: Using MOSS/WSS 3.0, I'm looking for ways (without Visual Studio) to allow a new Link to a Document to ...
1
vote
2answers
2k views

Can't change title field display name

I'm using visual studio to develop custom content type, which uses Element as base content type. I'd like to change title field's display name, by doing so: <FieldRef ...
1
vote
1answer
420 views

Unable to Customize EditForm.aspx with Document Sets in SharePoint 2010

I give...I am hoping someone has a good answer. I create a content type based on a Document Set (called A). I create a document library and allow this new custom content type to be added to the ...
1
vote
2answers
153 views

Contenttype for Documentset, site- and listcolumns

we created programmatically a contenttype for a documentset. In this contenttype are some other contenttypes for documents whic hare only allowed in the documentset-contenttyp. The ...
1
vote
1answer
190 views

Centralising site columns

I'm fairly new to the SharePoint 2010 development world (I'm more of an infrastructure guy) so please bear with me. We have a number of time zones we support and we would like to make these available ...
1
vote
2answers
555 views

Is it possible to display the FieldRenderingControl of a FormField without providing a ListId?

Is it possible to display the FieldRenderingControl of a FormField without providing a ListId? I'm creating a dynamic form based off of a content type. Most of the time the data from this form will ...
1
vote
1answer
363 views

Re-create new Content Type using SchemaXml of an existing Content Type

I have the XML schema information (SPContentType.SchemaXml) of a content type. I am looking for a method that takes this information to recreate the content type at a different location? Thank you. ...
1
vote
2answers
2k views

Sharepoint List - Multiple Content Types - No Default Type?

I have a Sharepoint Calendar List that has multiple content types. When I click the "Add Item" link on the calendar, I am prompted to add information for the default content type. However, I want to ...
1
vote
1answer
2k views

Deleting Site Columns and Content Types Programmatically

I have a feature that adds two site columns to a content type on activation. On deactivation it's supposed to delete them, but I'm getting the following error: "Site columns which are included in ...
1
vote
2answers
255 views

Unrelated column appears in Content type version history

We have a site content type that inherits from Document and has 2 additional columns added to it. This Content types is used in a library along with 5 other content types. When we look at Version ...
1
vote
2answers
139 views

How to download certain columns from an item?

I would like to download the metadata for an item. I don't want all the columns because SharePoint adds bunch of them, e.g. date, name, etc. that I don't need. I just want to download the columns for ...
1
vote
1answer
1k views

Content Type issue with the Discussion Board in SharePoint 2010?

I have changed the default content type from 'Discussion' to 'Message' is on the Discussion Board on SharePoint 2010 and reverted to its normal (Now, Discussion is the default content type). Now, If ...
1
vote
1answer
3k views

No XsltListViewWebPart was found on this page

I've installed stand-alone SP2010 on Windows Server 2008 R2 - no problems during installation. I set up a content type that inherits the 'Page' type and added some new content type fields. I then ...
1
vote
1answer
116 views

Create a SharePoint abstract parent content type

Is it possible to make a content type "abstract" in SharePoint 2010, i.e. users will only able to use the content types that inherit from the parent, and not create items/lists that use the base ...
1
vote
1answer
420 views

SharePoint Designer workflows don't reflect changes in content types

I've been trying to create a set of SharePoint Designer workflows for a WSS 3.0 site, and I can't make SPD see changes in the content types of the lists. Specificaly, I'm trying to use the Create ...
1
vote
2answers
147 views

Using CodePlex Feature Generator

I was just wonder whether any acutally used the feature generator from codeplex or not. I have following questions... Does it create good version (meaning not missing anything major from feature) ...