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)

2
votes
1answer
663 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
788 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
382 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
293 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
114 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
200 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
249 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
148 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
256 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
386 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
466 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
167 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
113 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
200 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
675 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
486 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
144 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
1k 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
224 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
166 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
564 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
879 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
234 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
8k 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
293 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 ...
0
votes
1answer
345 views

Customized Data View Forms with Content Types

I have a list with 2 content types attached. I need to customize the new item form for both content types using SharePoint Designer customizations. The default content type works great and submits the ...
1
vote
1answer
878 views

How to define a computed column

I'm creating a custom content type in I need two fields Submitter and Date Uploaded which would have the same values are CreatedBy and Created How do I define it? I have the following definition ...
2
votes
1answer
2k views

Can't delete content type

How do you remove a content type? I created a content type at the site collection level, used it for a few lists, deleted the lists, cleared them from their site's Recycle Bin, and it still says The ...
2
votes
2answers
2k views

Content Type Hub push Content Types with Inherit=FALSE

We're deploying our custom content types to the content type hub with a feature. The content type with Inherits="TRUE" gets published to the subscriber sites without a problem. However for all content ...
0
votes
1answer
165 views

Find out feature version for list's content type

I have a feature which contains a custom content type. I've created a list based on this content type then proceeded into changing the feature version and performing an upgrade. I have ...
0
votes
0answers
326 views

SharePoint Doc Library won't check out docs for editing [closed]

This issue has me stumped; any idea would be appreciated. This is relating to SharePoint 2010 and MS Word 2010. Situation: Doc library in SharePoint is using custom content types and has several ...
1
vote
2answers
926 views

Manage Content Types in Site Pages library

Is it possible to manage content types for the Site Pages library in the browser? If this is not possible, what's the rationale that this can be done in nearly every library and list, but not Site ...
3
votes
1answer
440 views

Will lists inherit the edit form from it's Custom Content Type?

I have created a custom content type and I would like to have all lists that use that content type use it's edit/new forms. Below is the XML i have in my Elements.xml file: <?xml version="1.0" ...
2
votes
2answers
260 views

Content Type Created By, Created On, Last Modified

I'm looking to determine who created a content type and when. The standard page for a content type does not provide this information. Can someone direct me to where I can find this information in ...