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)

0
votes
1answer
267 views

How to iterage through Message content type in Discussion list

I need to iterate through all the columns (default + custom) in Message content type in Discussion list. i have used this code: //select a single discussion (in this case, the first one), to view ...
3
votes
1answer
967 views

“No item exists at https://<internal_url>” after file upload when accessing the site externally

I have created a SharePoint 2010 site that is accessible both internally and externally. I have created alternate access mappings for https://<internal_url> (Extranet) and ...
2
votes
2answers
340 views

Can I create a template from a list?

Can I generate a word template, containing information from a list? Suppose I have a list containing "department addresses", and I want to generate letter heads for each department automatically, ...
0
votes
1answer
101 views

How to change boolean variation on document template

I've a bool (checkbox field) as a template field, and it shows true - if checked - and false - if not - on the template field content and I want to show up different display text. what's the best way ...
1
vote
1answer
2k views

Find content types for given column

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfield.listsfieldusedin.aspx $web = Get-SPWeb http://”sitecollectionurl” $column = $web.Fields[“Column Display Name”] ...
1
vote
0answers
691 views

Add files to document library based on content types

Okay, I am using following powershell script to add files to document library. Initially, the library only had built in content type "Documents". But now its another content type "Link to a Document". ...
1
vote
1answer
790 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
1answer
102 views

Description of site content types ignored?

I created site content type element and write some text into Description attribute. I deploy it (as farm solution). When I look at this content type in Site Content types section, I found that ...
1
vote
0answers
146 views

applying a managed meta-data column to a content type vs adding it to a view

Hello this is my first question on here so please be gentle. i have just provisioned a new document content type called GCDocument (whose parent is document) along with some new fields, such as a ...
4
votes
1answer
282 views

Assigning Icons to Content types

