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)

1
vote
2answers
188 views

Provision a file through a module (CAML) and choose its Content Type

How do you provision a file through a module (CAML) and choose its Content Type? Is it even possible? The normal behavior for a new item is to get the default content type.
1
vote
1answer
482 views

How does Content Type Inheritance interact with retention policies?

Are there any issues with defining retention policies on a hierarchy of custom Content Types? I want to be able to define retention policies in a flexible manner, with a root Content Type that has the ...
1
vote
1answer
2k views

List Templates and Custom Contenttypes missing document template on list creation

I want to create a new document library definition for general use in our SharePoint environment. This new list has some predefined content-types. Users will add this list themselves one or more times ...
1
vote
0answers
55 views

Removing System Content Types

I have deployed a Content Type Hub which has my organization's "Primitive" Content Types. These types are obviously inherited from the System Content Types (Document, Item, Announcement, etc..). Now, ...
0
votes
1answer
406 views

How to move content within fields in a page layout?

I'm working on a requirement where I'm adding a few fields in an already existing Page Layout and also renaming all the fields. After adding the fields via code,I want to move content within fields ...
1
vote
1answer
1k views

How to update all elements child of a Content Type programmatically

when (by web interface) user access to a content type (in site settings -> content types) and adds or remove a column there is a flag near the end that says something like: "Update all content types ...
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 ...
3
votes
2answers
857 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 ...
1
vote
2answers
526 views

How to hide / remove / rename “Name” propertie from folders

I have a content Type that inheritate from Folder (named F_CT) to content my other type elements (I_CT)... When I Click to create a new F_CT Sharepoint asks me how all the F_CT fields and "Name" as it ...
0
votes
1answer
374 views

Problem Updating Item of a Certain Content Type (deriving from Folder)

I'm encountering some problems updating some items in my Event Handler. I have a Document Library in which I have folders, items and folder of content type PRATICA, which derives from folder and has ...
1
vote
2answers
6k views

How to create custom EditForm and DisplayForm for custom content type?

I have developed a custom ASPX SharePoint application page using Visual Studio. I would like to use that page as the EditForm and DisplayForm for the custom content type. At the moment, my page is ...
2
votes
2answers
520 views

Is it possible to use powershell to change the content type of a page layout after its been uploaded to a masterpage gallery?

Im trying to automate as much of the upgrade I am working on and one of the manual steps is to change the page layout of 5 root webs of site collections, each of which has to have this new page layout ...
2
votes
5answers
6k views

Creating Document with workflow: The file test.docx cannot be opened because there are problems with the contents

I have a document library with two custom content types. If I use the web interface and choose New Document -> MyCustomType the document template opens up and I can create and modify the document and ...
1
vote
2answers
2k 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 ...
0
votes
1answer
77 views

Content type is not creating Parent properly

I am trying to create generic content type creation using following code. // Create a Content Type Information object ContentTypeCreationInformation _customcontenttype = new ...
1
vote
1answer
138 views

Getting library field parameters when inherited from a site column

The SetUp I have created 3 site columns. All set to not required fields. I have added these site columns to a content type. This content type I have added to a document library. The document library ...
1
vote
2answers
5k views

The workflow could not create the list item?

I would be grateful for any help/pointers I am getting “The workflow could not create the list item. Make sure the list exists and the user has permissions to add items to the list.” My scenario ...
0
votes
1answer
381 views

Infopath Publish as Content type an Reusable workflow

Does anyone have any good links to web tutorials that demostrate how to publish and Infopath Form as a content type and then attach a reuasble workflow to the form?
2
votes
1answer
666 views

How to create Item of a particular Content Type from Ribbon

I have a document library which has two custom types linked to it. From UI I have two buttons to add that items.. I have two simple "ribbon button" and I want to use that to create the new Item from ...
0
votes
1answer
257 views

Custom Site Content type is not getting mapped for the required taxonomy field

I have a custom project site template which is coded in c#.net VS 2010, I have deployed the projects related to the project site template into central admin through VS After deploying the solution I ...
1
vote
1answer
519 views

Dispose issue when working with content types

