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
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
173 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
753 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
113 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
109 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
350 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
5k 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
121 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
242 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
515 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
533 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
244 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
565 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
264 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
6k 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
913 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
296 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
91 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
391 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 ...
0
votes
2answers
417 views

Conditionally hiding fields on publishing pages

Is it possible to hide some publishing fields on page layouts based on page content type field values? For example, if some field named Show Main Image is not set to true, I don't want to show Main ...
3
votes
1answer
5k views

Moving site columns and content types between farms

I can't seem to find the codeplex solution that helps export site columns, content types and import back to another sc or farm. Idea is to retain the guid for these. I know create wsp vs project is ...
1
vote
2answers
2k views

Why is the icon for my custom document template broken?

Before I get to the meat of it here's some background information (and an apology for the wall of text...). I'm running SharePoint 2010. I have created a content type called E-mail, using Document ...
0
votes
1answer
678 views

Why Are My Content Types Not Being Updated When I Deploy My WSP?

I have several content types defined in a custom feature. I have this feature working in both my dev & test environments. I needed to make some updates to the content types. When i deployed to my ...
0
votes
1answer
211 views

Multiple ListItem Owner

I need to create a List that contains multiple listitems. Each listitem should have 2 autors, or 2 persons wich have permissions to change the item. The users who are allowed to change the items are ...
0
votes
4answers
229 views

Is there a flag/property to identify custom content types?

Is there a flag / property to identify custom content types in SharePoint 2010 ? I know when creating new content types its possible to put them in a group (for exc. custom content types), but is it ...
1
vote
1answer
427 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
2
votes
3answers
2k views

Using Content Types programmatically

How can I use a content type programmatically? example: I have a content type called "Doc Template1" and I have added it as a content type in my document library. And when I click New Document > Doc ...
2
votes
4answers
2k views

Document Properties Demotion from ListItem field is not working

I have a content type in a library configured with a word document as a template, it is the default content type. When creating via the UI from New item entering information into the DIP sets values ...
1
vote
3answers
3k views

Content Type Feature Activation nativehr 0x80070055

After building a solution and feature to deploy a set of content types I was able to successfully activate the feature and use the content types. However after making some changes and redeploying and ...
0
votes
1answer
696 views

Multiple content types in a single library - sharing columns

I have built a simple expense claims feature into a sharepoint site using infopath. All works fine, but we wish to expand this to handle multiple types of claim, each having it's own form, travel ...
2
votes
3answers
3k 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 ...
1
vote
0answers
496 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
823 views

Changing PublishingPage.Layout doesn't change the content type?

I'm trying to update the Layout of the default.aspx page in my SharePoint publishing site and although the Layout does get updated, the ContentType of the page does not. Anyone have any ideas? Based ...
0
votes
1answer
854 views

Event Receiver for onitemdeleting attached to content type firing on all content types

I have an event receiver on item deleting which is being activated through code, the following is my code: SPContentType myContentType = web.ContentTypes["abc"]; //class where event receiver methods ...
0
votes
1answer
640 views

How can I programmatically set the hex value of PublishingAssociatedContentType?

When deploying a custom page layout that uses a custom content type, I need to include the hexadecimal value of the PublishingAssociatedContentType property. This is a problem since this value will ...
2
votes
3answers
4k views

Page layout not showing Content type fields

I'll try my best to describe this problem as it is quite tedious. We have a sharepoint solution, in where we create Columns that are deployed through a feature. I added my custom columns to a custom ...
0
votes
2answers
2k views

How can use API to get all Publishing pages in the site collection using a specific Content Type?

I need to use API to return all Publishing pages using a specific content type in a publishing site. this includes querying all sites in the site collection. Can I do that with SPQuery? I am using ...
1
vote
2answers
1k views

Create content type, site columns, list and list instance

I want to create 3 site columns, then 1 content type with the new 3 columns. Then a list template based on the content type, and then a list instance. I was going to create a new visual studio ...
1
vote
2answers
2k views

Multiline fields not working

I have the following content type definition and list definition, the description field should show me 4 lines, maxlength 255, but it always shows me One line one. <?xml version="1.0" ...
1
vote
1answer
135 views

creating content types with Out-of-Box vs Server Object models

Are there any advantages in creating content type using out of box vs visual studios?
1
vote
1answer
944 views

Globally Published Workflow only available for Parent/base content type and not the children

I've published a globally reusable workflow which is associated with a parent or base content type. Within one of my subsites I have a library full of documents that are child content types of this ...
1
vote
1answer
2k views

Creating a new ContentType with Document as base using Client Object Model

It would appear that the Client Object Model only retrieves user-defined content types as part of the ContentTypes property for a given web. I would like to create a new content type using Document as ...
4
votes
2answers
3k 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 ...
1
vote
1answer
55 views

Store Custom Data with Content Types Content Types

I have done a Custom DocID provider and I want to be able to specify a different format for the DocID for each Content Type. I have managed to add a custom action (using 30+ SharePoint Custom Actions ...
2
votes
2answers
265 views

Problem retracting custom fields

I have this project with custom field for a content type. When I deploy the first time after creating the new field everything is fine. Once i retract the solution my field is the only one left on ...