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)

0
votes
1answer
118 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
636 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
997 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
677 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
267 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
201 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? Thanks -saumil
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
101 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
9k 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 ...
2
votes
1answer
2k 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
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 ...
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 = ...
4
votes
1answer
12k 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
913 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 ...
2
votes
2answers
2k 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
325 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
939 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
1answer
508 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
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)] != ...
2
votes
2answers
4k 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
689 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 ...
16
votes
4answers
3k 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
836 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
258 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
229 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
2k 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
1k 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
440 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. ...
2
votes
2answers
1k views

Is it possible to use DocIdRedir.aspx for linking to the display form

We are using a Link to a Document contenttype. The url used in this contenttype contains an url like http://ont/abc/_layouts/DocIdRedir.aspx?ID=N57YVKN5WQKX-2-2247. When testing this url it always ...
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 ...
0
votes
2answers
640 views

Unable to see read only fields of a content type from a workflow in SharePoint Designer 2010

I have published an Infopath form that creates a custom content type for a site. Using SharePoint Designer, I have created a workflow for the list that the content type is associated to. So why can I ...
7
votes
1answer
708 views

SharePoint ContentType Lifecycle Management

SharePoint 2010 introduces the new UpgradeActions element to the feature manifest which allows content type (CT) lifecycle management by using the new AddContentTypeField element to add new fields to ...
4
votes
3answers
2k 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 ...
3
votes
1answer
382 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 ...
0
votes
3answers
458 views

Create New Word Document Without Opening it

I have a scenario where a user creates a new Word document (attached to a content type), but doesn't need to open it. The document will be populated by other users later. Is there a way to avoid the ...
2
votes
2answers
773 views

Changing OOB content types on selected lists

My customer want to have a global taxonomy for all content. I have created content types that inherit from the usual content types (Documents, Pictures, Pages) that will contain this taxonomy. To ...
4
votes
2answers
61 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 / ...
22
votes
6answers
18k views

How to delete a content type part of an application feature?

I'm developing a solution in SharePoint 2010 that deploys a content type. I've now made a change to the content type and want to delete all its old references, remove it, and redeploy. Unfortunately ...
8
votes
3answers
3k views

Is there a way to see if an SPField was created by a user?

I have some code where I am going through all of the Fields that belong to a content type. I'm curious if there is a way to check to see if the SPField was created by a user or if it is a system ...
2
votes
1answer
312 views

Fields and FieldLinks return the same two values for all Content Types

I have an application that loads all of my content types into a drop down list. When an item in the drop down list is selected I would like to get a list of the columns for that content type but each ...
7
votes
1answer
2k views

Opening the default “New Document” editor for a given ContentType from an external C# application (Sharepoint 2010)

I'm currently working on integrating some SharePoint functionality to an existing C# application we have here. Most of the requirements have be fairly easy to implement: I'm using the ListData REST ...
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 ...
0
votes
1answer
986 views

Date Field format in a Publishing layout

I have created a publishing layout for SP 2010 Publishing site. I have created it based off a page layout publishing content type. One of the field is the standard OOTB Date field. Using SP ...
0
votes
2answers
155 views

document list with a content type

i have a form created in microsoft word that I want to use as a document template for new list items. therefore, i've created the document template as a content type so that users see it in the ...
0
votes
1answer
1k views

Changing the column order of a content type not working as expected

I'm having a silly problem that I can't get rid of: I have defined a content type based on the task content type. I've just added a couple of basic columns and removed others. When I reorder the ...
0
votes
1answer
109 views

Folder content type won't update or become selectable in SP 2007

I have a site on which I have unsealed and added columns to a content type, 'Folder'. Now, I want to add this content type to a document library, but I do not have the option to add it in Document ...
1
vote
2answers
520 views

What to do when a Site Column name is already being used?

I'm running into a situation where a Site Collection has several sub sites. Each sub site has data related to a particular geographical region. When trying to create content types / site columns for ...