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)

4
votes
4answers
10k 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 ...
4
votes
2answers
7k views

How to change site collection URL (Content Type Hub) in Managed Metadata service application

in Application Management -> Manage Service Applications -> Managed Metadata Service. Select manage metadata service and click properties. In properties window, I have added Site collection URL ...
4
votes
1answer
64 views

Content Type Hub subscriber Metadata Column value null

On a Content Type Hub subscriber site collection, we have site library using a Content Type with a Managed Metadata column that displays null if the user is not a Site Collection Administrator: ...
4
votes
1answer
75 views

Remove - Content Type Column doesn't remove column from List

As option says while "Change Content Type Column" "Specify whether all child site and list content types using this type should be updated with the settings on this page. This operation can take a ...
4
votes
1answer
5k views

The field with Id [GUID] defined in feature [GUID] was found in the current site collection or in a subsite

I have a farm solution with a single feature that has a bunch of site columns and a content type. The content type does inherit from Enterprise Wiki Page, but the feature has an activation dependency ...
4
votes
2answers
1k views

Webpart Page as Document Template (SP 2007)

I am trying to create a custom content type where the Document Template is a webpart page with multiple webparts already on it. My problem is, I created a page in a page library, saved a copy of that ...
4
votes
3answers
3k views

Error Message - Field type Publishing Image is not installed properly. Go to the list settings page to delete this field

When I goto Site Settings > Site Columns, I get this error message Field type Publishing Image is not installed properly. Go to the list settings page to delete this field. How do I get to ...
4
votes
2answers
92 views

Deleting Content type from “List Items” using Powershell

I want to delete a custom content type from all items that are using that content type in a list/library. Is that possible using powershell? if yes, then I want to know after deleting CT, which ...
4
votes
1answer
2k views

Programmatically create a new document based on a content type template

As in the title, I need to programmatically create a new document based on a content type template. Does anyone know the best way to do this? Normally, to add files you use Web.Files.Add(), but all ...
4
votes
3answers
6k views

How to Submit an InfoPath Form to its Own Library?

Salvete! I have an InfoPath-based content-type. I also created a forms library in several subsites that each use this content-type. Now, I need to fix my InfoPath content-type form so that it gets ...
4
votes
2answers
3k views

Set column order in contenttype

I've added some site columns with an xml file and also created my contenttype in the xml. After deploying, a feature creates a lookup to another list (with c# code). How can I set te column order in ...
4
votes
2answers
4k views

Content Type Field missing from New Form

I have created three content types and associated with a list. When you click the list and then the add new button from the Ribbon in the top, all 3 types display. However, when you click add new ...
4
votes
2answers
66 views

Identify a Preinstalled Content Type

Does anyone know of a fast way to tell through code if a ContentType is one that's a pre-installed one? Conversely, I want to know if a given ContentType was provisioned by a custom feature / ...
4
votes
1answer
52 views

How to retrieve all list/library which uses custom content type in a site collection?

How to retrieve all list/library which uses custom content type or a custom column in a site collection? It would be really helpful if you post your answers in C# code or SQL query. Please let me ...
4
votes
2answers
3k views

Sharepoint 2013 - REST api - downloading file returns incorrect Content-Type

I made the following request to download a file from Sharepoint 2013 using REST api: GET ...
4
votes
3answers
5k views

New site columns are not being completely propagated to a content type in a site collection

