Hi Paul,

 

Here's some conjecture on my part as to how you might be able to handle
that.

 

You increment the version attribute of the content type when next
distributing it. Then you write a simple app to iterate through your content
types, do a "faux" Update method call, with the updateChildren parameter set
to true ... As I understand it this will update all content types which are
children of the one being updated, which I assume also means earlier
versions and those instances of the content type embedded in lists /
document libraries etc ...

 

Certainly willing to be contradicted on this, because it's only my
understanding of how you should be able to do this theoretically ... Keen to
know how others approach this very problem.

 

Cheers,

Trevor Andrew

 

From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone
Sent: Wednesday, 28 January 2009 1:09 PM
To: [email protected]
Subject: RE: Content Type feature

 

Thanks guys but I think my problem lies in the fact that the content type
already exists (and used quite extensively) in the destination site
collection?

 

I can't afford to delete it first and don't want to take risks in
production. I think I'm just going to have to go down the path of recreating
the required columns and lists.

 

At least I have learnt something for future development. Hopefully future
MOSS versions will offer a more transparent method of moving this type of
content between farms and site collections.

 

From: [email protected] [mailto:[email protected]] On Behalf Of Trevor
Andrew
Sent: Wednesday, 28 January 2009 1:07 PM
To: [email protected]
Subject: RE: Content Type feature

 

Hi Paul,

 

I've  used the following codeplex project with some success:

 

http://www.codeplexcom/mossfeaturegenerator
<http://www.codeplex.com/mossfeaturegenerator> 

 

I takes a bit of getting used to, but it can generate site column features
and content type features, and it appeared to work comprehensively in our
tests.

 

At least it saves you the hassle of authoring the feature.xml and
element.xml from scratch. It's certainly pre-release however, and I would
always suggest reviewing what it generates to ensure "it's got everything".

 

Cheers,

Trevor Andrew

 

From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone
Sent: Wednesday, 28 January 2009 12:16 PM
To: [email protected]
Subject: Content Type feature

 

Hi all,

 

Having spent copious amounts of time developing and modifying content types
in dev, I'd now like to move them to production. It seems there is no simple
OOTB way to achieve this without redeploying the entire site collection.

 

The following look very promising. Does anyone have any experience with this
approach, or recommend another that doesn't involve cutting XML or CAML by
hand?

 

Content Type Viewer

http://www.codeplex.com/MOSS2K7CTypesViewer

 

An article about creating features using the Content Types Viewer

http://dhunter-thinkingoutaloud.blogspot.com/2007/06/creating-content-types-
with-content.html

 

Kind regards,

Paul

 

  _____  

Support procedure: https://www.codify.com/lists/support
List address: [email protected]

Subscribe: [email protected]

Unsubscribe: [email protected]

List FAQ:  <http://www.codify.com/lists/ozmoss>
http://www.codify.com/lists/ozmoss

Other lists you might want to join:  <http://www.codify.com/lists>
http://www.codify.com/lists

  _____  

Support procedure: https://www.codify.com/lists/support
List address: [email protected]

Subscribe: [email protected]

Unsubscribe: [email protected]

List FAQ:  <http://www.codify.com/lists/ozmoss>
http://www.codify.com/lists/ozmoss

Other lists you might want to join:  <http://www.codify.com/lists>
http://www.codify.com/lists

  _____  

Support procedure: https://www.codify.com/lists/support
List address: [email protected]

Subscribe: [email protected]

Unsubscribe: [email protected]

List FAQ:  <http://www.codify.com/lists/ozmoss>
http://www.codify.com/lists/ozmoss

Other lists you might want to join:  <http://www.codify.com/lists>
http://www.codify.com/lists

--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to