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

Creation of a “Attend” button under each Event

I would like to ask if somebody could advise me how to create an "Attend" button in the Event form which appears when clicking on an Event. The goal is that there is a list of participants visible ...
2
votes
2answers
1k views

One list, multiple content types: wrong New Item forms

I have set up a list with two content types. When I click the New Item button, a dropdown is displayed which contains the two content types. So far so good. However, the forms behind those buttons are ...
2
votes
4answers
788 views

Document IDs on existing Lists with inherited Content Types not showing

I've got some existing lists that have custom content types inherited from the Document content type. I've activated the Document ID Service feature, and any new lists I create using the same content ...
2
votes
1answer
3k views

“Invalid Field Name” Exception when using Provisioning

I wanted to create a site template package. Instead of going with a custom site definition, I planned to go with the recommended "Provisioning Provider" technique. The solution was going just fine. ...
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
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 ...
2
votes
2answers
361 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() ...
2
votes
3answers
1k views

Can't seem to group by content type in document sets

I created two content types based on Document, no extra metadata, called Status Report and Timesheet. I then created a content type based on the Document Set called Project. Added a couple of site ...
2
votes
1answer
803 views

Content Type, document template and forms authentication

I have a custom content type defined, with a document template, similar to below: <ContentType ID="0x010100120A74C7DFDA4C6fA8C3E519B41F421E" Name="My Excel Library" Group="My ...
2
votes
0answers
52 views

Generic routing rule => Content type gets wrong value

We've about 100 content types. For 10 of those content types I've created a specific routing rule. The other 90 content types are catched by a routing rule with as content type our base content type ...
2
votes
1answer
20 views

How to display similar column from different Content Types as a single column in listview?

I have "Content Type A" and "Content Type B" both in a single Document Library. A has a column "A Status". B has a column "B Status". They are both "Choice" columns just with different choices. Is ...
2
votes
0answers
113 views

Updating an existing content type field link by JSOM

I have a content type and I would like to set some field links to hidden. The code runs perfectly, but for some reason, when I check in the UI if the field link is hidden, the changes are not applied. ...
2
votes
2answers
333 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
97 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
40 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
159 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
1answer
1k views

A duplicate field name “GUID” found when adding custom content type to custom list

I've created a custom list with one content type inherited from 'Schedule' (no additional fields). Now I need to add one more content type to the instance of that list in the feature activated event ...
2
votes
0answers
71 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
997 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
131 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
137 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
235 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
390 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
150 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
88 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
289 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
244 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
265 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
279 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
90 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
409 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
301 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
0answers
529 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
453 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
1answer
152 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
291 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
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
3answers
5k 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
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
345 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
6k 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
2answers
795 views

Remove content type from “New” item options?

I need to migrate some values into SharePoint that would have useless values for our system going forward. I'm using a content type called "Old Request" solely so that they can have different columns ...
1
vote
3answers
360 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
1k 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 ...