We're working on a SharePoint 2010 publishing site that has been deployed to our client's environment. We need to add 5 new site columns and add them to one of the content types (that's based on ...
4
votes
1answer
3k views

“Invalid Field Name” Exception when using Provisioning

I wanted to create a site template package. Instead of going with a custom site definition, I planned to go with the recommended "Provisioning Provider" technique. The solution was going just fine. ...
4
votes
3answers
2k views

How to remove the builtin “Item” Content Type from a list using powershell?

I have a custom content type and I added this content type to a list. I now want this list to only use the custom content type and I want to remove the built-in "Item" content type. I tried ...
4
votes
1answer
2k views

Trouble creating wiki page template for content types!

Just assumed it was as easy as creating a document content type but when I tried it for the first time, to my surprise I could not do it. Where do I download a wiki page template? Why can’t I just ...
4
votes
1answer
3k views

How do I programmatically reorder fields in a custom content type?

This is the code I wrote to reorder fields in a custom content type: //get the content type SPContentType listContentType = myList.ContentTypes[MyContentTypeName]; //get the field name to put first ...
4
votes
1answer
30 views

Enforcing Content Type regardless of upload method

being new to SharePoint I am struggling with this one and can't seem to find the answer - if there is one - in an other forum questions. Documents can be uploaded to SharePoint 2013 many ways:- ...
4
votes
1answer
105 views

Document Library Created Using Template Shows Field Internal Name

I have created a Document Library Template using "Save as template" option from library settings page. When I create a new document library using that template it shows a site columns internal name ...
4
votes
2answers
562 views

Design Manager crashes when loading snippets

I'm having issues with the SharePoint 2013 Design Manager, so far I've - created a new content type that inherits from the Page content type - created a new page layout in the design manager, using ...
4
votes
1answer
356 views

Sharepoint Workflows and Managed Term Sets

Platform: Sharepoint 2010 with Sharepoint Designer 2010 Are there any explanations out there on how to create a workflow with an email template that is sent to certain people based on a taxonomy term ...
4
votes
1answer
332 views

Assigning Icons to Content types

I have added a couple of content types that inherit from "folder" and some other from "item" (and each other, but they're not the issue). How can I, if that's possible at all, set another icon for my ...
4
votes
0answers
55 views

Content search and content type

In SP 2013 on-prem publishing site, I have a content search web part that shows a list of pages by querying for the custom content type id, and it worked fine until I edited the navigation settings on ...
4
votes
2answers
1k views

SharePoint List with multiple content types and the datasheet view

According to this thread. SharePoint 2010 does not "support" using the datasheet view with multiple content types configured anymore. But maybe somebody knows a workaround for my problem: I have a ...
3
votes
3answers
15k views

How do I programatically change the content type of an existing file?

Is there some way to change the content type of a file using PowerShell? Ideally I'd like to write a function that one would point at a specific document library and it would pull down an array of ...
3
votes
1answer
10k 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 ...
3
votes
2answers
6k views

Problem with Sharepoint ContentTypeBinding and Lookup field

I have a problem with ContentTypeBinding when creating a new site. I have custom site template definition where I have referenced Publishing Server Feature, so list Pages is automatically created on ...
3
votes
2answers
1k views

How to change the Type icon of a particular content Type

I'm creating some Content Types... Is there any way to put inside the XML the information to describe the Icon of a Specific content type? Something that overrides the document type or the folder ...
3
votes
3answers
4k views

Programatically add a content type to a document library

I have an event-handler feature that changes the content type of an item when it is added to a document library, however this will only work if the content type is allowed for that document library. ...
3
votes
3answers
663 views

More than one Pages library?

We have requirements where we need to add multiple pages libraries on a site, but this seems impossible to do via both the GUI and code. Is it all possible / supported ?
3
votes
2answers
5k views

How to get default content type of list programmatically

How can I get default content type of sharepoint list programmatically?
3
votes
1answer
960 views

Determine if a document library is a sharepoint library

I'm adding some content types to every standard-document library which is created over the "List Added"-EventReceiver. When a web is created the are some new doclibs for example in a team site there ...
3
votes
2answers
2k views

suitable content type for news with images

we're just starting with developing a new intranet site for our company, using SP2010. I'm trying to get my head around how to best structure/tackle the following scenario: Users across the company ...
3
votes
1answer
431 views

Does Create Content Type need to be a farm solution?

I've found a couple of examples of creating a content type using visual studio. http://stevemannspath.blogspot.com/2010/11/sharepoint-2010-leveraging-visual.html ...
3
votes
1answer
466 views

Best way to implement content type specific search?

I am planning on rolling my own web part where users can select a content type and it will generate search fields based on the columns. Am I right to write my own or is there a better way to do this ...
3
votes
2answers
3k views

Force the document information panel to show with code or featuredefinition

In the UI I can drill down into a ContentType settings -> Document Information Panel settings -> and set 'Show Always' to true (marking the check box). How do i set this option through code? (or in ...
3
votes
2answers
36 views

List item field hidden from Edit form

I have a content-type consisting of two columns: Title and Description. Title is required and a single line of text Description is optional and consists of more lines of text (Rich text editor). ...
3
votes
1answer
298 views

How to Search custom columns for a content type and display in SPGridView

I have a custom task content type based on the task content type which has a custom priority column, custom assigned to column etc. There are many instances of the task list in multiple site ...
3
votes
2answers
258 views

Why are some of my content type columns grayed off?

Here's what my content looks like, currently. Some of the columns are grayed off for some reason, and I can't change their visible/hidden/required status. It only happens with Integer columns. If I ...
3
votes
2answers
2k views

Change Base Content Type of Content Type

In Sharepoint 2010, is there any way to change the parent (or base) type of a Content Type after the relationship has been established?
3
votes
3answers
6k views

Content type ordering or making it default ct

The following is updated code from Ton Stegeman and it works. private static void AddContentType(SPWeb web, SPList spList, string ctName) { if (web.AvailableContentTypes[(ctName)] != ...
3
votes
1answer
7k views

Add new column to an already existing content type with a feature?

Is it possible, with Sharepoint 2007, to add new columns with a Feature to a content type that is already being used in some lists?
3
votes
1answer
77 views

Can I create a single content type to use on a list and a document library?

I want to create a single content type to define columns for both a SharePoint list and a Document Library in SharePoint 2013. I have tried creating a Content type with Items as the Parent and added ...
3
votes
2answers
1k views

Does all external SharePoint data have to flow through BCS?

I was asked the question why I need access to BCS Services and have been tasked with documenting "ways to access external data in SharePoint' I've read one article after the next regarding external ...
3
votes
3answers
120 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 ...
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 ...
3
votes
1answer
480 views

Why Is My Content Type Replaced With a List Instance Detail When I Deploy My Project in Visual Studio, but Not When I Deploy it Manually?

I'm doing something that I think is pretty typical. I've created a content type, descended from Document, to go into a document library, like so: <?xml version="1.0" encoding="utf-8"?> ...