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
796 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
361 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
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
4answers
6k 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
67 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
481 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
354 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
480 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
680 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
522 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
494 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
6answers
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
301 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
584 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
529 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
667 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
547 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
1answer
25 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
39 views

Is it possible to enable content types and use a document template?

I have a library that uses a document template, and this is essential to the process that uses the library. I want to enable content types so I can remove a certain field from the edit item and view ...
1
vote
2answers
63 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
37 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
40 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
1k 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
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
19 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
56 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
175 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
104 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
435 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
43 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 ...
1
vote
1answer
217 views

What is the order in which Custom field type,Fields,Content type,List definition are creating?

I am creating a custom field type, Content type and List definition. I have a custom field type inheriting from Multicolumn value and I am adding new fields of my custom type to my new ...
1
vote
1answer
168 views

How to add multi-key querystring to custom content type's custom form url?

I have a custom content type, inheriting from the WorkflowTask content type. I've configured the content type to point to a custom form, but the URLs are not working properly. <ContentType ...
1
vote
1answer
660 views

Add column to a Content Type which is associated content type of Page Layout, PL not updated

All I do below is with Visual Studio 2010. I cannot use Sharepoint Designer because I don't have the right to do it. I have a Content Type, which is the associated content type of a page layout. They ...
1
vote
2answers
104 views

Use media content types on a publishing page

I'm trying to make a new publishing page that can use either Images, Video or Audio. I'we already made one that uses the PublishingWebControls:RichImageField but cant find equivalents for video and ...
1
vote
1answer
753 views

External content type from SQL stored procedure with EXEC

I'm trying to create an external content type from a stored procedure. I'm hitting one problem, when creating a Read List Operation, though: The wizard is not able to find any return parameters (see ...
1
vote
1answer
156 views

Non-global fields for custom content types?

I've been tasked with creating a fairly complex system in sharepoint 2010. Coming from a background of from-scratch .NET applications, I'm used to defining tables with their own "local" columns. My ...
1
vote
2answers
5k 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
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
1answer
482 views

Dispose issue when working with content types

I am seeing an issue with un-disposed SPRequest objects in the ULS logs when i work with content types in the object model. My code is as follows (in previous methods run as part of this request, the ...
1
vote
3answers
391 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
3answers
3k views

Content Type Feature Activation nativehr 0x80070055

After building a solution and feature to deploy a set of content types I was able to successfully activate the feature and use the content types. However after making some changes and redeploying and ...