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
98 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
3answers
39 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
129 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
100 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
4k views

How to change site collection URL (Content Type Hub) in Managed Metadata service application

in Application Management -> Manage Service Applications -> Managed Metadata Service. Select manage metadata service and click properties. In properties window, I have added Site collection URL for ...
1
vote
2answers
364 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
438 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
88 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
534 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
154 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
4k 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
1k 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
382 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
353 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
642 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
131 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
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
786 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
582 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
438 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
903 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
17 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
52 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
1answer
99 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
38 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
109 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
76 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
121 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
80 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
122 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
996 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
141 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
1k 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
2answers
132 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
1answer
1k 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
946 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
1k 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
400 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
518 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
367 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
331 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
122 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
302 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
340 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
183 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 ...