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)

1
vote
3answers
10k 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

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
2answers
359 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
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" encoding="...
1
vote
1answer
3k 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
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 = site....
1
vote
1answer
5k views

How to get all items with a specific content type using REST Api

There are five Custom Lists in a site collection, all have same content type. I would like to get all items from those five lists using rest api. Is there a way to get all items from all lists having ...
1
vote
2answers
146 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
4k 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
2answers
89 views

why my custom site column have 2 different internal names on the Site Level & on the List level

I have created a site column of type "People or Group" and i name it "Software Development Risk/Issue Owner". now i added this site column inside multiple lists. now i find this confusing issue. when ...
1
vote
2answers
3k views

SharePoint 2013 - How to remove content type from library

I accidentally associated a content type to a library, but now realize that it does not need to be a part of this library. I cannot find any setting to remove this content type (not delete it), from ...
1
vote
3answers
611 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
2k 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
7k 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 ...
1
vote
2answers
7k views

The workflow could not create the list item?

I would be grateful for any help/pointers I am getting “The workflow could not create the list item. Make sure the list exists and the user has permissions to add items to the list.” My scenario I’...
1
vote
2answers
240 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
2answers
2k 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 question:...
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

Find usages of content type

I'm trying to delete a content type but it tells me to remove all references of it before doing so. But I don't remember all the places where I have referenced it. Is there a easy way to find them? ...
1
vote
3answers
231 views

Remove item Content Type from custom list

I have created through Visual Studio a Content Type that inherits from Item and a custom list using this content type. What I would like is to remove the item content type that appears when creating a ...
1
vote
1answer
69 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
3answers
582 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
815 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
1answer
5k views

How to enforce metadata in document information panel in SP2010

My document library supports several custom content types. When "Add new document" is clicked, the Browse dialog for uploading the file is followed by the Document Information Panel which is properly ...
1
vote
2answers
790 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
705 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
4k 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
591 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
92 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
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
338 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
2answers
667 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
539 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
680 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
554 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
2answers
39 views

Changing list column to a choice

I have a list populated with content type ("TypeA") with a column (site column "ColB") that originally was a single line of text. I needed to change the column to a choice instead of a single line of ...
1
vote
1answer
14 views

Enabling content type management for SPList fails

I have the following code: oWeb.Update(); oWeb.Lists.Add("SampleList", "Some description", SPListTemplateType.GenericList); oWeb.Update(); oWeb.Lists["SampleList"].ContentTypesEnabled = true; ...
1
vote
1answer
66 views

How to change content type of several folders (or subfolders) at once in a document library?

I created several content types for folders to define custom default views depending on the content of the folders. However it is quite cumbersome if I need to click on Edit properties for each ...
1
vote
1answer
192 views

SP.ContentType.get_parent(), how to get name?

The code below works only to get SharePoint 2013 Foundation list content type and content type url, but I cant get the parent content type. It returns an object but when I try to access properties ...
1
vote
2answers
46 views

Share content types between site collections without Content Type Hub

Is it possible to share content types across site collections without the content type hub?
1
vote
1answer
332 views

PowerShell to delete FieldLinks for List Content Type in SP 2013

Want to know how to delete the fieldlinks for the content type. Write-Host "Deleted Redundant ACL Columns from List " $list " for web " $web.title $sitecols = @{"BU" = "BU";...
1
vote
3answers
721 views

Modifying a default value for hidden column will set it as optional instead of hidden

Sometimes you are faced with problems that you can not understand. Now I have a hidden column inside my Issue tracking list, which is used to store a series of string to be read by the list workflow. ...
1
vote
1answer
879 views

No valid proxy can be found to do this operation error while republishing the Content Type in Content Type Hub

I am getting this error "No valid proxy can be found to do this operation." when I republished the content types from my Content Type Hub. Usually it successfully republishes the updates from my ...
1
vote
1answer
34 views

Custom Content Type as List Column

Is it possible to create a custom list column whose type is a custom content type? Not just a column from that content type, but the whole item itself, or even a list of that content type? My goal ...
1
vote
1answer
148 views

Why Content types, from a hub, doesn't allow suscription to old site collections?

I had notice that in SharePoint Online, when I create a content type in the content type hub (http:/my.sharepoint.com/sites/contentTypeHub/), the site collections created before the content type never ...
1
vote
1answer
449 views

How to properly use lookup columns in content types in the content type hub

I created one content type called client in the content type hub. THen I created another content type called project on the content type hub, this one should have a lookup column to the client. As ...
1
vote
1answer
49 views

Provide a customer an upgradeable SharePoint solution containg content types, list templates and so on

currently I'm developing a SharePoint solution for a customer, which contains the following: A custom field type Two content types (one containing lookup fields to the list which is using the other ...
1
vote
2answers
60 views

Show the content type on view item

I have a list containing different content types. When I edit an item on the list, I get a dropdown listing all those content types so I can switch it if needed. Is it possible to have the content ...
1
vote
1answer
91 views

Are there any disadvantages of adding extra site columns directly to my List Content Type, instead of adding a new content type

I have added a new Issue tracking list , which is based on the build-in “Issue” content type. Then I need 5 extra columns to be used , so I did the following:- I went to "Site setting">>"site ...