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
334 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
0answers
408 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 ...
2
votes
0answers
411 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 ...
2
votes
0answers
961 views

SharePoint List with multiple content types and the datasheet view

According to this thread. SharePoint 2010 does not "support" using the datasheet view with multiple content types configured anymore. But maybe somebody knows a workaround for my problem: I have a ...
2
votes
1answer
138 views

Specify a custom content type when publishing forms to a form library?

I'm on a project that use a lot of infopath form published in form libraries. I'd like to create a query to retrieve all forms filled in a site collection (to create a global dashboard) but restricted ...
2
votes
0answers
275 views

Custom XML Document Content Type with ASP.NET Forms in MOSS 2007/WSS 3.0 [closed]

I'd like to create a custom content type in SharePoint 2007 (WSS 3.0) that inherits from the existing XML Document content type (i.e. an InfoPath form) but I want to use custom ASP.NET forms to edit ...
1
vote
3answers
2k views

Custom lists and mandatory 'Title' field

I've just successfully followed this tutorial: http://msdn.microsoft.com/en-us/library/ff728096.aspx Not the best tutorial, but it's all working nevertheless. My question is, now that I've managed ...
1
vote
6answers
8k 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 ...
1
vote
2answers
1k views

Multiline fields not working

I have the following content type definition and list definition, the description field should show me 4 lines, maxlength 255, but it always shows me One line one. <?xml version="1.0" ...
1
vote
3answers
6k views

How do I programatically change the content type of an existing file?

Is there some way to change the content type of a file using PowerShell? Ideally I'd like to write a function that one would point at a specific document library and it would pull down an array of ...
1
vote
1answer
1k 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 ...
1
vote
1answer
6k 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 ...
1
vote
2answers
316 views

Tool to create ContentType CAML

Are there any good tools to create the CAML required for ContentTypes? I'm building most of my content types in Visual Studio.
1
vote
2answers
143 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 ...
1
vote
3answers
2k 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 ...
1
vote
3answers
4k views

How do I determine where a content type is being used?

Months ago I made a content type that inherits from the Announcement type. I thought I put it in just three sites to test the content query web part, but I can't delete the type. How can I see which ...
1
vote
3answers
868 views

Problem making fields 'required' when provisioning using XML

