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
925 views

How do I set dynamic values for an SPFieldChoice?

I want to add choices programmatically to an SPFieldChoice so that its select box has values with Current Year - 5 to Current Year + 5. What is the best way to do this? Ex: 2005 2006 2007 ... ...
3
votes
1answer
1k views

How to remove the builtin “Item” Content Type from a list using powershell?

I have a custom content type and I added this content type to a list. I now want this list to only use the custom content type and I want to remove the built-in "Item" content type. I tried ...
1
vote
2answers
1k views

Get ContentTypeId In NewForm.aspx URL QueryString

I've been trying to access the ContentTypeId in the NewForm.aspx querystring. Knowing that will allow me to set up conditional statements to display information specific to a Content Type. My ...
0
votes
1answer
117 views

Customize Content Types In a List

I'm working on a SharePoint List that employs multiple Content Types. I would like to add a jQuery floating-draggable DIV containing information specific for each Content Type. I have successfully ...
1
vote
3answers
660 views

Sharepoint 2010 + ContentType + Multilingue Document Template

I like to know if is possible to associate multiple DocumentTemplates into a ContentType? I create a ContentType "MY_CONTENTTYPE", so if i have 3 documents with the same content but in 3 different ...
2
votes
1answer
2k views

How to search by content type?

How can you perform a search using content types. For example, I want to search for all documents having content type "ct1" and where the field "fld1" contains the word "finance"? Is this ...
0
votes
1answer
177 views

Override ClickTime javascript function for correct contentType links

I created a contentType in the calendar list and then I created a page with a week view for those contentType items. Now when someone clicks on a time slot to create a new item for the calendar it ...
1
vote
2answers
4k views

SP2010 Modal Dialog for Content Type “New” Form

When you create a new document set, you are presented with a modal dialog such as the following: I want to have this kind of "New Form" (modal) for my custom content type (with custom form). Now, ...
1
vote
1answer
3k views

No XsltListViewWebPart was found on this page

I've installed stand-alone SP2010 on Windows Server 2008 R2 - no problems during installation. I set up a content type that inherits the 'Page' type and added some new content type fields. I then ...
0
votes
1answer
427 views

Dynamic templates for content type?

How would I go about having dynamic templates for a content type? I have multiple language versions of one template document and I want the user to have the choice to select his preferred language ...
0
votes
2answers
843 views

How to delete Content Type drop down menu from EditForm.aspx

I am trying to delete Content Type drop down menu from EditForm.aspx but not able to do it? Any ideas? Pls shoot -saumil
1
vote
1answer
119 views

Create a SharePoint abstract parent content type

Is it possible to make a content type "abstract" in SharePoint 2010, i.e. users will only able to use the content types that inherit from the parent, and not create items/lists that use the base ...
1
vote
1answer
456 views

SharePoint Designer workflows don't reflect changes in content types

I've been trying to create a set of SharePoint Designer workflows for a WSS 3.0 site, and I can't make SPD see changes in the content types of the lists. Specificaly, I'm trying to use the Create ...
3
votes
3answers
2k views

How to efficiently deploy content types to a Content Type Hub

I have set up a Content Type Hub and tested the syndication is working correctly by creating a test content type and watching it be published to the client site. Then I deployed the content types I ...
1
vote
3answers
649 views

CrossListQueryInfo filtering on content type: no results

I'm trying to use CrossListQueryInfo to query all Pages Libraries (ServerTemplate 850) across the site collection for a particular custom content type. However, specifying the content type in the ...
0
votes
1answer
818 views

SharePoint Designer doesn't see changes in content type

I've changed a site content type and set it to update those that inherit from it. However, when I go to create a custom list form based on a list with one of those content types, SPD gives me the old ...
0
votes
3answers
3k views

Custom event receivers not recognised in a custom document set solution

I'm trying to do the following: I need the Document Set functionality of 2010, and I need to be able to add event receivers when a new document set is added, and when a new document is added to the ...
0
votes
2answers
250 views

Not Updating Folders Custom Content Type

Please help me urgent..! I have the following content types ShareDoc Document Program or Project Folder Secure Folder Folder I am creating nested folder in sharepoint document library in my ...
1
vote
2answers
150 views

Using CodePlex Feature Generator

I was just wonder whether any acutally used the feature generator from codeplex or not. I have following questions... Does it create good version (meaning not missing anything major from feature) ...
0
votes
1answer
2k views

Using parent/child lists as lookup column on a document library

I am using SharePoint Foundation and have created a parent and child list which both have a Title field. The child list has an additional lookup column to the parent list. This enables me to enter ...
0
votes
1answer
1k views

Creating ContentType using the native excel spreadsheet template in /Forms/template.xlsx

I've created a ContentType and I would like it to use the excel spreadsheet template, just like if I create a new document library with the excel spreadsheet template. This is SharePoint 2010. My ...
2
votes
2answers
350 views

document properties wiped out when saving a new version of office document

I use the SaveBinary() method of the SPFile class to save the new file to an existing document library item. The problem is, if this document library item is an Office document, the SaveBinary() ...
1
vote
1answer
247 views

limit visual studio workflow to base content type “document”

i want to limit my sharepoint 2010 workflow, which i developed in visual studio 2010, to the base content type "Document". Is there a way to accomplish that? i searched the sdk but have not found ...
0
votes
1answer
604 views

Title Columns shows up twice in the edit or new form

