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)

3
votes
2answers
3k 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
1answer
6k views

How to update a deployed content-type?

I created a content-type and applied it inside a document library. Now, if I go to the conent-type gallery and delete one of the fields, and then go back to the library and view the available ...
3
votes
2answers
550 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
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?
3
votes
1answer
678 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
1k 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
379 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
461 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
2k 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
1answer
258 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
209 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
3answers
3k 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
2answers
506 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
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 ...
3
votes
3answers
4k 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 ...
3
votes
3answers
2k 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
2answers
2k 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 ...
3
votes
1answer
353 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"?> ...
3
votes
2answers
394 views

Publish contenttype after activating feature (Office 365)

I've created a Contenttype and some fields in a visual studio project. They are deployed when activating the "Content types"-feature. But here's the problem: I want them to be deployed to the Content ...
3
votes
2answers
3k views

Content Type vs Managed Metadata

Considering Content Types and Managed Metadata are two difference ways to add metadata to items I am having difficulty understanding how these two features play together. It seems to me many of the ...
3
votes
3answers
958 views

Content Type Column Removal

I have a few Content Types that inherit from a base Content Type. These are all wrapped up as part of my solution. I wondered, as it is possible to add additional columns to a child Content Type ...
3
votes
4answers
1k views

Best way to get CAML for a custom content type

I am trying to get the CAML for a custom content type that I am creating. What I am really doing is creating the content type in Visual Studio 2010 and then deploying that content type to my sandbox. ...
3
votes
1answer
627 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?
3
votes
1answer
260 views

Content Deployment job failing because of mismatched feature versions

I have content deployment (using database snapshots) configured between an authoring and production SharePoint 2010 environment. I have a feature called PublishingContent_ContentTypes which I ...
3
votes
2answers
381 views

How can I get a tree view for content types out of the metadata navigation hierarchy in a document library?

I have a hierarchy of content types that's currently two levels deep, and could go to three. These are for legal documents and may ultimately be used as templates in Word... which is why I opted to go ...
3
votes
1answer
182 views

Error building a content type in SP 2007

I have an event handler that catches an ItemAdding event and changes the content type on the fly. This is my code to build the content type: SPContentType baseContentType = ...
3
votes
1answer
1k 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 ...
3
votes
3answers
2k views

Mysteries of the ContentType Inherits attribute

When defining content types in SharePoint 2010, there is a new Inherits attribute. According to the SDK: The value of this attribute determines whether the content type inherits fields from ...
3
votes
1answer
34 views

Problem with Localization of ContentTypes

I've developed some content types. There are no resource files in my solution. When I'm deploying them to an English team site the description is correctly displayed. If I deploy them to a German team ...
3
votes
1answer
50 views

How to Copy Object With a Custom Content Type?

In SharePoint I have created a custom content type at the root site level. It's a "described folder", inheriting from the folder type and adding an extra column that can hold a textual description. I ...
3
votes
1answer
233 views

Make Link to a Document more user friendly

The way Link to a Document works is that I need to go to the place where I want the link to appear. Click this content type and then provide the URL to the document in some remote location. This makes ...
3
votes
1answer
518 views

Error while form opening if it is created from SharePoint Designer

I got stuck! :P My goal: New form in source library ====> New form in target library [both web-browser enabled, following Infopath templates] Using "create list item" action within a workflow ...
3
votes
4answers
3k views

Get ContentType in ItemAdding Event Handler

I need to change a field in the item being added based on its content type. This needs to happen before the item has been added - hence ItemAdding event receiver. Using ItemAdded is no good since the ...
3
votes
1answer
518 views

Removing Workflow Association on Content type programmatically with push to children

I am required to remove Workflow associations on a content type and from all the child content types deriving from this, as well as the list content types, deriving from the derived. ct - A Site ...
3
votes
1answer
127 views

SharePoint 2010 Workflow Deployemnet from DEV to UAT

I have Sharepoint 2010 DEV and UAT sites. I have made some changes in DEV workflow and I want to deploy the changed workflow to UAT site. I have created the workflow template and saved .wsp file to ...
3
votes
1answer
92 views

Hide SPContenType in use

I'm trying to hide (or remove it from the new button drop) a SPContentType that is already in use via Powershell scripting. Even if before: $SPContentType.Hidden = $true $SPContentType.Update() I ...
3
votes
1answer
55 views

Workflow and Page Content Types

In 2007 I am trying to understand the use of workflows added to page based content types that will eventually live in a page library. If I add a workflow to such a content type then use that content ...
3
votes
1answer
757 views

“No item exists at https://<internal_url>” after file upload when accessing the site externally

I have created a SharePoint 2010 site that is accessible both internally and externally. I have created alternate access mappings for https://<internal_url> (Extranet) and ...
3
votes
1answer
244 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 ...
3
votes
2answers
550 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, ...
3
votes
2answers
1k views

Nested (inherited) content type and inherits false in 2010

I can't find a CAML based solution to the following problem, I appreciate that if I created/edited the content type using the object model it would probably be OK but for this situation I need to use ...
3
votes
1answer
87 views

Starting fresh project using Sharepoint 2010 foundation

I have a wss 3.0 site that is working and functional. I didn't wanted to migrate the site to Sharepoint foundation as there are some issues with the site during migration. Also I would like to have ...
3
votes
1answer
209 views

Why is this workflow to create a document from a custom content type just creating a blank document?

I have a document library with a custom (document) content type set as default (the only content type), and I've edited the template to use columns to populate the document. When I create a new ...
3
votes
1answer
1k 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 ...
3
votes
1answer
54 views

I need help using multiple content types in a wiki page library

I currently trying to used multiple custom content types based off of the wiki page content type in one wiki page library. "Allow management of content types" has been enabled with the designer The ...
3
votes
1answer
362 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 ...
3
votes
2answers
1k 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 ...
3
votes
3answers
2k views

How to efficiently deploy content types to a Content Type Hub

I have set up a Content Type Hub and tested the syndication is working correctly by creating a test content type and watching it be published to the client site. Then I deployed the content types I ...
2
votes
4answers
2k views

How to set columns visible only in Display Form on a Column used by a Content Type

I have a column that we will call C. This Column is associated to a Content Type (CT). If I go to the properties of the CT -> Column C I can set the column to be Facoltative or Hidden: If I put it ...
2
votes
3answers
321 views

Sharepoint feature still running after being uninstalled, files removed, IIS restarted

I had created a feature that changes the content type of a folder when it is created, which works fine. However, I wanted to make a change to it by adding another folder for it to work in but after ...