I am provisioning a SharePoint site column using the object model and an xml string as follows: using (SPSite site = new SPSite("http://myserver")) { using (SPWeb web = ...
1
vote
1answer
2k views

Making items in a custom list form “clickable”

I've got a display form for a list in Sharepoint 2010. I've added a second list which is related and added a section to my form using "Related Item View" in Sharepoint Designer. Since the related ...
1
vote
4answers
6k views

SharePoint search not indexing contents of document libraries

I have a strange problem where the MS Word documents my documemt libraries are not being indexed. When i look at the crawl log i can see that the crawl is indexing the libraries themselves but not any ...
1
vote
2answers
226 views

Custom sitecolumns can't update

I have made a ContentType in Visual Studio 2010 for my SharePoint 2010 project and the first time I deployed the wsp through the WSPBuilder there were no troubles but now every time I try to deploy, ...
1
vote
3answers
795 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 ...
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 ...
1
vote
2answers
3k 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
3answers
70 views

Get list items only from a certain user

I would like to get all the items that were made by the user who's logged in on page_load. I have something like that right now: SPWeb shpWeb = SPContext.Current.Web; SPUser ...
1
vote
1answer
124 views

Adding “Title” column again to SharePoint list

One of my user accidentally deleted "Title" column from a list. This list contains huge amount of data because of which we cannot recreate it. When I tried adding a new field with name "Title" ...
1
vote
2answers
397 views

Custom list definition using OOB Site column causing problem

I have a custom list definition where i want to use the OOB URL site column plus a site column that i created in another list definition. When i do it and try to display the All Items view it says it ...
1
vote
2answers
320 views

How to hide / remove / rename “Name” propertie from folders

I have a content Type that inheritate from Folder (named F_CT) to content my other type elements (I_CT)... When I Click to create a new F_CT Sharepoint asks me how all the F_CT fields and "Name" as it ...
1
vote
3answers
3k views

Creating Document with workflow: The file test.docx cannot be opened because there are problems with the contents

I have a document library with two custom content types. If I use the web interface and choose New Document -> MyCustomType the document template opens up and I can create and modify the document and ...
1
vote
2answers
1k views

Create content type, site columns, list and list instance

I want to create 3 site columns, then 1 content type with the new 3 columns. Then a list template based on the content type, and then a list instance. I was going to create a new visual studio ...
1
vote
1answer
81 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 ...
1
vote
5answers
1k 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 ...
1
vote
2answers
2k views

Open Document Content Type from SharePoint 2010 Library with perfect trust

I just created Document Content Type and then create new document from New Document. I got the popup "Some files can harm your computer. If the file information below looks suspicious, or you do not ...
1
vote
2answers
244 views

What are the implications of manually changing a Content Type?

If a Content Type was deployed using a feature and someone makes manually changes it through the UI (e.g. adding a column), are there any implications? Does the content type become unghosted? Are ...
1
vote
1answer
459 views

Creating New Content Types - Parent- Child Sites

In my site I am creating a new site and subsites. We have a main site that we want to collect the different Projects (parent) and have the subsites have the project information along with other ...
1
vote
2answers
506 views

What to do when a Site Column name is already being used?

I'm running into a situation where a Site Collection has several sub sites. Each sub site has data related to a particular geographical region. When trying to create content types / site columns for ...
1
vote
3answers
644 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 ...
1
vote
3answers
575 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 ...
1
vote
3answers
4k 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
3answers
529 views

Hide ContentTypes based on ListItem value

Users seems to have a hard time picking the right document template when the "New" list contains more then 50 items. As one of lists on the web contains a SPChoiceField it should be possible to limit ...
1
vote
1answer
91 views

Showing all newform.aspx of a certain content type in a dynamic list

How can I provide the following solution? on the 'home page' of a site collection, query all lists with a certain content type ('eForms') each list entry will be a link to the 'newform.aspx' of that ...
1
vote
3answers
38 views

Will “New Document” menu work with 75+ Content Types?

Got a document library into which we are preparing to add about 75 content types. Current business environment prevents me from subdividing the library into separate parts, and the many ...
1
vote
1answer
113 views

What is the order in which Custom field type,Fields,Content type,List definition are creating?

I am creating a custom field type, Content type and List definition. I have a custom field type inheriting from Multicolumn value and I am adding new fields of my custom type to my new ...
1
vote
2answers
3k views

How to change site collection URL (Content Type Hub) in Managed Metadata service application

in Application Management -> Manage Service Applications -> Managed Metadata Service. Select manage metadata service and click properties. In properties window, I have added Site collection URL for ...
1
vote
2answers
301 views

How to check if a list content type has its link broken from the site collection content type definition

Its very clear to me that content types after they are deployed their inherited lists shouldnt be changed manually using the web gui. “Do not, under any circumstances, update the content type ...
1
vote
1answer
371 views

Add column to a Content Type which is associated content type of Page Layout, PL not updated

All I do below is with Visual Studio 2010. I cannot use Sharepoint Designer because I don't have the right to do it. I have a Content Type, which is the associated content type of a page layout. They ...
1
vote
2answers
73 views

Use media content types on a publishing page

I'm trying to make a new publishing page that can use either Images, Video or Audio. I'we already made one that uses the PublishingWebControls:RichImageField but cant find equivalents for video and ...
1
vote
1answer
489 views

External content type from SQL stored procedure with EXEC

I'm trying to create an external content type from a stored procedure. I'm hitting one problem, when creating a Read List Operation, though: The wizard is not able to find any return parameters (see ...
1
vote
1answer
189 views

Can't find a site column that DOES apparently exist

Well I've deployed a site column from my xml definition and upto now it's been fine. I then checked my content type (after some unexpected errors) and it's removed itself from the content type and is ...
1
vote
1answer
151 views

Non-global fields for custom content types?

I've been tasked with creating a fairly complex system in sharepoint 2010. Coming from a background of from-scratch .NET applications, I'm used to defining tables with their own "local" columns. My ...
1
vote
2answers
4k views

How to create custom EditForm and DisplayForm for custom content type?

I have developed a custom ASPX SharePoint application page using Visual Studio. I would like to use that page as the EditForm and DisplayForm for the custom content type. At the moment, my page is ...