Well...you sort of can. Whether the method is supported or not is debatable.

I haven't blogged about this yet because I'm scared of the repercussions but...

We have a timer job scoped as an application feature that 
deactivates/reactivates a list of defined CTs and then uses the technique 
described 
here<http://mkeeper.spaces.live.com/blog/cns!60F12A60288E5607!280.entry?ccr=2594&wa=wsignin1.0&sa=985733115>
 to update and push down field changes to the list level. You just upgrade your 
CT solution(s) and then run the job.

It's not perfect, and for farms with a lot of site collections would no doubt 
become quite an intensive job, but for now it does the trick nicely. And only 
takes about 3 minutes to complete.

Regards,

Paul
Online Developer, ICT
CEO Sydney

From: [email protected] [mailto:[email protected]] On Behalf Of 
Paul Turner
Sent: Thursday, 15 October 2009 9:40 AM
To: ozMOSS
Subject: RE: CT feature - column definitions

And you can't deploy updates to CT's with XML updates to your features :-(


Regards,

Paul Turner
Senior Solutions Specialist

M: 0412 748 168 P: 08 8238 0912 F: 08 8234 5966
A: 66 Henley Beach Road, Mile End SA 5031
E: [email protected]<mailto:[email protected]>  W: www.dws.com.au
[cid:[email protected]]
ADVANCED BUSINESS SOLUTIONS LTD

This email and any files transmitted with it are confidential and are only for 
the use of the person to whom they are addressed. If you are not the intended 
recipient you have received this email in error and are requested to delete it 
immediately. Any opinion expressed in this e-mail may not necessarily be that 
of DWS Pty Ltd.
Please consider the environment before printing this email.

From: [email protected] [mailto:[email protected]] On Behalf Of 
Paul Noone
Sent: Thursday, 15 October 2009 9:08 AM
To: ozMOSS
Subject: RE: CT feature - column definitions

Thanks Paul. That's what I've been noticing.

It makes any governance of content types and site columns VERY, VERY difficult.

You've really gotta hope that future versions will allow simple references to 
CTs and Site Columns for the list schema, without having to redefine them all 
over again!

From: [email protected] [mailto:[email protected]] On Behalf Of 
Paul Turner
Sent: Thursday, 15 October 2009 9:23 AM
To: ozMOSS
Subject: RE: CT feature - column definitions


1.       You define your CT and deploy it.

2.       Any list you create with it has a duplicate definition, although this 
is not strictly true as the list version of the definition has additional 
properties

3.       The order you define them in the list is the order of the columns

4.       If you alter the CT later and 'push down' changes the list columns 
will inherit the changes as long as they are not sealed/readonly

5.       Column settings always override the CT but sometimes in weird ways 
(especially with Doc information panels)


Regards,

Paul Turner
Senior Solutions Specialist

M: 0412 748 168 P: 08 8238 0912 F: 08 8234 5966
A: 66 Henley Beach Road, Mile End SA 5031
E: [email protected]<mailto:[email protected]>  W: www.dws.com.au
[cid:[email protected]]
ADVANCED BUSINESS SOLUTIONS LTD

This email and any files transmitted with it are confidential and are only for 
the use of the person to whom they are addressed. If you are not the intended 
recipient you have received this email in error and are requested to delete it 
immediately. Any opinion expressed in this e-mail may not necessarily be that 
of DWS Pty Ltd.
Please consider the environment before printing this email.

From: [email protected] [mailto:[email protected]] On Behalf Of 
Paul Noone
Sent: Thursday, 15 October 2009 8:27 AM
To: ozMOSS
Subject: CT feature - column definitions

Hi all,

Is anyone able to shed any light on where to fully define columns for a content 
type feature?

Presently I have them defined as FieldRefs in the CT definition and also as 
Field elements in the column definitions.

It "appears" as though the latter takes precedence and also inherits the full 
set of attributes from the Field Element (List - Definition) element.

Is there any point in adding anything more than the field ID to the FieldRef 
element in the Ct definition??

Regards,

Paul
Online Developer, ICT
CEO Sydney

<<inline: image001.jpg>>

_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to