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
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
1k 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
223 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
549 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
864 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
230 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
292 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
342 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
853 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
161 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
325 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
904 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 ...
2
votes
1answer
427 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
257 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 ...
1
vote
0answers
27 views

Changing Data Types

I want to change the data type on a field from text to multiline, Before I do, I want to know what to expect as in errors, or problems this may cause with the data already stored in that list? Please ...
2
votes
3answers
5k views

Content type not showing up after publishing to hub - what am I doing wrong?

Here are the steps I am taking Updating the existing MDS to enable hub (setting URI to a specific site collection) Update the content type in the site collection to be set to publish Run the timer ...
0
votes
2answers
252 views

in SharePoint 2010 why should I prefer to update content types in feature receivers rather than CAML

Why prefer this method? I just attempted to update a content type I created in a list definition via CAML and had no issues doing it. What is the reasoning behind this best practice?
1
vote
1answer
2k views

How do I set document metadata after upload via web services?

I am reading through this post Upload a file to SharePoint through the built-in web services where upload is done in WSS. I am using SP 2010. Is there a piece of code already posted here that will add ...
2
votes
2answers
1k views

One list, multiple content types: wrong New Item forms

I have set up a list with two content types. When I click the New Item button, a dropdown is displayed which contains the two content types. So far so good. However, the forms behind those buttons are ...
1
vote
1answer
1k views

Updating a content type via feature receiver at the list definition level

Problem is I am trying to update a content type (created within a list definition, going into a new list instance) and it is not liking the ID I pass in code. I tried passing JUST the child ID, ...
2
votes
2answers
4k views

Why is a workflow, which is associated with a content type, not associated with a document of that content type?

We have Sharepoint 2010 and MS Word 2007. I have the three default workflows (Collect Feedback, Approval, Collect Signatures) associated with a content type based on the document content type. When ...
1
vote
1answer
1k views

Content type ID management - how do I snag parent ID's with ease

What is the best way to pull off the retrieval of parent content type ID's for newly created content types. Do I literally have to open the XML for the parent content type to fetch this ID? Are ...
2
votes
0answers
486 views

Another issue with custom content type

I have and content type, which has Element as base type. I prepared two resource files to provide localization - AppDB.resx and AppDB.pl-PL.resx for Polish language. I also created custom fields with ...
0
votes
4answers
2k views

Can't deploy custom content type

I have an content type in my feature, and sudenly when I tried to debug my feature, i got the following error: Error occurred in deployment step 'Activate Features': The content type with Id ...
1
vote
4answers
7k views

Link to a Document by UNC

I've seen some old discussions about this but nothing current, so thought I'd throw it out there: Using MOSS/WSS 3.0, I'm looking for ways (without Visual Studio) to allow a new Link to a Document to ...
1
vote
2answers
3k views

Can't change title field display name

I'm using visual studio to develop custom content type, which uses Element as base content type. I'd like to change title field's display name, by doing so: <FieldRef ...
0
votes
3answers
270 views

Content type creation in visual studio - title field

I want to create content type based on Element content type, which has only one field - Title. I'd like to modify this field's display name. How can I find the GUID of title field from base content ...
1
vote
1answer
456 views

Unable to Customize EditForm.aspx with Document Sets in SharePoint 2010

I give...I am hoping someone has a good answer. I create a content type based on a Document Set (called A). I create a document library and allow this new custom content type to be added to the ...
1
vote
2answers
160 views

Contenttype for Documentset, site- and listcolumns

we created programmatically a contenttype for a documentset. In this contenttype are some other contenttypes for documents whic hare only allowed in the documentset-contenttyp. The ...
1
vote
5answers
2k views

One content type with multiple templates

I have a situation were I have to create multiple templates for one content type. I am aware that this can be achieved by creating multiple content type but I am trying to have multiple templates ...
3
votes
1answer
273 views

How to Search custom columns for a content type and display in SPGridView

I have a custom task content type based on the task content type which has a custom priority column, custom assigned to column etc. There are many instances of the task list in multiple site ...
3
votes
2answers
4k views

Problem with Sharepoint ContentTypeBinding and Lookup field

I have a problem with ContentTypeBinding when creating a new site. I have custom site template definition where I have referenced Publishing Server Feature, so list Pages is automatically created on ...
3
votes
2answers
219 views

Why are some of my content type columns grayed off?

Here's what my content looks like, currently. Some of the columns are grayed off for some reason, and I can't change their visible/hidden/required status. It only happens with Integer columns. If I ...
1
vote
3answers
4k views

SP 2010, Is it possible to set permissions at Content Type Level

Say I have a document Library "TravelRequests" and five different content types associated with library. Is there a way to apply permission for a given content type "ManagerCT"? When managers are ...
5
votes
4answers
543 views

SharePoint 2010 - One content type per Library?

I am working with a consultant on helping us with our SharePoint rollout. One of the things I am really trying to get my head around is that he is a big believer in having only one content type per ...
1
vote
2answers
3k views

Best method to bind content types to a list?

Where should I "bind" content types to my list? I need to bind two different custom content types. I tried to do it in the list definition but the changes did not take affect. Doing it next to the ...
2
votes
0answers
442 views

Content field not recognized on Page Layout

I'm using SharePoint Designer 2010 to create a custom page layout. I have a content type called "Web Part Page" and its parent is "Page" content type. I have several site columns associated with this ...
1
vote
1answer
68 views

SharePoint 2007 - library with list items

For an application that I'm working on, we have two separate content types - one based on Item and one based on Document. I'd like to create a container that houses both of these content types. I ...