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
3answers
5k 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 ...
9
votes
3answers
10k 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 ...
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 ...
7
votes
1answer
5k views

Can't hide the title column in a custom content type

I'm building a custom content type. I've set a bunch of site columns I add to the content type. The content type is used in a custom list definition within a ContentTypeRef node. I'm also willing to ...
4
votes
1answer
7k 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
0answers
42 views

Retract solution (WSP) in Visual Studio 2013 - Delete Content Types

When I use Retract command in VS 2013 on my WSP, content types do not get deleted on the site. So whenever I want to update content types, I need to recreate the site. I've done some analysis on this ...
2
votes
3answers
2k views

Sandbox Content Type and Resource (RESX) File

I have a simple Sandbox Solution with a Content Type in it. The Content Type simply inherits from the Item content type. It adds no additional fields to it. I've added a Feature Resource file to my ...
2
votes
1answer
2k views

How to search by content type?

How can you perform a search using content types. For example, I want to search for all documents having content type "ct1" and where the field "fld1" contains the word "finance"? Is this ...
7
votes
2answers
7k views

How to adjust the title column in custom content type in SharePoint 2010?

I am creating a custom content type and it is working correctly with the exception of the Title column. My content type defination has the Title column added to the FieldRefs and I am trying to both ...
0
votes
2answers
942 views

Hidden content types

All the default content types are being hidden in our sites how to get them visible on all our sites.We are having SharePoint 2010 and i could see all the content types visible when I open the site ...
22
votes
7answers
20k 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 ...
19
votes
3answers
1k views

Feature based XML vs. Object Model: Which is better for content type development?

I've been researching a few different ways to create content types and I recently discovered that you can use the Object Model to do this. All of the examples I have found online typically use XML ...
13
votes
8answers
4k views

Content Type Event Receivers Impossible to Remove

I have a very odd situation in my SharePoint staging environment. We recently stood up a new SharePoint 2010 server (single WFE + a DB server), and attached a backed-up content database from our ...
2
votes
2answers
2k views

Content Types “New Item”

I am working on the Knowledge Database in SharePoint, so I have created several content types with lists. I want customers to be able to create a new article and get a different FORM based on the ...
0
votes
2answers
2k views

Find if content type is hidden (Visible is not checked) on the list level using SharePoint web services

I am trying to know if a content type is hidden (Visible not checked in Change new button order and default content type section) on a SharePoint list using SharePoint web services. I have tried the ...
12
votes
4answers
5k 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 ...
5
votes
2answers
4k views

SPSiteDataQuery vs. Recursive SPWeb.Lists Performance

I'm looking for the best performing means of querying for site data within a site collection. I need to query for all of the lists in either a particular SPWeb, or a set of SPWeb's, that contain a ...
9
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 ...
6
votes
2answers
6k views

Get all Files from sub folder of a certain content type

my problem is I have a document library with sub folders. Also the document library got more than one content type. Is there a way to create a CAML or LINQ query to get all files of a certain content ...
6
votes
2answers
3k views

Renaming Title Column in SharePoint List Definition

I am defining a custom list content type for SharePoint (using VSeWSS 1.3 and schema.xml). I want to change the display name of the default title field ('Title') to 'Serial Number': <Fields> ...
5
votes
4answers
9k views

Site Content Types screwed up. How to restore to default?

I need to change a root site's Item Content Type settings back to the default values. I also need to do this for all other Content Types that inherit from Item. Can someone recommend a safe an ...
3
votes
2answers
746 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 ...
1
vote
0answers
50 views

Modified Content type columns breaks in site template

I have created a site template with a list that uses my content type "ctNews". I have renamed my columns in the content type to different names, and renamed the columns in the site template. If I ...
1
vote
1answer
2k views

How to enforce metadata in document information panel in SP2010

My document library supports several custom content types. When "Add new document" is clicked, the Browse dialog for uploading the file is followed by the Document Information Panel which is properly ...
1
vote
4answers
7k 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 ...
9
votes
5answers
7k views

Add “New document” button to home page

I have a fairly simple SharePoint subsite that has two elements: the home page a document library The document library has two content types associated with it. What I would like to do is add a ...
5
votes
2answers
7k 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?
5
votes
3answers
998 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 ...
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 ...
3
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 ...
3
votes
1answer
8k 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
1answer
273 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
3answers
4k 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
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
4k 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
4answers
715 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 ...
2
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 ...
2
votes
1answer
2k views

Original creation date of word document

I have a word document created in, say, July 10 2010. When i upload it to sharepoint (say August 5, 2010) its creation date vaalue in sharepoint will be in Aug 5, 2010, and i can't find any trace of ...
1
vote
0answers
191 views

Can't update SPField through PowerShell - object has been updated by another user since it was last fetched

I get the following error when trying to update the choices for a Site Column: "The object has been updated by another user since it was last fetched." I get this error if I try to add a new choice ...
1
vote
0answers
31 views

Management of two content types in same list through access

I have 2 content types in the same list. Some fields are in 1st content type, some in the second and some are shared. I defined a default content type. When i open with access and try to enter a line ...
1
vote
3answers
1k views

Dynamically hide column list item if the field is empty

I have a series of fields that I would like NOT to appear in my list dispForm.aspx. So when a user creates a new list item if these fields are unpopulated the do not appear DispForm.aspx but I still ...
1
vote
2answers
1k views

Custom SharePoint 2010 Documentset contenttype

I'm working on a custom contenttype of the type Documentset. I want to set the alllowed contenttypes, but this is not working, it's only showing the defeult document. I read several blogs but i can't ...
1
vote
3answers
377 views

How to access documents with in a custom content type of Document Set

I have a Library, which stores document sets (the content type here is a documentset which contains more than one word document). Currently I can to get the items from the library using the below code ...
1
vote
1answer
354 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
0answers
428 views

Content Types not visible under New Button

I have a Sandboxed Custom Action for SharePoint Designer that can add Content Types to Document Libraries. The problem is that it does not automatically add it under the "New Document". It's not ...
1
vote
2answers
198 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
2k 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
1k 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
2answers
3k 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
0answers
212 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 ...