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
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
229 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
358 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
15k 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
185 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
822 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
5k 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
115 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
113 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
463 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
9k 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
125 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
277 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
592 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
584 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
2k 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
265 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
2k 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
270 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
620 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
268 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 ...
3
votes
1answer
8k 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
4answers
1k 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
384 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
93 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
437 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
503 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 ...
5
votes
1answer
7k 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
816 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
215 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
353 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
580 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
4answers
4k 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
878 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
670 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
998 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
988 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
879 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
5k 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
138 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?