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
0answers
85 views

CQWP displays error when pointed at specific subweb

I wonder if anyone can help. I have a content type (FAQ) that I deploy in several different webs. I then use a CQWP to display all the FAQs used (aggregating them from different subwebs). This was ...
2
votes
1answer
254 views

Add content types programmatically into SPList takes too long

I've dozens of CTypes to add to an SPList programmatically (cause content types are provided by CTH) and each oSPList.ContentTypes.Add() takes almost 1sec. Is there any other approach ou code ...
2
votes
0answers
224 views

List Definition, disable modal dialog for View item form

I created two List Definitions with custom add\edit\view forms. Now I want to disable modal window only for "view form". I found solution where NavigateForFormsPages="TRUE" was used. But this ...
2
votes
2answers
262 views

Problem retracting custom fields

I have this project with custom field for a content type. When I deploy the first time after creating the new field everything is fine. Once i retract the solution my field is the only one left on ...
2
votes
2answers
269 views

Comments for Content Types

One piece of functionality I thought was oddly unincluded in SharePoint 2010 was the ability to create comment trails for content types other than blog posts and to a lesser extent discussion boards. ...
2
votes
0answers
88 views

Risk in inheriting from “Event” content type?

I'm looking to inherit from the "Event" content type (0x0102) to enrich the meta data associated with calendar items. OOTB it's hidden but I've found many blog posts talking about how to get round ...
2
votes
0answers
326 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
271 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
1answer
2k 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 ...
2
votes
1answer
379 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
442 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
428 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
1k 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
147 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
278 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
3k 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
7answers
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
7k 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
2answers
322 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
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 ...
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 ...
1
vote
3answers
5k 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
923 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
3answers
124 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
3k 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
228 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
893 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
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
54 views

Show in webpart a list of the titles of all lists from contenttype X?

I would like to add a webpart to my page with all the Titles of all my lists from contenttype X. How can I implement this? For example I have 4 lists which are using contenttype X: ListA ListB ListC ...
1
vote
1answer
196 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
486 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
365 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
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
83 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
260 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
500 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
517 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
651 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
608 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
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
3answers
536 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
39 views

Customlist with derived contenttype doesn't add new column from contenttype

I got a simple cusom list with some columns created in Visual Studio. these columns are from a contenttype (also created in visual studio too). It was asigned to it and works very well. I ...
1
vote
2answers
65 views

Content Types from Hub not showing up in sub site

I have the following web application MainWeb And within that application i can 2 site collections as follows / /sites/home I have created a Content Type Hub on my main site collection ("/") and ...
1
vote
1answer
81 views

How to get content types available to a library using the REST API?

Using the REST API, how would I go about obtaining the content types that are available in a specific library in SharePoint 2013? I am aware that I can get the content types of items from a list, but ...