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
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
441 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
699 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
457 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
492 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
2answers
326 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
692 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 ...
2
votes
1answer
876 views

Using tokens in custom list forms

I am deploying a list using Visual Studio 2010 that is based on a content type I created. The list also uses custom new/edit/display forms whcih I created using SharePoint Designer. I achieve this all ...
2
votes
0answers
419 views

NullReference when creating custom page

I am trying to display content in a formatted, custom page in SP10. I created a content type, I'll call BobType, which uses "Page" as the parent (actually, i've tried it with "Enterprise Wiki Page" ...
2
votes
2answers
304 views

Get ContentTypeOrder of a specific folder using CAML and/or SharePoint web services

I am trying to get the ContentTypeOrder of a specific folder using SharePoint web services and caml queries. I am using the GetListItems() method of the Lists.asmx web service. The resulting xml ...
2
votes
2answers
1k views

Best way to copy content from one SharePoint instance to another?

I need to migrate approximately 20k documents from one SharePoint instance to another. These documents are broken up into about 6 content types in the source instance and will be going into 4 ...
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 ...
2
votes
2answers
122 views

Content Type Issue while migrating from SP 2007 to SP 2010

I have migrated a content Database from SP 2007 to 2010. When i check the list settings, i can see that it has been associated with a content type . But when i check it in the site content type ...
1
vote
0answers
209 views

My custom form isn't saving lookup fields

I have a list with two content types. I've created two custom forms for creating new items (because one field I don't want until the 'edit' form). One works great. The other one doesn't. What's ...
0
votes
1answer
254 views

Me Filter Issue

I have added the following field to a custom list definition based on custom content type. <Field Type="User" DisplayName="Line Manager" List="UserInfo" Required="FALSE" ...
4
votes
2answers
3k views

Parent content type

In SharePoint 2010, is there any chance to create a parent content type? If so, how? I want to create a new parent content type and inherit it for other types.
2
votes
2answers
161 views

Creation of a “Attend” button under each Event

I would like to ask if somebody could advise me how to create an "Attend" button in the Event form which appears when clicking on an Event. The goal is that there is a list of participants visible ...
2
votes
1answer
261 views

How to remove/hide the title field from a list

I am creating custom list and do not want to use the title. I know I can rename, but I do not want to do that. Some weeks ago I did do this (but have forgotten!!). I went to advanced settings, ...
0
votes
3answers
469 views

Sharepoint contenttype columns -> types

Does anybody have a list of all internal "type" names of contenttype - columns in SP2010? I am creating a custom contenttype in VS and really don't have an idea where to get them from. I already ...
1
vote
1answer
508 views

Inserting Modified field into Word documents

I am trying to insert the Modified metadata field into the Word documents using Quick parts but I can't see the field in field lists. How can I add this field to any Word document by using content ...
1
vote
1answer
174 views

Can I create a content type that incorporates multiple files and an image?

The SharePoint 2010 content type I would like to create is a "Logo", which has a thumbnail image and 2 files associated with (a JPG and an EPS file). As I understand it, I can't have a site column of ...
2
votes
1answer
3k views

Workflow create task with content type - Custom Forms in InfoPath

I know it's possible to customize the forms of workflow tasks but is it possible to have them customized also for "CreateTaskWithContentType" component, not just for "CreateTask"? I had a try of ...
0
votes
1answer
116 views

Aggregating lists based on content type

We've got some lists that we plan to aggregate using a content query web part (CQWP) later, using a custom content type. The content type will be used on numerous sites within a site collection, but ...
1
vote
2answers
206 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
756 views

How can I filter SPHierarchyDataSourceControl Datasource by Content Type [duplicate]

I am trying to display only Document Libraries using SPTreeView control. I am providing SPHierarchyDataSourceControl with ShowDocLibChildrent = true as a datasource to spTreeView control. But this ...
3
votes
2answers
575 views

Publish contenttype after activating feature (Office 365)