I am seeing an issue with un-disposed SPRequest objects in the ULS logs when i work with content types in the object model. My code is as follows (in previous methods run as part of this request, the ...
0
votes
0answers
65 views

MOSS 2007 Sort a dropdown content column globally

I have a content type which requires all documents to be categorized by a dropdown box. Is there a way to sort the options that are displayed?
0
votes
1answer
215 views

Change form based on content type

I have a list which have several content types attached to it. When you click on new item I want a dropdown box to appear where you can change the content type and it then changes the fields that can ...
1
vote
2answers
347 views

Tool to create ContentType CAML

Are there any good tools to create the CAML required for ContentTypes? I'm building most of my content types in Visual Studio.
1
vote
0answers
1k views

An item with the same key has already been added when trying to recover my list using Linq (SPMetal)

I have a problem with my application SharePoint. The problem is that I added a List in my SharePoint site (directly in SharePoint), then I used SPMetal LINQ to generate a File in which I can recover ...
3
votes
3answers
12k 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 ...
0
votes
2answers
77 views

Access title-element

I've created a contentype that inherits from the item contenttype. So the contenttype automaticaly has the field: Title. But how access this field (I want to add some custom validation and define if ...
0
votes
1answer
176 views

Leaving Content Type behind on solution retraction?

At first, I'm wondering if this would be a good idea, at all... However, I have a project (http://sharepointadlds.codeplex.com) that creates two Content Types as well as two Lists in Central ...
0
votes
3answers
783 views

Content type reference

I implemented content type for workflow tasks. <ContentType ID="0x010801004D0E4ACA1A34472887F7CCD678E5F48C" Name="$Resources:file,name;" Group="Custom Content Types" ...
4
votes
3answers
4k 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 ...
0
votes
2answers
114 views

update content-type

I've got a simple question, but don't know how to solve the problem. What's the best way to update an already deployed content-type? I want to keep the lists, that already use my old one, but need to ...
0
votes
1answer
112 views

MOSS 2007 Links List Changing Automatically

Whenever I post a link to an external site, for some reason SharePoint changes the domain name to the server domain name. E.g. If I post google.com/new-url, it will change it to mysite.com/new-url. ...
0
votes
3answers
2k views

How do I query items that are sourced in another site collection?

I have a set of site collections (call it 'Personals'). Each of these site collections has a page on the root site that wants to display a feed of 'announcements'. These 'announcements' need to be ...
1
vote
1answer
385 views

Crawled Property with accountname of “Person or Group” Site Column in SharePoint 2010

I created a custom content type that includes a custom site column "Owner" of type "Person or Group". Now i need the accountname/login name (for exc. domain\usera) as a crawled property to include it ...
1
vote
3answers
7k views

Custom lists and mandatory 'Title' field

I've just successfully followed this tutorial: http://msdn.microsoft.com/en-us/library/ff728096.aspx Not the best tutorial, but it's all working nevertheless. My question is, now that I've managed ...
1
vote
1answer
123 views

What happens to content if you remove content's dependency?

Dependency may not be the right word here - but basically my question is regarding what happens to the data inside a sharepoint content database if that data was created, for example, by using a ...
1
vote
0answers
250 views

How to update content type document template from templates list?

I have a single list at SharePoint root that contains document templates for content types (C scenario). This works and the template is being associated to child content types in lists. Now i added ...
0
votes
1answer
542 views

SPMetal, lookups without EntityRef

I defined site definition with two content types and two list definitions. I have lookup site column <Field ID="{4318c52f-11c6-129a-b832-5ab22450b17c}" Type="Lookup" ...
0
votes
2answers
547 views

Populating Word Table with Server Property

I am successfully using document property promotion and demotion in a current project. There is a document library where the properties are used to fill out a templated Word document. This is using ...
2
votes
1answer
1k views

Content type features refusing to enable

I am performing an upgrade from a 2007 environment to a 2010 environment and am having an issue with content types. In the 2007 environment, there was a custom content type from our codebase in a ...
2
votes
0answers
245 views

List Definition, disable modal dialog for View item form

I created two List Definitions with custom add\edit\view forms. Now I want to disable modal window only for "view form". I found solution where NavigateForFormsPages="TRUE" was used. But this ...
0
votes
4answers
1k views

Can you have too many content types in a content type hub?

Question For our business requirements we have 700+ content types and 400 site collections. If I use a content type hub will I be exceeding any recommended or hard limit? Some Background These are ...
0
votes
1answer
266 views

Custom File Type on Upload Menu

I have a custom Content type called Deliverable and it has been inherited from Document content type. but when I go to document library and click on Upload Document button on the toolbar, I only See ...
0
votes
1answer
580 views

Deploy document library with multiple content type

I have a Document Library definition that I added to the solution. I want to include multiple content types for this Document Library: one that inherits from Folder and one that inherits from ...
0
votes
1answer
265 views

Additional columns in ContentType do not render in Page Layout in SharePoint 2010

I created a content type and used that to create a page layout. It works fine. Now I need to add few more columns to content type. These columns also show up in SharePoint designer Toolbox and I drag ...
1
vote
1answer
7k views

The file name you specified could not be used. It may be the name of an existing file or directory

SPContentTypeCollection listctc = list.ContentTypes; In that line,. I am getting this error: Invalid file name. The file name you specified could not be used. It may be the name of an existing ...
1
vote
3answers
967 views

Issue with External Data Columns on Document Libraries with Content Types

I have site content type called ContractBase that has a bunch of fields that are used in contracts. I created some other site content types (ContractType1 and ContractType2) that inherit from ...
3
votes
1answer
318 views

What are the big no-no's that break content type inheritance to a site?

In my organization I have experienced that suddenly the inheritance have been unintentionally broken to a site, so that new lists or subsites only have local - obsolete versions of the content types. ...
0
votes
0answers
92 views

Access parent field values from custom field definition

I've got a form that contains different custom fields. During vallidation of field1 I need to know the value of field2. Does anyone know how to access the field? Or perhabs it is possible to connect ...
1
vote
3answers
398 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 ...