Tagged Questions
6
votes
3answers
204 views
Best practice for deploying Site Columns and Content Type
What is the best practice for creating a site column or content type in SharePoint 2013? Is it still recommended to use farm solutions? I was hoping we could do something with the new app model, but ...
0
votes
1answer
70 views
Propagate Site Column Changes to Pages
Is there a way to change a SharePoint Image site column to enable the use of RichText, and then propagate that change across all sites of the site collection?
The issue I am experiencing is that ...
0
votes
1answer
47 views
Changing character limit on inherited column of custom content type
I've inherited the OOTB content type 'Announcement'.
I want to set a character limit on the 'Body' column for this particular child content type.
Is this possible/feasible or is this generally ...
0
votes
1answer
75 views
Why would a content type column not show up in library settings?
Background
I have a content type (CT2) with 7 site columns. CT2 inherits from CT1 which has 3 columns.
We are using CT2 in several document libraries.
In one document library
The columns for ...
0
votes
2answers
48 views
New column added to content type - not appearing on an item of that type
As title says, I have added a Site Column to an extisting Site Content Type. When looking at an item (it happens to be a page) that is of that content type, I can't see the new field. By 'looking at', ...
1
vote
2answers
75 views
A change to the 'required' value of a site column not reflected in content type
As title suggests, I had a site column defined in the xml of a content type.
The site column was required. I have just changed the definition of this field (it is not defined anywhere else in the ...
2
votes
1answer
163 views
ContentTypes and Site Columns via Visual Studio / CAML Query Updates broken
I've been using CAML queries to do list updates for quite some time, but recently they've stopped working, and I have no idea why. Even an extremely simple query seems to be failing. For example the ...
1
vote
3answers
399 views
How to set columns visible only in Display Form on a Column used by a Content Type
I have a column that we will call C. This Column is associated to a Content Type (CT).
If I go to the properties of the CT -> Column C I can set the column to be Facoltative or Hidden:
If I put it ...
0
votes
0answers
73 views
Projected Fields on Site Column not added to Document Library when Content Type Added
I have Site Column called PropertyDirectory that is a lookup on a List and I have checked several fields under the "Add a column to show each of these additional fields" section.
I also have a ...
2
votes
1answer
2k views
How to update a deployed content-type?
I created a content-type and applied it inside a document library. Now, if I go to the conent-type gallery and delete one of the fields, and then go back to the library and view the available ...
1
vote
2answers
164 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 ...
0
votes
1answer
133 views
ContentType.FieldLinks.Add() issue with hidden and required
I have a feature that does the following in the feature activation Code :
Creates a new SiteColumn (Type=Text, Hidden=False and Required =True)
Set the french version of the Name (using ...
2
votes
3answers
554 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
54 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
218 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
1answer
1k views
Moving site columns and content types between farms
I can't seem to find the codeplex solution that helps export site columns, content types and import back to another sc or farm.
Idea is to retain the guid for these. I know create wsp vs project is ...
3
votes
1answer
1k views
Set column order in contenttype
I've added some site columns with an xml file and also created my contenttype in the xml. After deploying, a feature creates a lookup to another list (with c# code).
How can I set te column order in ...
0
votes
1answer
190 views
Media Field not showing up in Site Column list
I have installed Sharepoint 2010 Enterprise with SP1. I created a new Web Application, and in it a Publishing Site collection. I created a new Content Type and am trying to add a new column of type ...
0
votes
1answer
99 views
Aggregating lists based on content type
We've got some lists that we plan to aggregate using a content query web part (CQWP) later, using a custom content type. The content type will be used on numerous sites within a site collection, but ...
0
votes
1answer
719 views
Can fieldrefs in content type definitions change the internal name of a site column?
I have a content type that references a built-in site column like this:
<Elements ...>
<ContentType ...>
<FieldRefs>
<!-- a reference to the built-in ...
1
vote
2answers
132 views
Contenttype for Documentset, site- and listcolumns
we created programmatically a contenttype for a documentset. In this contenttype are some other contenttypes for documents whic hare only allowed in the documentset-contenttyp. The ...
2
votes
0answers
349 views
Content field not recognized on Page Layout
I'm using SharePoint Designer 2010 to create a custom page layout.
I have a content type called "Web Part Page" and its parent is "Page" content type. I have several site columns associated with this ...
0
votes
2answers
173 views
How to add a site column to a site content type in a large environment?
How do I add an extra (site) column to a content type on a large environment (~500gb, loads of documents).
I've have tried using the UI but that failed halfway the operation due to a time-out. Now ...
1
vote
1answer
184 views
Centralising site columns
I'm fairly new to the SharePoint 2010 development world (I'm more of an infrastructure guy) so please bear with me.
We have a number of time zones we support and we would like to make these available ...
0
votes
1answer
219 views
ContentTypes and Site Column migration in SharePoint using web service [closed]
This question was originally asked by Tom Tucker here: http://stackoverflow.com/users/668950/tom
I am trying to migrate a content type from a sharepoint site in one environment to another. For this ...
0
votes
1answer
24 views
Will data be affected on dropping features
If I drop\delete features like SiteColumn, ContentType or ListDefinition which may be referred by sites to hold data. In such cases, will the data also get deleted?
1
vote
1answer
2k views
Deleting Site Columns and Content Types Programmatically
I have a feature that adds two site columns to a content type on activation. On deactivation it's supposed to delete them, but I'm getting the following error:
"Site columns which are included in ...
15
votes
4answers
2k views
Content types vs. custom list field
This is a question about best practices and the intent of the designers of SharePoint.
I'm pretty new with SharePoint, and have only worked on pretty small projects. I often find myself creating ...
4
votes
1answer
2k views
The field with Id [GUID] defined in feature [GUID] was found in the current site collection or in a subsite
I have a farm solution with a single feature that has a bunch of site columns and a content type.
The content type does inherit from Enterprise Wiki Page, but the feature has an activation dependency ...
1
vote
2answers
211 views
Custom sitecolumns can't update
I have made a ContentType in Visual Studio 2010 for my SharePoint 2010 project and the first time I deployed the wsp through the WSPBuilder there were no troubles but now every time I try to deploy, ...
0
votes
1answer
653 views
Changing the column order of a content type not working as expected
I'm having a silly problem that I can't get rid of: I have defined a content type based on the task content type. I've just added a couple of basic columns and removed others. When I reorder the ...
1
vote
2answers
465 views
What to do when a Site Column name is already being used?
I'm running into a situation where a Site Collection has several sub sites. Each sub site has data related to a particular geographical region. When trying to create content types / site columns for ...
2
votes
1answer
3k views
Add new column to an already existing content type with a feature?
Is it possible, with Sharepoint 2007, to add new columns with a Feature to a content type that is already being used in some lists?
0
votes
3answers
2k views
Can't delete site columns that aren't referenced
I just created a couple of site columns and content types that reference them through VS2010. I updated one of the fields and then tried to redeploy, but after retracting, deploy failed because the ...
5
votes
2answers
4k views
How to adjust the title column in custom content type in SharePoint 2010?
I am creating a custom content type and it is working correctly with the exception of the Title column. My content type defination has the Title column added to the FieldRefs and I am trying to both ...
0
votes
1answer
1k views
Using parent/child lists as lookup column on a document library
I am using SharePoint Foundation and have created a parent and child list which both have a Title field. The child list has an additional lookup column to the parent list.
This enables me to enter ...
0
votes
1answer
353 views
View/Edit document Properties from a Client Application
I want to view and edit the properties of a Document using a windows form:
Is this feasible?
To be more clear, when you click on "Edit Properties" for a document inside a Document Library in ...
5
votes
3answers
2k views
Content Type Inheritance
In simplified form, I have the following situation.
A Parent content type
<ContentType ID="0x0100db5b9dac9c5f4d098820f922eebf3b39"
Name="Parent"
Group="Example Content ...
13
votes
2answers
282 views
Do all Content Types require Site Columns?
I'm just wondering if Content Types are always only made out of Site Columns, or if it's possible to define Fields that only exist on that Content Type? (Like how you can add a custom Column to a ...
5
votes
4answers
341 views
Better to try to reuse built-in site columns, or create your own?
I'm creating a client content type. One of the properties I want to store for each client is their postcode.
I could create my own site column, say Client Postcode. But there's also a site column ...
1
vote
6answers
7k views
Deploying columns with content types in Visual Studio 2010
I've written a feature that deploys new columns along with a content type containing the columns. The feature is Site scoped and written in Visual Studio 2010 to deploy to SharePoint 2010.
When the ...
3
votes
3answers
920 views
Content Type Column Removal
I have a few Content Types that inherit from a base Content Type. These are all wrapped up as part of my solution.
I wondered, as it is possible to add additional columns to a child Content Type ...