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
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
386 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
410 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
671 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
210 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
3answers
218 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
416 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
686 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
479 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
807 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
842 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
616 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
933 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 ...
4
votes
2answers
11k views

Why isn't “Column ordering” available in my list settings?

I want to change the column order visible when viewing or editing a list item. I have accessed the "Column ordering" interface via the list settings page on other lists in the past, but it isn't ...
0
votes
1answer
397 views

Hide option to create meeting workspaces for new sites created

I already know how to iterate over all sites in a site collection and hide the option to create meeting workspaces. http://pastie.org/3349098 This will work however for already created sites. What ...
2
votes
2answers
279 views

Comments for Content Types

One piece of functionality I thought was oddly unincluded in SharePoint 2010 was the ability to create comment trails for content types other than blog posts and to a lesser extent discussion boards. ...
3
votes
1answer
310 views

Content Deployment job failing because of mismatched feature versions

I have content deployment (using database snapshots) configured between an authoring and production SharePoint 2010 environment. I have a feature called PublishingContent_ContentTypes which I ...
2
votes
1answer
3k views

Making items in a custom list form “clickable”

I've got a display form for a list in Sharepoint 2010. I've added a second list which is related and added a section to my form using "Related Item View" in Sharepoint Designer. Since the related ...
2
votes
0answers
90 views

Risk in inheriting from “Event” content type?

I'm looking to inherit from the "Event" content type (0x0102) to enrich the meta data associated with calendar items. OOTB it's hidden but I've found many blog posts talking about how to get round ...
1
vote
2answers
1k views

Default Field values are not selected when changing content type

When I change the content type of an item in my list through "Edit Item" option, some additional fields are rendered at the bottom of the form (These fields are part of new content type) However, the ...
5
votes
2answers
85 views

Update a list item in moss2007

i have a list with Column name Reported By.It is a choice field.When adding a new item to the list the current user name also should be added to the Reported By column's field.It should be the first ...
1
vote
0answers
104 views

Manage content and structure copy page is not setting same content type on target page list item

In SharePoint you have the ability to copy pages from one list to another. I have a page in list 1 which is set to use the Page content type. When I copy this same page to list 2 (same web) it copies ...
0
votes
1answer
52 views

Data first in SP, then in External database?

I have a customer with a customer database which represent projects. The DB only manage approved projects. I'm working on an application than have to works with project in both early stages (project ...
7
votes
1answer
2k views

Create a Document Library Item base on a ContentType with JavaScript Object Model (JSOM)

I'm trying to create a new item in my Entreprise Wiki Pages Document Library. It's associated with a News Content type. I was able to retrieve the SP.List object (myList), the SP.ContentType object ...
1
vote
1answer
2k views

Use of QuickParts in Word Templates in combination with Site Content Types

Situation: A Site ContentType (CT): Report (Parent = Document) A Word Template is attached to the report CT 1 root site with several subsites (A, B, C) Every subsite contains a library with the ...
3
votes
1answer
422 views

Why Is My Content Type Replaced With a List Instance Detail When I Deploy My Project in Visual Studio, but Not When I Deploy it Manually?

I'm doing something that I think is pretty typical. I've created a content type, descended from Document, to go into a document library, like so: <?xml version="1.0" encoding="utf-8"?> ...
3
votes
2answers
670 views

How to make Add new Item link to navigate to Custom Form

I have made Custom Content Type, and List Definition from that Content Type. What I'm trying to do now, is create custom display/edit/add forms for List Item, and when user clicks on Add New Item, ...
1
vote
1answer
452 views

How to create link to create a custom content type in Site Actions menu?

I am new in SP2010 and I want to ask if anyone knows how to do the following. I have made some new custom content types based in the Article page (Publishing page) and assigned new layouts to them. Is ...
1
vote
1answer
2k views

How to resolve “A duplicate contenet type name…” error for project with custom content types?

I have a project that I have been using to deploy a custom content type. Recently i decided that I needed another content type that would inherit from the original one. I created a new element file, ...
6
votes
4answers
11k views

SharePoint 2010 Get Content Type Programmatically

I've created several content types that inherit from the document content type in the site content type lists. Please refer to the image below: How do I get these these content types ...
0
votes
2answers
466 views

What to put onto sharepoint?

I am employed by a medium size company in financial the area with approx 10 areas.. Compliance, IT, Sales.. I've built around 14 subsites to allow document storage and each subsite has 6 indentical ...
14
votes
8answers
5k 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 ...
0
votes
1answer
313 views

Media Field not showing up in Site Column list

I have installed Sharepoint 2010 Enterprise with SP1. I created a new Web Application, and in it a Publishing Site collection. I created a new Content Type and am trying to add a new column of type ...
2
votes
1answer
681 views

How to reference a column in another content type?

In simplified form: I have two content types representing documents and folders. Thus, content type MyFolder has parent type Folder, content type MyDocument has parent type Document. What I want to ...
3
votes
2answers
1k views

Nested (inherited) content type and inherits false in 2010

I can't find a CAML based solution to the following problem, I appreciate that if I created/edited the content type using the object model it would probably be OK but for this situation I need to use ...