I have added a couple of content types that inherit from "folder" and some other from "item" (and each other, but they're not the issue). How can I, if that's possible at all, set another icon for my ...
1
vote
1answer
158 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 ...
2
votes
1answer
2k views

How to add required column comments in library Sharepoint Fundation

I try to add required column "comments" in library but I have problem, when I add column and I check in "Require that this column contains information:" when I try to save this file (.doc) I don't see ...
0
votes
2answers
519 views

How is content type inheritance set?

I am building a WCM site. I have a custom Content Type for my pages, set at the Site Collection level. When I create a sub site, however, that content type is not present in the Document Library ...
1
vote
2answers
185 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
463 views

How does Content Type Inheritance interact with retention policies?

Are there any issues with defining retention policies on a hierarchy of custom Content Types? I want to be able to define retention policies in a flexible manner, with a root Content Type that has the ...
1
vote
1answer
2k 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 ...
1
vote
0answers
55 views

Removing System Content Types

I have deployed a Content Type Hub which has my organization's "Primitive" Content Types. These types are obviously inherited from the System Content Types (Document, Item, Announcement, etc..). Now, ...
0
votes
1answer
398 views

How to move content within fields in a page layout?

I'm working on a requirement where I'm adding a few fields in an already existing Page Layout and also renaming all the fields. After adding the fields via code,I want to move content within fields ...
1
vote
1answer
1k views

How to update all elements child of a Content Type programmatically

when (by web interface) user access to a content type (in site settings -> content types) and adds or remove a column there is a flag near the end that says something like: "Update all content types ...
7
votes
1answer
5k views

Can't hide the title column in a custom content type

I'm building a custom content type. I've set a bunch of site columns I add to the content type. The content type is used in a custom list definition within a ContentTypeRef node. I'm also willing to ...
3
votes
2answers
796 views

How to change the Type icon of a particular content Type

I'm creating some Content Types... Is there any way to put inside the XML the information to describe the Icon of a Specific content type? Something that overrides the document type or the folder ...
1
vote
2answers
509 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 ...
0
votes
1answer
367 views

Problem Updating Item of a Certain Content Type (deriving from Folder)

I'm encountering some problems updating some items in my Event Handler. I have a Document Library in which I have folders, items and folder of content type PRATICA, which derives from folder and has ...
1
vote
2answers
6k 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 ...
2
votes
2answers
474 views

Is it possible to use powershell to change the content type of a page layout after its been uploaded to a masterpage gallery?

Im trying to automate as much of the upgrade I am working on and one of the manual steps is to change the page layout of 5 root webs of site collections, each of which has to have this new page layout ...
2
votes
5answers
6k views

Creating Document with workflow: The file test.docx cannot be opened because there are problems with the contents

I have a document library with two custom content types. If I use the web interface and choose New Document -> MyCustomType the document template opens up and I can create and modify the document and ...
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 ...
0
votes
1answer
75 views

Content type is not creating Parent properly

I am trying to create generic content type creation using following code. // Create a Content Type Information object ContentTypeCreationInformation _customcontenttype = new ...
1
vote
1answer
136 views

Getting library field parameters when inherited from a site column

The SetUp I have created 3 site columns. All set to not required fields. I have added these site columns to a content type. This content type I have added to a document library. The document library ...
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 ...
0
votes
1answer
370 views

Infopath Publish as Content type an Reusable workflow

Does anyone have any good links to web tutorials that demostrate how to publish and Infopath Form as a content type and then attach a reuasble workflow to the form?
2
votes
1answer
657 views

How to create Item of a particular Content Type from Ribbon

I have a document library which has two custom types linked to it. From UI I have two buttons to add that items.. I have two simple "ribbon button" and I want to use that to create the new Item from ...
0
votes
1answer
252 views

Custom Site Content type is not getting mapped for the required taxonomy field

I have a custom project site template which is coded in c#.net VS 2010, I have deployed the projects related to the project site template into central admin through VS After deploying the solution I ...
1
vote
1answer
499 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 ...
0
votes
0answers
65 views

MOSS 2007 Sort a dropdown content column globally

I have a content type which requires all documents to be categorized by a dropdown box. Is there a way to sort the options that are displayed?
0
votes
1answer
212 views

Change form based on content type

I have a list which have several content types attached to it. When you click on new item I want a dropdown box to appear where you can change the content type and it then changes the fields that can ...
1
vote
2answers
346 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
0answers
1k views

An item with the same key has already been added when trying to recover my list using Linq (SPMetal)

I have a problem with my application SharePoint. The problem is that I added a List in my SharePoint site (directly in SharePoint), then I used SPMetal LINQ to generate a File in which I can recover ...
3
votes
3answers
11k views

How do I programatically change the content type of an existing file?

Is there some way to change the content type of a file using PowerShell? Ideally I'd like to write a function that one would point at a specific document library and it would pull down an array of ...
0
votes
2answers
77 views

Access title-element

I've created a contentype that inherits from the item contenttype. So the contenttype automaticaly has the field: Title. But how access this field (I want to add some custom validation and define if ...
0
votes
1answer
175 views

Leaving Content Type behind on solution retraction?

At first, I'm wondering if this would be a good idea, at all... However, I have a project (http://sharepointadlds.codeplex.com) that creates two Content Types as well as two Lists in Central ...
0
votes
3answers
764 views

Content type reference

I implemented content type for workflow tasks. <ContentType ID="0x010801004D0E4ACA1A34472887F7CCD678E5F48C" Name="$Resources:file,name;" Group="Custom Content Types" ...
4
votes
3answers
4k views

New site columns are not being completely propagated to a content type in a site collection

We're working on a SharePoint 2010 publishing site that has been deployed to our client's environment. We need to add 5 new site columns and add them to one of the content types (that's based on ...
0
votes
2answers
114 views

update content-type

I've got a simple question, but don't know how to solve the problem. What's the best way to update an already deployed content-type? I want to keep the lists, that already use my old one, but need to ...
0
votes
1answer
110 views

MOSS 2007 Links List Changing Automatically

Whenever I post a link to an external site, for some reason SharePoint changes the domain name to the server domain name. E.g. If I post google.com/new-url, it will change it to mysite.com/new-url. ...
0
votes
3answers
2k views

How do I query items that are sourced in another site collection?

I have a set of site collections (call it 'Personals'). Each of these site collections has a page on the root site that wants to display a feed of 'announcements'. These 'announcements' need to be ...
1
vote
1answer
369 views

Crawled Property with accountname of “Person or Group” Site Column in SharePoint 2010

I created a custom content type that includes a custom site column "Owner" of type "Person or Group". Now i need the accountname/login name (for exc. domain\usera) as a crawled property to include it ...
1
vote
3answers
6k views

Custom lists and mandatory 'Title' field

I've just successfully followed this tutorial: http://msdn.microsoft.com/en-us/library/ff728096.aspx Not the best tutorial, but it's all working nevertheless. My question is, now that I've managed ...
1
vote
1answer
122 views

What happens to content if you remove content's dependency?

Dependency may not be the right word here - but basically my question is regarding what happens to the data inside a sharepoint content database if that data was created, for example, by using a ...
1
vote
0answers
247 views

How to update content type document template from templates list?

I have a single list at SharePoint root that contains document templates for content types (C scenario). This works and the template is being associated to child content types in lists. Now i added ...