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)

3
votes
1answer
299 views

How to Search custom columns for a content type and display in SPGridView

I have a custom task content type based on the task content type which has a custom priority column, custom assigned to column etc. There are many instances of the task list in multiple site ...
3
votes
3answers
6k views

Content type ordering or making it default ct

The following is updated code from Ton Stegeman and it works. private static void AddContentType(SPWeb web, SPList spList, string ctName) { if (web.AvailableContentTypes[(ctName)] != ...
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 ...
2
votes
1answer
24 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
2answers
718 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
667 views

Can't update SPField through PowerShell - object has been updated by another user since it was last fetched

I get the following error when trying to update the choices for a Site Column: "The object has been updated by another user since it was last fetched." I get this error if I try to add a new choice ...
2
votes
4answers
947 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
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 ...
2
votes
2answers
4k 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 ...
2
votes
3answers
7k 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
2answers
71 views

Create New Document Without Opening

I have a document library with custom content type (template). When I click the "new" button in the library it lets me to choose the template for new document or folder (default functionality). Then ...
1
vote
2answers
63 views

Document Content Types into Custom List

I am sure this is the way but don't know why it's acting funny. Created a custom list. The idea is to be able to upload documents into the custom list library. If I create a custom list and add a ...
1
vote
2answers
112 views

How can I query a List for different ContentTypes?

I am developing a console application to extract data from a SharePoint 2013 server using the .NET client object model of the SharePoint Server 2013 Client Components SDK: using (var clientContext = ...
1
vote
1answer
589 views

PreSaveAction on a ListInstance with a custom ContentType

Everything I've read about PreSaveAction requires me to edit the NewForm or EditForm to add the reference into the form. However, given my list is created from Visual Studio using a custom content ...
1
vote
0answers
39 views

Management of two content types in same list through access

I have 2 content types in the same list. Some fields are in 1st content type, some in the second and some are shared. I defined a default content type. When i open with access and try to enter a line ...
1
vote
3answers
3k views

Dynamically hide column list item if the field is empty

I have a series of fields that I would like NOT to appear in my list dispForm.aspx. So when a user creates a new list item if these fields are unpopulated the do not appear DispForm.aspx but I still ...
1
vote
2answers
6k views

Removing Content Type: already in use even if removed from all lists

I'm facing a problem with content Types. I added a content type to thousands of lists, added items that uses that CT and now I want to remove it.. The steps I followed are theese: Removed every ...
1
vote
1answer
3k views

Create a folder structure in a discussion board

How can I create a folder structure in a discussion board? I have already tried this solution: 1) Create a new Site Content Type say called 'Thread Folder' based on the Folder Content Type with ...
1
vote
2answers
2k views

Custom SharePoint 2010 Documentset contenttype

I'm working on a custom contenttype of the type Documentset. I want to set the alllowed contenttypes, but this is not working, it's only showing the defeult document. I read several blogs but i can't ...
1
vote
3answers
437 views

How to access documents with in a custom content type of Document Set

I have a Library, which stores document sets (the content type here is a documentset which contains more than one word document). Currently I can to get the items from the library using the below code ...
1
vote
1answer
580 views

Ignore content type on search

I have several content type names. I want to remove one from being indexed so that it doesnt show on my refinement panel
1
vote
2answers
222 views

Creating Custom List Forms for Creating, Editing, or Displaying a List Item

I'm following this article (as well as different MSDN pages) and trying to add some custom template forms to my content type. I think I'm doing all by the book, but for some reason wont deploy my ...
1
vote
1answer
1k views

Updating a content type via feature receiver at the list definition level

Problem is I am trying to update a content type (created within a list definition, going into a new list instance) and it is not liking the ID I pass in code. I tried passing JUST the child ID, ...
1
vote
2answers
3k views

Can't change title field display name

I'm using visual studio to develop custom content type, which uses Element as base content type. I'd like to change title field's display name, by doing so: <FieldRef ...
1
vote
3answers
5k views

SP 2010, Is it possible to set permissions at Content Type Level

Say I have a document Library "TravelRequests" and five different content types associated with library. Is there a way to apply permission for a given content type "ManagerCT"? When managers are ...
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, ...
0
votes
0answers
67 views

Content Type Subscriber has its last run = N/A

I tried to publish some content types inside my site collection hub, but the content types were not published correctly, as they did not appear under custom content types at the other site ...
0
votes
6answers
2k views

Enable/Disable Button On Ribbon When Content Type Selected

I have created a custom action button that appears on the DisplayForm for a specific content type. On the list view I would also like to enable the button but only when the specific content type is ...
0
votes
1answer
328 views

Different sets of options in a lookup or choice column depending on the content type

I have a list content type and other content types that derive from it. I need to add a lookup or choice column to the content type (or the list itself) just so that each child content type or list ...
0
votes
1answer
334 views

csom javascript get Document Libraries with particular Content Type

I need to filter result to particular content types fo document library. I cannot seem to retrieve the content type of library. How is this possible. When I try with oList.get_contentTypes() object ...
0
votes
2answers
2k views

Create Custom Content Type using Client Object Model

I need to create custom content type from a given guid for a SharePoint site using Client Object Model. However, in the constructor of ContentTypeId ctid = new ContentTypeId() there is no facility ...
0
votes
2answers
997 views

Choose Username column in Content-Type

In my portal I have two lists. One (we'll call it the people-list) is a list of people's first and last names and their username (person column) if they have one. I have created a content type that ...
0
votes
1answer
387 views

How to provision OOTB CTs (Audio, Video and Image) to Custom WebTemplate

I want to provision Out of the Box CTs Audio, Video and Image to my Custom Web Template which is based on "BDR#0" in SharePoint 2013. How i do this ? Should i need to provision some feature to my ...
0
votes
1answer
2k views

How can I add button to ribbon that visible only for specific content type?

I have document library and i want to add button that will be visible only for my content type: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- Parent ContentType: ...
0
votes
1answer
607 views

Pages list, content types and custom field display names

While investigating SPList multiple content types - "Column does not exist" error, I discovered something odd. Background: I'm using the SharePoint Publishing feature I have a custom ...
0
votes
0answers
2k views

SPList multiple content types - “Column does not exist” error

I'm using the Publishing feature of SharePoint. I have a custom Content Type that inherits from the ArticlePage Content Type, and is bound to the Pages list of a given site. My custom Content Type ...
0
votes
1answer
4k views

Error Message - Field type Int is not installed properly. Go to the list settings page to delete this field

I saw similar post on SO but it didn't worked out for me. I've created a List Definition project in VS. On one of the fields I set type to Int instead of Integer, and tried to deploy List Definition. ...
0
votes
1answer
620 views

Deploy document library with multiple content type

I have a Document Library definition that I added to the solution. I want to include multiple content types for this Document Library: one that inherits from Folder and one that inherits from ...
0
votes
4answers
353 views

Is there a flag/property to identify custom content types?

Is there a flag / property to identify custom content types in SharePoint 2010 ? I know when creating new content types its possible to put them in a group (for exc. custom content types), but is it ...
0
votes
1answer
988 views

Event Receiver for onitemdeleting attached to content type firing on all content types

I have an event receiver on item deleting which is being activated through code, the following is my code: SPContentType myContentType = web.ContentTypes["abc"]; //class where event receiver methods ...
0
votes
1answer
452 views

Hide option to create meeting workspaces for new sites created

I already know how to iterate over all sites in a site collection and hide the option to create meeting workspaces. http://pastie.org/3349098 This will work however for already created sites. What ...
0
votes
5answers
2k views

Can't deploy custom content type

I have an content type in my feature, and sudenly when I tried to debug my feature, i got the following error: Error occurred in deployment step 'Activate Features': The content type with Id ...
0
votes
1answer
899 views

Extending Survey Content Type

Does anyone know of a limitation that would prevent a developer from creating a new Content using the Survey Content Type as a base? We are hoping to add a few columns to that base Survey List.