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
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
347 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
1k 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
378 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 ...
1
vote
2answers
5k 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 ...
1
vote
2answers
236 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 ...
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
2k 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
4answers
7k views

Create a link to “New Document” template link

I'm simply looking to create a link on my home page that goes directly to the button that you click to open a new instance of the template you created in your content type. If I described that wrong, ...
1
vote
1answer
68 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
631 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 ...
1
vote
3answers
394 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
553 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
700 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
530 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
520 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
1answer
6k views

The file name you specified could not be used. It may be the name of an existing file or directory

SPContentTypeCollection listctc = list.ContentTypes; In that line,. I am getting this error: Invalid file name. The file name you specified could not be used. It may be the name of an existing ...
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
86 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
2k 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
305 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
603 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
534 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
669 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
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
548 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
30 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
2answers
75 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
59 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
29 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
3answers
66 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
2answers
154 views

More than one Pages library?

We have requirements where we need to add multiple pages libraries on a site, but this seems impossible to do via both the GUI and code. Is it all possible / supported ?
1
vote
1answer
39 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
44 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
34 views

What does this page represent?

I am sure this is a really simple question, but can anyone tell me what this page represents? I know it is not my site collection page nor is it central administration. The reason I am asking is ...
1
vote
1answer
20 views

Are use of folders detrimental to the use of content types?

Background: I have rather recently taken over the use of the document center aspect of our intranet from a colleague who has moved on to better things. Our organization consists of a number of ...
1
vote
1answer
58 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
3answers
221 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
105 views

Showing all newform.aspx of a certain content type in a dynamic list

How can I provide the following solution? on the 'home page' of a site collection, query all lists with a certain content type ('eForms') each list entry will be a link to the 'newform.aspx' of that ...
1
vote
1answer
1k views

Custom form for Content Type is being ignored

There seems to be a bunch of ways to add custom forms to list and libraries but the easiest way seems to be to specify it in the Elements.xml file that defines a given ContentType. (If this ...
1
vote
1answer
467 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
3answers
44 views

Will “New Document” menu work with 75+ Content Types?

Got a document library into which we are preparing to add about 75 content types. Current business environment prevents me from subdividing the library into separate parts, and the many ...