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
1answer
323 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
339 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
2answers
2k 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 ...
1
vote
2answers
609 views

Changing PublishingPage.Layout doesn't change the content type?

I'm trying to update the Layout of the default.aspx page in my SharePoint publishing site and although the Layout does get updated, the ContentType of the page does not. Anyone have any ideas? Based ...
1
vote
1answer
123 views

creating content types with Out-of-Box vs Server Object models

Are there any advantages in creating content type using out of box vs visual studios?
1
vote
1answer
1k views

Creating a new ContentType with Document as base using Client Object Model

It would appear that the Client Object Model only retrieves user-defined content types as part of the ContentTypes property for a given web. I would like to create a new content type using Document as ...
1
vote
2answers
4k views

Why isn't “Column ordering” available in my list settings?

I want to change the column order visible when viewing or editing a list item. I have accessed the "Column ordering" interface via the list settings page on other lists in the past, but it isn't ...
1
vote
1answer
1k views

How to resolve “A duplicate contenet type name…” error for project with custom content types?

I have a project that I have been using to deploy a custom content type. Recently i decided that I needed another content type that would inherit from the original one. I created a new element file, ...
1
vote
2answers
655 views

Manage Content Types in Site Pages library

Is it possible to manage content types for the Site Pages library in the browser? If this is not possible, what's the rationale that this can be done in nearly every library and list, but not Site ...
1
vote
2answers
2k views

Best method to bind content types to a list?

Where should I "bind" content types to my list? I need to bind two different custom content types. I tried to do it in the list definition but the changes did not take affect. Doing it next to the ...
1
vote
2answers
540 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
1k 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
421 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
873 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
24 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
30 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
2answers
32 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
31 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
46 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
60 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
72 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
92 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
1answer
83 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
2answers
391 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
101 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
1answer
589 views

Sharepoint 2013 - REST api - downloading file returns incorrect Content-Type

I made the following request to download a file from Sharepoint 2013 using REST api: GET ...
1
vote
3answers
728 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
1answer
903 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
1answer
920 views

Programmatically create a new document based on a content type template

As in the title, I need to programmatically create a new document based on a content type template. Does anyone know the best way to do this? Normally, to add files you use Web.Files.Add(), but all ...
1
vote
1answer
373 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
423 views

Issue with lookup column in subsite

I add lookup columns with a elements.xml file and like everyone else I had issues with them once deployed, i.e. "Get information from:" was empty for the lookup list. I found ...
1
vote
1answer
296 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
278 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
104 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
260 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
319 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
170 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
980 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
1k 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
166 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
89 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
1k 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
682 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
1answer
236 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'> ...
1
vote
1answer
528 views

Extending Content Types from Content Type Hub

I have defined a content type in content type hub. I would like to use this content type on a site (other than the hub) but also to extend it with an additional (lookup) column. Is it possible to do ...
1
vote
1answer
689 views

Hide content type on “Add new item” ribbon button in folder

I have a problem which concerns hiding content types in the "Add new item"-Ribbon-Button. In Visual Studio, I defined 2 custom content types (derived from the default folder content type) and a ...
1
vote
1answer
472 views

ContenTypes on List Definition not added

I've an ListDefinition with some references to existing Content Types (provided by CTH) but when the list is created the content types are not added. elements.xml <Elements ...
1
vote
1answer
586 views

Library ECB shows “Change New Button Order” for all users

We have a document library which has content type management enabled. The library allows two content types, one based on Document, the other on Document Set. We also have a custom action attached to ...
1
vote
2answers
153 views

Provision a file through a module (CAML) and choose its Content Type

How do you provision a file through a module (CAML) and choose its Content Type? Is it even possible? The normal behavior for a new item is to get the default content type.
1
vote
1answer
1k views

List Templates and Custom Contenttypes missing document template on list creation

I want to create a new document library definition for general use in our SharePoint environment. This new list has some predefined content-types. Users will add this list themselves one or more times ...