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)

2
votes
4answers
812 views

Document IDs on existing Lists with inherited Content Types not showing

I've got some existing lists that have custom content types inherited from the Document content type. I've activated the Document ID Service feature, and any new lists I create using the same content ...
1
vote
1answer
427 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. ...
4
votes
0answers
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 ...
1
vote
1answer
187 views

After upgrade from 2007 to 2010 - Field Duplicate when trying to add feature

I upgraded a sharepoint from 2007 to 2010 with attaching the content database. After that i developed a new solution with the same content type i used in 2007. Adding the solution works fine but ...
3
votes
1answer
89 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 ...
14
votes
4answers
6k views

Why is Word document created from template saved locally, instead of to the document library?

I have created a custom content type at the root of my Site Collection and set this content type to use a Word document template, which resides in a different document library on the root site. (The ...
0
votes
1answer
24 views

Will data be affected on dropping features

If I drop\delete features like SiteColumn, ContentType or ListDefinition which may be referred by sites to hold data. In such cases, will the data also get deleted?
1
vote
0answers
213 views

Migrating a site from one SC to another - ContentType problems [closed]

Recently I took over a sharepoint 2010 consolidation project from another developer. The goal was to combine 6+ standalone Site Collection + Site stacks into one Site Collection. Apparantly 5 of the ...
0
votes
2answers
1k views

Web part and content type

I'm using SharePoint 2007, custom list. I have created 2 content type on that list. on the home page I create 2 web part. I want that each content type appear in one web part. is it possible?
0
votes
1answer
757 views

Show/Hide Content Editor Web Part Based on Sharepoint Custom Content Type

I have created a room/resource reservation process using custom content event types. They are as follows: *Reserve a Room *Reserve an AV Resource *Reserve the Conference Room I have created a CEWP ...
0
votes
1answer
532 views

User control in custom list item edit - when can I see content type of item?

I have a user control I'm using to edit new list items. In my Page_Load event, I am trying to retrieve the Content Type of the new item to use in further logic. But, I'm getting a null reference ...
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
2answers
2k views

Reorder Content Type Columns

I have a custom content type with some custom site columns. I can't find anywhere to reorder the columns for the content type. How can this be done in Sharepoint Designer 2010? Thanks.
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?
7
votes
2answers
3k views

Can I order by Content Type in a CAML query?

Is it possible to order by content type in a CAML query? I seem to always get the same result no matter what I do with the Order by. Ordering by ID instead works perfectly. query.Query = @" ...
1
vote
0answers
193 views

Document Sets & Content Types

Our users generally work offline - hence we want an ability in Document Set whereby Documents can be uploaded in a Document Set The Uploader is asked - Which Document Set should be used to uploaded ...
5
votes
1answer
8k views

Adding a site column and add it to a content type from PowerShell issue

Within a PS script, I'm trying to add a site column and add this column to a custom content type. Here is my script : add-pssnapin Microsoft.SharePoint.PowerShell -EA 0 function ...
2
votes
1answer
119 views

Custom content type throwing errors?

I have created a custom content type that uses several custom fields that I created in the same project. When I deploy the content type for the first time it works fine. When I try to deploy ...
2
votes
4answers
8k views

SharePoint search not indexing contents of document libraries

I have a strange problem where the MS Word documents my documemt libraries are not being indexed. When i look at the crawl log i can see that the crawl is indexing the libraries themselves but not any ...
0
votes
1answer
121 views

Workflow For Forms

My company is currently planning to setup Sharepoint 2010 and I have been tasked with converting old forms (e.g. Vacation Request Form) into workflows in Sharepoint. Historically, the forms have been ...
0
votes
2answers
720 views

Add site column to site content type error

var objWeb = properties.Feature.Parent as SPWeb; Guid webPublishingGuid = new Guid("94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb"); SPFeature feature = null; SPSite site = objWeb.Site; feature = ...
1
vote
0answers
1k views

Overriding FormUrls and alternative form?

In a content type, I override the forms of the CT : <XmlDocuments> <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url"> <FormUrls ...
2
votes
1answer
722 views

Provisioning Custom Content Types and Document Templates

I am using a complete 2010 environment (SP,VS and Word) but when I provision my content type using XML, while it provisions everything and appears to work, when I create a new Word document from my ...
1
vote
2answers
303 views

What are the implications of manually changing a Content Type?

If a Content Type was deployed using a feature and someone makes manually changes it through the UI (e.g. adding a column), are there any implications? Does the content type become unghosted? Are ...
0
votes
3answers
213 views

How to create a Content Type within a Content Type in a SharePoint 2010 list?

How do I create a CT within a CT as shown in the image?
0
votes
2answers
123 views

Accessing additional content type from a page layout (in markup)

I have the following content types Testimonial Page (Inherits from Page) Testimonial Video (Inherits from Video) I have a page layout that is based off of the Testimonial Page content type. I ...
0
votes
1answer
102 views

Custom link content type should open a modal window to for adding a new link

My custom link content type is not showing as Modal window, but Add a New Link window is showing in the same Window, I want it to display in Modal window
9
votes
3answers
12k views

How to find all documents of a certain content type?

I have an content type I would like to delete, but when I try I get an error message saying that it is still in use. Is there a way that I can find all documents that are still using that content ...
3
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. ...
1
vote
1answer
3k 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 ...
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 = ...
5
votes
1answer
18k views

More than 255 characters in multiple lines of text?

I have an InfoPath Form which submits the text of a textbox and saves it in a SharePoint list. Whenever a user types in more than 255 characters and I want to edit the element in the SharePoint list ...
10
votes
2answers
1k views

Best way to package publishing content types

I'm currently planning on how to package my Publishing content types in a WSP to make deployment in production easier. I came a cross the following choices 1- create a feature receiver and ...
5
votes
3answers
1k views

Deleting a site content type in Sharepoint 2007

I'm trying to delete a custom content type that I've created, but I'm getting an error when I try to do so: The content type is in use. at ...
3
votes
3answers
3k 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. ...
2
votes
3answers
339 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 ...
2
votes
2answers
1k views

When can the content type be updated in code?

I have created an event handler for ItemAdded so that when an item is added on the site, my code checks to see if it's a folder. If it is, it should change the content type of that folder to a custom ...
1
vote
2answers
593 views

Creating New Content Types - Parent- Child Sites

In my site I am creating a new site and subsites. We have a main site that we want to collect the different Projects (parent) and have the subsites have the project information along with other ...
3
votes
3answers
5k 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)] != ...
2
votes
2answers
6k views

