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

How to make Title READONLY in custom list

If I set the title field to Read only (since I will calculate it based upon other values) in the ListAdded Event handler, when i open up a form for creating a new item i get an error. Event ...
1
vote
2answers
2k views

Reorder Content Type Columns

I have a custom content type with some custom site columns. I can't find anywhere to reorder the columns for the content type. How can this be done in Sharepoint Designer 2010? Thanks.
1
vote
2answers
487 views

Don't show custom content types when click on New

Business users don't want to show the content type when a user goes to the list/doc lib and clicks on new drop down. I used contypeType.Hidden = true; but it did not work. ...
1
vote
2answers
964 views

Attaching an Event Handler to only one content type or list

Could someone help and explain how I can attach an event handler on a custom content type or a particular list? Currently, when I deploy my event handler as a feature and activate the feature, it is ...
1
vote
1answer
21 views

How to create an multipurpose event receiver

I want to create an event receiver that I'll attach it to content types across 4 site collections. The content type is being made programmatically, so no XML definition. Also, I want to create an ...
1
vote
1answer
18 views

Cannot delete content type - possibly because it's referenced in SharePoint's UI

I created a content type to play around with. I created a publishing page based on this content type, but after deleting the page (and clearing the recycling bin) SharePoint won't let me delete it. ...
1
vote
1answer
44 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
51 views

Content Type showing up in edit form?

I have a library with a couple of custom content types all inheriting from Document Set and in the edit form the Content Type field shows up. I would rather remove it because it doesn't make any sense ...
1
vote
1answer
56 views

Adding new site columns to my List, will result in having their Source field as blank inside the content type

I have added an Issue tracking list to my SharePoint team site 2013. Then I wanted to add 5 extra columns to my list . So I did the following:- I went to site settings. Then I added 5 new site ...
1
vote
1answer
44 views

Is it possible to add a different template to content type, after the content type has been used in a library?

My client has asked whether it's possible for them to add templates to a content type after the system has gone live. I'm wondering if any issues arise once a content type default template has been ...
1
vote
1answer
50 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 ...
1
vote
1answer
40 views

Content types hierarchy inside my Apps

I have added a simple Issue tracking list inside my team site, and it will get "Issue" content type. but i have noted the following is that the new Issue tracking list's content type will be absed on ...
1
vote
1answer
29 views

Create a new page with custom content type but a normal page is created

Sorry I am new to custom page content type and not sure what I have missed. I created a custom content type XPages by inherit of Pages content type. The only difference is I added a new column ...
1
vote
2answers
90 views

How to use nested If(AND,true,false) in a formula on SharePoint

My formula uses the values from two columns, Stage and Confidence, to calculate Probability of Close. The nested IF works well for calculating the IF statements (Stage = 0 thru 7), where the last ...
1
vote
1answer
618 views

Adding fields from multiple content types in an infopath list form- is this possible?

I'm building an infopath form to enter a request form for SharePoint 2013 (SP Online) using InfoPath 2013. There are different kinds of requests and corresponding questions (fields) related to those ...
1
vote
1answer
152 views

Upload file using JS and REST. Specify content type

I can upload file to SharePoint library using JS and REST. The content type of added file is as library default content type. How can i specify file content type when uploading file? Thanks!
1
vote
1answer
34 views

Content Types how to use them

I essentially want to put two forms into 1 list, some of the items they contain are the same and some are different. I'm not really sure how content types work. I essentially want first for the user ...
1
vote
2answers
1k views

add existing content type to document library

I get error message when I click on "Add from existing site content types" I want to add existing content type to this document library. Is there any powershell script for the same. Content type is ...
1
vote
1answer
182 views

Document Set allowed content types

I want to get all Content types of Document Set. I've used documentSet.ContentTypeTemplate.AllowedContentTypes.But it does not allow me to enumerate through. How to access the Content Types of ...
1
vote
2answers
51 views

Custom List without CreatedBy / ModifiedBy through WebUI/SPD/Javascript

Is it possible to create a truely anonymous list without the created by and modified by columns defaulted, like if someone wanted a suggestion box? Specifically is it possible to do this in SP2010 out ...
1
vote
1answer
893 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
955 views

Mass content type editing

I would like know how to change the content type of bulk files/multiple files as currently once I uploaded a quantity of files I'm only able to modify the content type one at a time. Moreover, is it ...
1
vote
1answer
353 views

Metadata Assigned to a Folder

Working in SP13. Is there a way to assign metadata if a document is moved into a folder in a document library? I already have folders with documents inside. If a user uploads a new document to the ...
1
vote
2answers
257 views

Programmatically pre-fill Document Information Panel

I have a document library, associated with a custom Content Type. I added a link on a page, creating a new document associated to this content type (via javascript CoreInvoke). When the document is ...
1
vote
1answer
106 views

How to AddItem with certain ContentTypeID using PowerShell

I am using PowerShell to add 100 items which need to be of a specific ContentType. (requirement) Test my custom events receiver using powershell. The test is to create a list with a custom content ...
1
vote
1answer
185 views

Field ShowInNewForm=“FALSE” Cannot Be Accessed In Code