current setup: 1. Parent content type (PCT1) has 5 columns (including Title column) 2. Child content type (CCT1-A) inherites from PCT1 and adds 5 more columns (but child ct also comes with it's own ...
2
votes
1answer
2k views

Original creation date of word document

I have a word document created in, say, July 10 2010. When i upload it to sharepoint (say August 5, 2010) its creation date vaalue in sharepoint will be in Aug 5, 2010, and i can't find any trace of ...
0
votes
1answer
375 views

View/Edit document Properties from a Client Application

I want to view and edit the properties of a Document using a windows form: Is this feasible? To be more clear, when you click on "Edit Properties" for a document inside a Document Library in ...
2
votes
2answers
143 views

What are Content Types and what can I do with them?

I am following Wrox Book Sharepoint 2010 Professional Development. In chapter 9 (Electronic forms) they told me to create a training list with some columns - done. On chapter 12 (Workflows), they ...
6
votes
3answers
400 views

Ups and Downs of Content Type Creation Methods

There are several places online I've read to only create content types in feature XML. However, the reason for this seems to be to keep the content type as deployed in a feature. As I understand it, ...
6
votes
3answers
2k views

Content Type Inheritance

In simplified form, I have the following situation. A Parent content type <ContentType ID="0x0100db5b9dac9c5f4d098820f922eebf3b39" Name="Parent" Group="Example Content ...
1
vote
1answer
84 views

Does changing a column using Content Type affect whole site?

I was trying to remove 'Title' column from a list using content type after reading this article ...
3
votes
1answer
1k views

Trouble creating wiki page template for content types!

Just assumed it was as easy as creating a document content type but when I tried it for the first time, to my surprise I could not do it. Where do I download a wiki page template? Why can’t I just ...
0
votes
1answer
1k views

Add Document link in 2010 document libraries behaviour

I have created a new document library in moss 2010 and assigned a content type. When I choose the document ribbon tab and select new, I see the content type in the drop down for selection. If I ...
0
votes
1answer
112 views

Custom Content Type creation in a List

Is it possible to create a content type in such a way that Document Library, Task, Calendar & Discussion Board can be created in a single list? Does it require some hard core programming ? ...
0
votes
1answer
492 views

Add New Field to Every Content Type or Base Content Type

In our quest to handle some requirements to levelize the type of data users are adding to Sharepoint, we have come up with the idea that we need to add a choice field to all existing content types to ...
2
votes
2answers
3k views

Event receiver attached to content type via XmlDocuments ignored?

I have a content type defined in Elements.xml and I want to add an Event Receiver. My Elements.xml looks like this: <?xml version="1.0" encoding="utf-8"?> <Elements ...
14
votes
2answers
321 views

Do all Content Types require Site Columns?

I'm just wondering if Content Types are always only made out of Site Columns, or if it's possible to define Fields that only exist on that Content Type? (Like how you can add a custom Column to a ...
4
votes
2answers
3k views

Content Type vs Managed Metadata

Considering Content Types and Managed Metadata are two difference ways to add metadata to items I am having difficulty understanding how these two features play together. It seems to me many of the ...
5
votes
4answers
399 views

Better to try to reuse built-in site columns, or create your own?

I'm creating a client content type. One of the properties I want to store for each client is their postcode. I could create my own site column, say Client Postcode. But there's also a site column ...
1
vote
2answers
88 views

How to “Security Mark” webpages/printouts based on list/library content

I am currently in an environment where we are getting ready to fully deploy SharePoint (WSS 3) to several departments and divisions that have some documents that contain sensitive data. They also may ...
4
votes
3answers
877 views

Content Organizer in a Records Management Scenario for multiple Content Types

We are currently doing a POC for a client to use SharePoint 2010 for Records Managment. The client has around 200 content types, and a deep nested file plan of around 500 potential nodes. In order to ...
1
vote
2answers
368 views

How to insert an Item with content type Folder

I have a custom list with a custom content type inherited from the Folder content type. When I insert a new item in the list I do it like this: newItem["Name"] = "New Folder"; newItem["Content ...
1
vote
2answers
936 views

Attaching an Event Handler to only one content type or list

Could someone help and explain how I can attach an event handler on a custom content type or a particular list? Currently, when I deploy my event handler as a feature and activate the feature, it is ...
6
votes
3answers
211 views

Equivalent of a database table in SharePoint?

I'm making a Publishing site, and part of this site will display information about company products. We have a number of products, and each one should have its own description page. The description ...
1
vote
3answers
5k views

Custom Form Template is not being used in SharePoint 2010

I have tried to create a custom form template but without success. I have followed several tutorials but it still does not use the custom template. If I change the template id to override the ...
1
vote
7answers
9k views

Deploying columns with content types in Visual Studio 2010

I've written a feature that deploys new columns along with a content type containing the columns. The feature is Site scoped and written in Visual Studio 2010 to deploy to SharePoint 2010. When the ...
3
votes
3answers
3k views

Mysteries of the ContentType Inherits attribute

When defining content types in SharePoint 2010, there is a new Inherits attribute. According to the SDK: The value of this attribute determines whether the content type inherits fields from ...
0
votes
2answers
757 views

SPList.ContentTypes.EventReceivers returns NULL

I am trying to create a feature that uses the API for associating an ItemAdded event receiver to a Discussion List. I was associating the Event Receiver to the SPList, however, i don't want the event ...
1
vote
0answers
368 views

Folder Content type gets lost when using a list template

I created a new folder content type that has several columns of data and then created some folders in a list using the content type. I then created a list template and included content. When I created ...
2
votes
2answers
369 views

Defining using xml a content type, custom column and list instance in single feature

Is it possible to define a content type, a custom column, a list instance and associate the contenttype to the list using xml, all within the same feature or do they need to be seperated into seperate ...
3
votes
3answers
967 views

Content Type Column Removal

I have a few Content Types that inherit from a base Content Type. These are all wrapped up as part of my solution. I wondered, as it is possible to add additional columns to a child Content Type ...