Permissions on Content Types?

I am using sharepoint 2010 and made my own content type that inherits from the page content type. This content type is in a folder called "content types" I am having a weird problem where if the user ...
3
votes
1answer
817 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 ...
17
votes
4answers
4k views

Content types vs. custom list field

This is a question about best practices and the intent of the designers of SharePoint. I'm pretty new with SharePoint, and have only worked on pretty small projects. I often find myself creating ...
6
votes
1answer
1k views

Only allow Document Sets in a Document Library (ie no Folders)

I'm exploring the use of Document Sets as a more managed approach to file handling (in the recordkeeping sense) in SharePoint. The chief problem I have is that Document Sets are derived from Folders, ...
4
votes
1answer
4k 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 ...
1
vote
2answers
277 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
236 views

Custom sitecolumns can't update

I have made a ContentType in Visual Studio 2010 for my SharePoint 2010 project and the first time I deployed the wsp through the WSPBuilder there were no troubles but now every time I try to deploy, ...
4
votes
2answers
3k 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 ...
2
votes
1answer
2k views

Do Site Templates include content types in site collection

I had created custom content types in site settings that I was referencing with a list on a site. When I did a save as template from the site, would that have also saved the content types? I passed ...
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 ...
1
vote
2answers
499 views

Don't show custom content types when click on New

Business users don't want to show the content type when a user goes to the list/doc lib and clicks on new drop down. I used contypeType.Hidden = true; but it did not work. ...