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

AddContentTypeField - cannot add field to Content Type

I have a list with content type in it. I'm trying to add a field to this content type so I can use it in the library. Here's I've added Elements.1.0.0.1.xml file to Content Type: <?xml ...
2
votes
1answer
90 views

Can I have multiple templates for a content type under “New Documents”?

I am a new SharePoint 2010 user. I have a situation where I need to add templates to a sharepoint library, so when a user selects "New Document" a list of templates displays. Multiple templates have ...
2
votes
1answer
38 views

HELP - Need to restore the Event Content Type in SP 2013

Hoping someone can help...accidentally deleted the "Start Date" and "End Date" site columns and screwed up the Event Content Type. Can it be restored?
2
votes
1answer
144 views

Change content type order via Javascript/ECMAscript

In my SharePoint-hosted app, I use javascript to apply a content type called "Order" to a list in my app. When users click "new item" to upload a document, I want that document to derive from my new ...
2
votes
0answers
69 views

Why the Required property of field is changing to false?

I created site column with Required="true". Then I created site content type and added my column to it . Then I created list, selected "Allow management of content types?" to "Yes" and added my ...
2
votes
2answers
807 views

Get content Type order in C#

I am building a web part that would be added to the bottom of every library view and would display the folder content types making it easy to create a new folder (rather than having to go to documents ...
2
votes
1answer
118 views

Ghost Column in Sharepoint by FieldRef deletion

Let me explain my situation. I have some Document Libaries that derives from some content type some columns. In some of these columns I have (by mistake) add two times the same columns with different ...
2
votes
0answers
125 views

How can I create a Enterprise Wiki pagelayout with a repeating content type?

So this is the situation: my customer wants to have a web service catalog in an Enterprise Wiki. Per service we need to store fields like: - service name - description - goal - status - version ...
2
votes
1answer
1k views

Event Receivers not added when installing wsp

I have a set of event receivers for a SharePoint 2010 content type and Library. Previously, these would install and automatically be activated when I ran a script to install the wsp solution. I dug ...
2
votes
1answer
223 views

ContentTypes and Site Columns via Visual Studio / CAML Query Updates broken

I've been using CAML queries to do list updates for quite some time, but recently they've stopped working, and I have no idea why. Even an extremely simple query seems to be failing. For example the ...
2
votes
1answer
343 views

Add content type from sandboxed solution to list definition (farm solution) does not work

I'm using a sandboxed solution from a 3rd party vendor which contains some site columns and a site content type. I want to add this content type to my document library definition in CAML. But when I ...
2
votes
1answer
130 views

Duplicate Save and Cancel buttons Document Library Edit Properties

I have duplicate edit and save buttons when I edit properties of a document in a document library. I copied this site from another using Manage Content and Structure. The original site did not have ...
2
votes
0answers
87 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
276 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
237 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
263 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
276 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
89 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
367 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
287 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
3k 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
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
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 ...
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 ...
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
148 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
287 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
4k 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
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 ...
1
vote
2answers
2k 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
1answer
2k 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
339 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
4answers
7k 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
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
1k 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
258 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
2answers
972 views

Difference between a content type and a list template

I understand that content type gives the definition for the set of fields in a list which can be reused while creating many other lists and a list template gets a copy of an existing list with or ...
1
vote
2answers
234 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
1k 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
63 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
2answers
192 views

Delete content type during feature dectivation

I want to delete content type programmatically on feature deactivation. I've wrote the code to perform deletion: SPSecurity.RunWithElevatedPrivileges(delegate() { using ...
1
vote
1answer
323 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
624 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
453 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
2answers
435 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 ...