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
2answers
139 views

How to download certain columns from an item?

I would like to download the metadata for an item. I don't want all the columns because SharePoint adds bunch of them, e.g. date, name, etc. that I don't need. I just want to download the columns for ...
2
votes
1answer
1k views

Content-type columns not showing

I have created a SharePoint project in Visual Studio 2010 using the SharePoint 2010 empty project template and have added a ContentType project item and populated the generated elements.xml with the ...
2
votes
1answer
5k views

Add new column to an already existing content type with a feature?

Is it possible, with Sharepoint 2007, to add new columns with a Feature to a content type that is already being used in some lists?
0
votes
2answers
624 views

SharePoint 2010 Content Type setting ShowInNewForm to FALSE not working

I'm trying to create a Content Type that derives from the default Task type in SharePoint 2010. I wan't to hide some of the fields from the new content type so they are not shown in the new form. I ...
0
votes
3answers
5k views

Can't delete site columns that aren't referenced

I just created a couple of site columns and content types that reference them through VS2010. I updated one of the fields and then tried to redeploy, but after retracting, deploy failed because the ...
1
vote
1answer
1k views

Content Type issue with the Discussion Board in SharePoint 2010?

I have changed the default content type from 'Discussion' to 'Message' is on the Discussion Board on SharePoint 2010 and reverted to its normal (Now, Discussion is the default content type). Now, If ...
1
vote
3answers
3k views

Content Type Hub Syndication and lookup site column within a content type

I am a content type which has to have a lookup field. I have created two exactly identical lists in hub site collection and the consumer site. Then I created the lookup site column and added to the ...
0
votes
1answer
650 views

Is it possible to replace EditForm.aspx for a Content Type with a custom aspx form page?

I am trying to create an aspx page for uploading a document to a document library where the documents are associated with a content type. (Rather than using the standard EditForm.aspx) My efforts ...
0
votes
1answer
2k views

How in master page to show/hide placeholder based on page layout content type?

How is the best approch to show / hide place holders which are in the Master Page based on which content type the Page Layout is associated with? In the design we have a right placeholder for all ...
1
vote
3answers
996 views

Are site columns and content types really worthwhile?

I started doing Sharepoint development by the book. From the very start I was taught, create A site column -> A content type -> A list definition -> A list instance. So the theory here is you have ...
0
votes
1answer
527 views

Re-order Content Types for a List in code

Has anyone been able to re-order content types for a list in code? If I'm given a specific content type, I want to make it the default in a list, by re-ordering the SPList.ContentTypes collection and ...
5
votes
4answers
9k views

Site Content Types screwed up. How to restore to default?

I need to change a root site's Item Content Type settings back to the default values. I also need to do this for all other Content Types that inherit from Item. Can someone recommend a safe an ...
3
votes
1answer
212 views

Why is this workflow to create a document from a custom content type just creating a blank document?

I have a document library with a custom (document) content type set as default (the only content type), and I've edited the template to use columns to populate the document. When I create a new ...
0
votes
2answers
334 views

What is the best way to reverse engineer a custom SharePoint list with custom content type?

What is the best way to reverse engineer a custom SharePoint List with a custom content type attached to it?
7
votes
2answers
7k views

How to adjust the title column in custom content type in SharePoint 2010?

I am creating a custom content type and it is working correctly with the exception of the Title column. My content type defination has the Title column added to the FieldRefs and I am trying to both ...
2
votes
1answer
902 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
658 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
416 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
817 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
118 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
444 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
630 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
766 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
1k 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
344 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
590 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
374 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
399 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 ...