I have a field for a custom document library, that must only be updated from code (event receiver) not from UI. So i set this field ShowInNewForm=“FALSE” and ShowInEditForm=“FALSE”. But this time, in ...
1
vote
2answers
2k views

Can I create Multiple forms assigned to multiple views for the same Sharepoint List?

I have a requirement where I need to render multiple views of the same list across my site collection, which is rather straightforward. However is it possible for me to create multiple forms ...
1
vote
1answer
238 views

how to create MySite & ContentType Hub in HNSC

I know how to implement Content Type Hub & MySite as Path-Based site collections (PBSC), but in case of implementing Host-Named site collection (HNSC), I have doubt. Can anyone guide me how to ...
1
vote
3answers
2k 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
3answers
194 views

Re-attach Event Receiver to library

Using SP 2010, we created a content type with an event receiver bound to the content type. The ER is an ItemDeleting ER that prevents deletes from the library. When we create a library and attach the ...
1
vote
4answers
1k views

How to remove Default “Document” CT from custom document Library

I have created document Library programmatically and add some custom Content Types to it. But I want to Delete/remove default "Document" content type from my document library. How i do that ? ...
1
vote
1answer
3k 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
1k views

Content type ID on a file different from actual content type ID?

Moving from "a sharepoint user" to "a sharepoint power user", I now am facing the world of Powershell and more. One thing that really puzzles me is the following. Ok, so I have a document library ...
1
vote
1answer
455 views

What is the purpose of SharePoint 2013 Site Content Type - “JavaScript Display Template”?

Under SharePoint 2013 Site Content Type - JavaScript Display Template Content Type is present, what is the purpose of the content type and how we use it?
1
vote
1answer
544 views

Document Library - Content Type selection ignored!

Not sure yet if something wrong on my Foundation installation or a new SP2013 bug. On SP2013 (didn't happen on SP2010!) - create new Document Library app and use Advanced Settings to set it to Manage ...
1
vote
1answer
553 views

Sharepoint Content-Types 0x01 0x0120

Was wondering if someone could point me in the direction of info that details what fields these content types add to my custom list. Was also curious if someone could explain what the Folder element ...
1
vote
2answers
424 views

Matching value from single line of text column to lookup column

I have a library containing a large amount of items. The library contains a column of type 'Single line of text' with a code in it. The code was taken from an external system and entered manually. ...
1
vote
1answer
180 views

Customactions not binding to content type

Facing a strange and frustrating issue just before Christmas :-( Heres the scenario: I've got a custom content type, list schema , the whole works all exported from another site using the Sharepoint ...
1
vote
1answer
501 views

Adding a content type to a list gives me a duplicate field error

I have the following code: list.ContentTypes.Add(contentType); It works on my dev environment, but on test fails with the following error: A duplicate field name "[GUID]" was found. I've had ...
1
vote
2answers
383 views

What are the Differences between These Content-type Properties?

In my portal, I have created a few infopath forms, and promoted properties in them. When I view the content-types in the site-collection's content-type library, I see that some of the fields are in ...
1
vote
2answers
220 views

How can I create a subfolder in a documentset of a custom contenttype?

I have a custom contenttype which inherits from documentset. Further for the custom contenttype exists a custom docsethomepage.aspx (WelcomePage). Now the problem is, if I create a subfolder ...
1
vote
1answer
2k views

Bind custom content type to Pages library

I have developed a custom content type and a custom page layout that is inheritted, in visual studio for my publishing site. I am setting the default page layout of the site programmatically, in event ...
1
vote
1answer
3k 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
199 views

Content Type adding and removing to a list: “ghost content type” problem

I have a problem with Content Types... I have houndreds of lists that has some content Type and a configuration list in which I store the content type to be attached to my custom list type. I have an ...
1
vote
1answer
135 views

Access exceptions when trying to add a content type to list

In the following method, 'list' is simply an SPList ("Documents"). I'm attempting to add ContentTypes to the list and then update it. This code is found in the FeatureActivated event of an event ...
1
vote
2answers
2k views

create content type from workflow task

I have been looking all over the internet for instructions on how to create a content type based off the Workflow Task type. Everything I have found thus far seems like it is incomplete or has gaps ...
1
vote
3answers
1k views

Define contenttype with list

I have defined my list definition as following: <List xmlns:ows="Microsoft SharePoint" Title="Requests List Definition" FolderCreation="FALSE" Direction="$Resources:Direction;" ...
1
vote
2answers
1k views

how to remove a published content type from subscribed site collections

I have a small Visual Studio 2010 project with one farm level feature that I deploy to a site collection which is configured as my content type hub. The FeatureActivated event adds a site column and ...
1
vote
2answers
815 views

Add field to content type in specific position

THe code below is working perfect, however I need the new field to be in the 5th position, and not at the end in the forms. Any idea how? private void UpdateDossierContentType(SPWeb parentWeb) ...
1
vote
1answer
423 views

How to specify content type when creating a list item using web services?

This is what I have tried so far: string newPageXml = String.Format(@"<Batch OnError='Continue'> <Method ID='1' Cmd='New'> ...