I've created a Contenttype and some fields in a visual studio project. They are deployed when activating the "Content types"-feature. But here's the problem: I want them to be deployed to the Content ...
1
vote
0answers
153 views

Document library - problem with document link

I'm trying to create a database of files, which will mostly contain *.zip packages with SCORM. This packages will be stored in remote location and I'd like to provide only links for them. SharePoints ...
0
votes
1answer
203 views

lookup field to display content types

Is there a way to add a lookup field column to display all the content types sitting at the site collection level?
1
vote
1answer
38 views

Can I be notified when a content type is added to a list in 2010?

Not too much to add, but I'd like to be notified of when a content type has been added or removed from the content types associated with a list. Is this possible?
0
votes
1answer
2k views

Summary Task in Task List - Display Name

Hello I have a Task List, and I want to add items to it programaticaly in C#. I have a problem with adding a summary task. Now I figured out how to add such item: var myList = ...
19
votes
3answers
2k 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 ...
1
vote
2answers
144 views

What does Microsoft mean when they say “built-in type”?

I am working on a custom content type and I have a little bit of confusion over how the Inherits attribute of the ContentType element works. I had read in their documentation that: If Inherits is ...
0
votes
1answer
225 views

Changed the “Site URL” associated with my Visual Studio project and can no longer deploy?

I had been working with a custom content type in one of my development site collections and everything was working fine. I then tried setting the "Site URL" in my project I started getting this ...
1
vote
1answer
86 views

Aggregate Content Types

What's the best way to support aggregate data structures using content types? For example, if I have an order processing system, then I might have data types like Order and OrderLineItem, where each ...
0
votes
2answers
170 views

Content Type usages

The following code just gives me the URL of the site collection. However I need to be able to determine which list is using this content type. Do I need iterate through splistitemcollection? $site = ...
0
votes
1answer
1k views

Can fieldrefs in content type definitions change the internal name of a site column?

I have a content type that references a built-in site column like this: <Elements ...> <ContentType ...> <FieldRefs> <!-- a reference to the built-in ...
1
vote
2answers
1k views

Get all items from custom content type in Fast Search

I want to get all items of a custom content type while using fast search. I want to use keyword search but i also could use fql. Can somebody show me how to do this in code? I'm getting restults for ...
1
vote
1answer
2k views

Folder creation with custom folder content type

I have my own folder content type inherited from base Folder content type. I am trying to create folders based on my own content type programmatically without success. I change ...
1
vote
2answers
611 views

Set ContentType Mandatory FieldRef

I have the following ContentType Elements.xml file in a visual studio project. I need the ArticleStartDate to be mandatory/required. When the deployment happens the field is not required. I can't ...
2
votes
1answer
962 views

Custom Inerited Note Field 255 character limit and no HTML for Editing?

Two issues I have with the same column type. Using Sharepoint 2010. I created a custom Content Type (for use as news articles content Type) and added a couple of custom columns. I have a issue ...
1
vote
1answer
242 views

Custom FieldType - Constructor on type not found

We have a SharePoint 2007 solution with a custom Field Type. We have now upgraded to 2010 and find when deploying a ContentType with a reference to the custom field type we get the following error ...
0
votes
1answer
2k views

How to get folder structure including items from list, without using webservices

I have a list containing folders and items. The folders are a custom content type based on folders, with some extra columns like URL and some Yes/No Checks. One contenttype can contain n items and ...
6
votes
1answer
3k views

Choice field changed - How to propagate the change down to all lists that used it?

I have a feature (Web scoped) with a content type which contains a field (Type="Choice"). Values were A, B and C. I've created a list based on this content type and added some elements in it. I ...
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 ...
3
votes
1answer
9k 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 ...
0
votes
1answer
320 views

Custom List Definitions - Remove the standard create item menu option

I'm creating a custom list definition in SharePoint 2010 by following this article. It works well but I need to remove the default create list item option and only keep that for Bug Item. How can ...