set of columns and behaviour applied to lists

learn more… | top users | synonyms (1)

0
votes
2answers
358 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 ...
0
votes
0answers
43 views

Add Content Type to Additional Filter in Content Query

Additional Filters in Content Query no longer has content type to filter on. Any ideas how I can custom add it to the web part.
2
votes
3answers
555 views

What is the best way to provision Content Types and managed metadata columns in SharePoint 2010

What is the best way of provisioning ContentTypes, Columns and Metadata columns in SharePoint. Keeping in mind that we have two approaches of 1) SP object Model and CAML (declarative way). Which ...
0
votes
1answer
398 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 ...
2
votes
1answer
178 views

SharePoint Framework for Programmatically creating Fields, ContentTypes etc

I am looking for a SharePoint Framework/API which can be used to programmatically create Artifacts like Fields, Lists, ContentTypes etc using SP 2010 Object Model. The objectives are: Provide ...
0
votes
1answer
1k views

Setting file Content Type using Client Objects

Setting the Content type the same way as setting other metadata fields does not work in ClientObjects. Anybody knows why? Here is what I do, and works for other columns: var fci = new ...
0
votes
1answer
373 views

Why is the associated lookup field not on the dispform.aspx?

I have three lists: Events (calendar) Customer1 (custom list from scratch) Customer2 (custom list from template) When I added the lookup of Customer1's ID and added the associated field "Title," ...
1
vote
2answers
300 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) ...
0
votes
1answer
254 views

List of Sub Sites and Workspaces

I would like to create a list of Project Sites and links to pages, on the Projects site. To contents of Sites and Workspaces. This process should be automatic when you establish a new project site, ...
1
vote
0answers
262 views

Adding/removing items to/from a DropDownChoiceField

I can't seem to manipulate the items displayed in a DropDownChoiceField I have that's tied to a field on the custom content type with big, really frustrating problems. This field is only visible in ...
2
votes
1answer
882 views

Calculated column on Start Date in Calendar List Not working

In SharePoint Server 2010, I have a standard calendar list created with an attached custom content type. I'm simply trying to create a calculated column on the event's start date in the content type ...
0
votes
1answer
202 views

How to assign programatically an InfoPath XSN to a Content Type

I had some content types and some XSN infopath files... I can link it by web interface and this works well but I must do this connection during feature activated event... So... Is there any code to ...
0
votes
3answers
1k views

Display Calculated Field as link

in a custom ListDefinition I used a calculated field to format a Text into an URL. I'm developping in VisualStudio2010 for SP2010. Here is my ListDefinition: <Fields> <Field ...
0
votes
1answer
110 views

How do I add a new ContentType using Feature Upgrading?

I have created a new Content Type. How do I publish it using Update-SPSolution and feature upgrading? I added the following Code to my Feature Manifest: <UpgradeActions> <VersionRange ...
0
votes
1answer
291 views

Document Template - Columns from Content Type

I have a custom content type that inherits from the document content type, and has 10 columns (single line of text). A document template has been added to the content type from my local documents. ...
0
votes
0answers
27 views

Possible to show description on publishingwebcontrol?

As title says, on a publishing web control (in edit mode) where it would typically display the display name - I want it to display the content type field description instead. FYI - this is a ...
3
votes
3answers
2k views

Trying to hide the title column the sharepoint way

I am currently just messing around with defining lists via the elements.xml Content Type <?xml version="1.0" encoding="utf-8"?> <Elements ...
0
votes
1answer
1k views

Error Message - Field type Int is not installed properly. Go to the list settings page to delete this field

I saw similar post on SO but it didn't worked out for me. I've created a List Definition project in VS. On one of the fields I set type to Int instead of Integer, and tried to deploy List Definition. ...
0
votes
1answer
496 views

Sharepoint 2007 lookup column

I have a site dropdown column using a list as the datasource (lookup). I was looking for a way to have the column be both required and have a default blank value. I read that is is not possible ...
1
vote
1answer
373 views

How bind a custom ContentType with activity CreateTaskWithContentType ?

When I create a task with activity "CreateTaskWithContentType", I can't bind a custom ContentType with the list "Tasks". For the moment I try to bind my CT with the correct path in properties ...
1
vote
1answer
161 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'> ...
0
votes
1answer
187 views

Field required in Content type, but not in my list

I don't know why but when I try to bind a list with my content type, fields having a status to "Required" in my content type are not Required at all in my List. I'm binding the field with this ...
0
votes
1answer
424 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 ...
0
votes
1answer
235 views

Problem tying textfield to a content type field

I have a SharePointWebControls:TextField control on the page. It's tied to a field that has been defined as normal in the xml (I've gone through this with a fine tooth comb so I'm 99.999% sure the ...
0
votes
1answer
162 views

How do I make Title property mandatory on a custom content type?

As title says, I want to use the standard SharePoint Title property, but I need to make it mandatory. It's not an option to do this through the 'Documents' settings of the UI, I need to define it as ...
0
votes
1answer
51 views

How to add extra custom content type to Contacts based ListInstance

I am trying to build a custom ListInstance for deployment in Visual Studio. It should be based on the Contacts template so it can be opened in/linked to Outlook, but I also want to add two other ...
1
vote
1answer
520 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 ...
0
votes
0answers
139 views

List Definition with Managed Metadata field disposes the SPWeb

I have encountered a very strange behaviour twice now, on 2 different SharePoint Server 2010 installations over the last year (I cannot state excatly which CU but fairly recent versions). When I have ...
2
votes
1answer
156 views

Add content types programmatically into SPList takes too long

I've dozens of CTypes to add to an SPList programmatically (cause content types are provided by CTH) and each oSPList.ContentTypes.Add() takes almost 1sec. Is there any other approach ou code ...
1
vote
1answer
381 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 ...
0
votes
1answer
117 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
446 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
284 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
60 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 ...
0
votes
1answer
598 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
421 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
405 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
89 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 ...
0
votes
0answers
621 views

Changed the URL for Content Type Hub but new URL not showing site Content Types of the original hub

SUMMARY: I am trying to change my Content Type Hub site collection to a new site collection which has CTHub as part of the URL (i.e. now that I know a bit more, I thought this should be part of the ...
1
vote
0answers
128 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 ...
1
vote
0answers
159 views

Assigning Icons to Content types

I'm new to sharepoint and really hoping someone can help. Right now 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 ...
1
vote
1answer
133 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
357 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
162 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
123 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.
0
votes
1answer
208 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
903 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
47 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
194 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
560 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 ...

1 3 4 5 6 7 12