Addtemplate: Stsadm operation

2009-07-20 Thread Paul Noone
Can anyone tell me if this performs a global deployment?

If so does it get auto-activated for new collections?

[Yes, I did check the STSADM command-line tool reference on TechNet first.]

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: Upgrading solution for CT

2009-07-20 Thread Paul Turner
:-)

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: paul.tur...@dws.com.au  W: 
www.dws.com.au
 
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: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Tuesday, 21 July 2009 1:33 PM
To: ozmoss@ozmoss.com
Subject: RE: Upgrading solution for CT

What?! You mean there’s a mistake in the SDK? Never…

Cheers Pauly. ;0

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Turner
Sent: Tuesday, 21 July 2009 1:38 PM
To: ozmoss@ozmoss.com
Subject: RE: Upgrading solution for CT

http://mkeeper.spaces.live.com/blog/cns!60F12A60288E5607!280.entry

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: paul.tur...@dws.com.au  W: 
www.dws.com.au
Error! Filename not specified. Error! Filename not 
specified.
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: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Tuesday, 21 July 2009 1:03 PM
To: ozmoss@ozmoss.com
Subject: RE: Upgrading solution for CT
Thanks guys. That would explain a lot.

To date I’ve been making the changes through the UI, sucking them down with 
SPsource and then spitting out a new solution. I thought that so long as I kept 
the same columns I’d be able to push down changes but it seems not everything 
gets udpated.

There’s no way I’m doing this manually for every freaking site collection!

Has anyone good a good example of upgrading CTs via a feature receiver?

Regards,

Paul
Online Developer, ICT
CEO Sydney

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Turner
Sent: Tuesday, 21 July 2009 1:25 PM
To: ozmoss@ozmoss.com
Subject: RE: Upgrading solution for CT

No.  Content Types don't get upgraded in *any* circumstances.

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: paul.tur...@dws.com.au  W: 
www.dws.com.au
Error! Filename not specified. Error! Filename not 
specified.
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: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Tuesday, 21 July 2009 12:35 PM
To: ozmoss@ozmoss.com
Subject: Upgrading solution for CT
Hi all,

Quick question. If a CT is set to read-only through the UI will it still be 
updated via a solution upgrade?!

Regards,

Paul
Online Developer, ICT
CEO Sydney


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https:

RE: Upgrading solution for CT

2009-07-20 Thread Paul Noone
What?! You mean there's a mistake in the SDK? Never...

Cheers Pauly. ;0

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Turner
Sent: Tuesday, 21 July 2009 1:38 PM
To: ozmoss@ozmoss.com
Subject: RE: Upgrading solution for CT

http://mkeeper.spaces.live.com/blog/cns!60F12A60288E5607!280.entry

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: paul.tur...@dws.com.au  W: 
www.dws.com.au
Error! Filename not specified. Error! Filename not 
specified.
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: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Tuesday, 21 July 2009 1:03 PM
To: ozmoss@ozmoss.com
Subject: RE: Upgrading solution for CT
Thanks guys. That would explain a lot.

To date I've been making the changes through the UI, sucking them down with 
SPsource and then spitting out a new solution. I thought that so long as I kept 
the same columns I'd be able to push down changes but it seems not everything 
gets udpated.

There's no way I'm doing this manually for every freaking site collection!

Has anyone good a good example of upgrading CTs via a feature receiver?

Regards,

Paul
Online Developer, ICT
CEO Sydney

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Turner
Sent: Tuesday, 21 July 2009 1:25 PM
To: ozmoss@ozmoss.com
Subject: RE: Upgrading solution for CT

No.  Content Types don't get upgraded in *any* circumstances.

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: paul.tur...@dws.com.au  W: 
www.dws.com.au
Error! Filename not specified. Error! Filename not 
specified.
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: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Tuesday, 21 July 2009 12:35 PM
To: ozmoss@ozmoss.com
Subject: Upgrading solution for CT
Hi all,

Quick question. If a CT is set to read-only through the UI will it still be 
updated via a solution upgrade?!

Regards,

Paul
Online Developer, ICT
CEO Sydney


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: Upgrading solution for CT

2009-07-20 Thread Paul Turner
http://mkeeper.spaces.live.com/blog/cns!60F12A60288E5607!280.entry

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: paul.tur...@dws.com.au  W: 
www.dws.com.au
 
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: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Tuesday, 21 July 2009 1:03 PM
To: ozmoss@ozmoss.com
Subject: RE: Upgrading solution for CT

Thanks guys. That would explain a lot.

To date I’ve been making the changes through the UI, sucking them down with 
SPsource and then spitting out a new solution. I thought that so long as I kept 
the same columns I’d be able to push down changes but it seems not everything 
gets udpated.

There’s no way I’m doing this manually for every freaking site collection!

Has anyone good a good example of upgrading CTs via a feature receiver?

Regards,

Paul
Online Developer, ICT
CEO Sydney

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Turner
Sent: Tuesday, 21 July 2009 1:25 PM
To: ozmoss@ozmoss.com
Subject: RE: Upgrading solution for CT

No.  Content Types don't get upgraded in *any* circumstances.

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: paul.tur...@dws.com.au  W: 
www.dws.com.au
Error! Filename not specified. Error! Filename not 
specified.
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: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Tuesday, 21 July 2009 12:35 PM
To: ozmoss@ozmoss.com
Subject: Upgrading solution for CT
Hi all,

Quick question. If a CT is set to read-only through the UI will it still be 
updated via a solution upgrade?!

Regards,

Paul
Online Developer, ICT
CEO Sydney


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: Upgrading solution for CT

2009-07-20 Thread Paul Noone
I'm assuming I can safely update site columns and have the CTs pick these 
changes up?

Again, not schema or column type, just updating choice lists.

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Turner
Sent: Tuesday, 21 July 2009 1:33 PM
To: ozmoss@ozmoss.com
Subject: RE: Upgrading solution for CT

Yep, that is correct.  Often the 'code' approach is all you can do (add/update 
fieldlinks with code).

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: paul.tur...@dws.com.au  W: 
www.dws.com.au
Error! Filename not specified. Error! Filename not 
specified.
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: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Sezai Komur 
[sharepointse...@gmail.com]
Sent: Tuesday, 21 July 2009 12:55 PM
To: ozmoss@ozmoss.com
Subject: Re: Upgrading solution for CT
You shouldn't be modifying a content type definition in a solution upgrade, it 
isn't supported.

Updating Content Types http://msdn.microsoft.com/en-us/library/aa543504.aspx

See this note:

[http://i.msdn.microsoft.com/Aa543504.important(en-us,office.12).gif]Important:

Do not, under any circumstances, update the content type definition file for a 
content type after you have installed and activated that content type. Windows 
SharePoint Services does not track all the changes made to the content type 
definition file. Therefore, you have no reliable method for pushing down all 
the changes made to site content types to the child content types.

Content Type definitions implemented as Features are read when the content type 
is provisioned, changing the feature file after creating a content type should 
be avoided. Once created you need to modify the content type programmatically.

Content Type Change Control 
http://msdn.microsoft.com/en-us/library/ms434692.aspx

This page has a note about read-only content types. Setting the CType to 
read-only in the UI most probably sets the SPContentType.ReadOnly property to 
true 
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spcontenttype.readonly.aspx

Now back to your original question...

Create a Feature Receiver to programatically update your content type in use, 
you can then switch the read-only property if needed, or switch it in the UI 
before activating your feature. You could also modify your content type 
directly in the UI, the easy way, afaik this is supported. It comes back to the 
type of change you are making to your content type really

Sezai.


On Tue, Jul 21, 2009 at 11:05 AM, Paul Noone 
mailto:paul.no...@ceosyd.catholic.edu.au>> 
wrote:

Hi all,



Quick question. If a CT is set to read-only through the UI will it still be 
updated via a solution upgrade?!



Regards,

Paul

Online Developer, ICT
CEO Sydney




Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: Upgrading solution for CT

2009-07-20 Thread Paul Turner
Yep, that is correct.  Often the 'code' approach is all you can do (add/update 
fieldlinks with code).

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: paul.tur...@dws.com.au  W: 
www.dws.com.au
 
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: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Sezai Komur 
[sharepointse...@gmail.com]
Sent: Tuesday, 21 July 2009 12:55 PM
To: ozmoss@ozmoss.com
Subject: Re: Upgrading solution for CT

You shouldn't be modifying a content type definition in a solution upgrade, it 
isn't supported.

Updating Content Types http://msdn.microsoft.com/en-us/library/aa543504.aspx

See this note:

[http://i.msdn.microsoft.com/Aa543504.important(en-us,office.12).gif]Important:

Do not, under any circumstances, update the content type definition file for a 
content type after you have installed and activated that content type. Windows 
SharePoint Services does not track all the changes made to the content type 
definition file. Therefore, you have no reliable method for pushing down all 
the changes made to site content types to the child content types.

Content Type definitions implemented as Features are read when the content type 
is provisioned, changing the feature file after creating a content type should 
be avoided. Once created you need to modify the content type programmatically.

Content Type Change Control 
http://msdn.microsoft.com/en-us/library/ms434692.aspx

This page has a note about read-only content types. Setting the CType to 
read-only in the UI most probably sets the SPContentType.ReadOnly property to 
true 
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spcontenttype.readonly.aspx

Now back to your original question...

Create a Feature Receiver to programatically update your content type in use, 
you can then switch the read-only property if needed, or switch it in the UI 
before activating your feature. You could also modify your content type 
directly in the UI, the easy way, afaik this is supported. It comes back to the 
type of change you are making to your content type really

Sezai.


On Tue, Jul 21, 2009 at 11:05 AM, Paul Noone 
mailto:paul.no...@ceosyd.catholic.edu.au>> 
wrote:

Hi all,



Quick question. If a CT is set to read-only through the UI will it still be 
updated via a solution upgrade?!



Regards,

Paul

Online Developer, ICT
CEO Sydney




Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: Upgrading solution for CT

2009-07-20 Thread Paul Noone
Thanks guys. That would explain a lot.

To date I've been making the changes through the UI, sucking them down with 
SPsource and then spitting out a new solution. I thought that so long as I kept 
the same columns I'd be able to push down changes but it seems not everything 
gets udpated.

There's no way I'm doing this manually for every freaking site collection!

Has anyone good a good example of upgrading CTs via a feature receiver?

Regards,

Paul
Online Developer, ICT
CEO Sydney

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Turner
Sent: Tuesday, 21 July 2009 1:25 PM
To: ozmoss@ozmoss.com
Subject: RE: Upgrading solution for CT

No.  Content Types don't get upgraded in *any* circumstances.

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: paul.tur...@dws.com.au  W: 
www.dws.com.au
Error! Filename not specified. Error! Filename not 
specified.
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: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Tuesday, 21 July 2009 12:35 PM
To: ozmoss@ozmoss.com
Subject: Upgrading solution for CT
Hi all,

Quick question. If a CT is set to read-only through the UI will it still be 
updated via a solution upgrade?!

Regards,

Paul
Online Developer, ICT
CEO Sydney


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: Upgrading solution for CT

2009-07-20 Thread Paul Turner
No.  Content Types don't get upgraded in *any* circumstances.

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: paul.tur...@dws.com.au  W: 
www.dws.com.au
 
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: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Paul Noone 
[paul.no...@ceosyd.catholic.edu.au]
Sent: Tuesday, 21 July 2009 12:35 PM
To: ozmoss@ozmoss.com
Subject: Upgrading solution for CT

Hi all,

Quick question. If a CT is set to read-only through the UI will it still be 
updated via a solution upgrade?!

Regards,

Paul
Online Developer, ICT
CEO Sydney


Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



Re: Upgrading solution for CT

2009-07-20 Thread Sezai Komur
You shouldn't be modifying a content type definition in a solution upgrade,
it isn't supported.
*Updating Content Types *
http://msdn.microsoft.com/en-us/library/aa543504.aspx

See this note:

[image: Important]*Important: *

*Do not, under any circumstances, update the content type definition file
for a content type after you have installed and activated that content type*.
Windows SharePoint Services does not track all the changes made to the
content type definition file. Therefore, you have no reliable method for
pushing down all the changes made to site content types to the child content
types.

Content Type definitions implemented as Features are read when the content
type is provisioned, changing the feature file after creating a content type
should be avoided. Once created you need to modify the content type
programmatically.

*Content Type Change Control*
http://msdn.microsoft.com/en-us/library/ms434692.aspx

This page has a note about read-only content types. Setting the CType to
read-only in the UI most probably sets the SPContentType.ReadOnly property
to true
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spcontenttype.readonly.aspx


Now back to your original question...

Create a Feature Receiver to programatically update your content type in
use, you can then switch the read-only property if needed, or switch it in
the UI before activating your feature. You could also modify your content
type directly in the UI, the easy way, afaik this is supported. It comes
back to the type of change you are making to your content type really

Sezai.


On Tue, Jul 21, 2009 at 11:05 AM, Paul Noone <
paul.no...@ceosyd.catholic.edu.au> wrote:

>  Hi all,
>
>
>
> Quick question. If a CT is set to read-only through the UI will it still be
> updated via a solution upgrade?!
>
>
>
> Regards,
>
> Paul
>
> Online Developer, ICT
> CEO Sydney
>
>
>   --
> Support procedure: https://www.codify.com/lists/support
> List address: ozmoss@ozmoss.com
> Subscribe: ozmoss-subscr...@ozmoss.com
> Unsubscribe: ozmoss-unsubscr...@ozmoss.com
> List FAQ: http://www.codify.com/lists/ozmoss
> Other lists you might want to join: http://www.codify.com/lists
>

Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



Upgrading solution for CT

2009-07-20 Thread Paul Noone
Hi all,

Quick question. If a CT is set to read-only through the UI will it still be 
updated via a solution upgrade?!

Regards,

Paul
Online Developer, ICT
CEO Sydney


Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists



RE: Create Site Collection error

2009-07-20 Thread Jeffery Tsui
That's weird, I remember I had similar issue when trying to use a subsite
only definition to create root site but can't remember the details. I might
try to dig up something when got more time (currently working at client site
without "Internet" access L and not much time left after work)

 

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone
Sent: Monday, 20 July 2009 8:52 AM
To: ozmoss@ozmoss.com
Subject: RE: Create Site Collection error

 

Hi Jeffery,

 

Yes, reverting the change seemed to fix things. Still don't know why because
I'd activated any dependencies via other features. I believe the problem
lies in the fact that these dependencies need to be activated at site
creation.

 

The custom defs are based on basic publishing and team site templates.
They're not copies, the use the OOTB site defs through provisioning. Both
these templates can be used to create root sites.

 

I'm going to look at activating the other dependent features during site
creation and see if that does the trick.

 

Regards,

Paul

Online Developer, ICT
CEO Sydney

 

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Jeffery Tsui
Sent: Friday, 17 July 2009 10:13 PM
To: ozmoss@ozmoss.com
Subject: RE: Create Site Collection error

 

Hi Paul,

 

Any luck with reverting the changes?

 

Did you used any OOTB site def to create the custom site def? eg. Making
copy of OOTB site def to make changes then saved as custom site def. Some
OOTB site def can only be used as sub site due to feature dependency thingy
(correct me if I'm wrong).  

Posting the custom site def/template might help to pinpoint the possible
cause.

 

Cheers

Jeffery

 

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone
Sent: Friday, 17 July 2009 11:07 AM
To: ozmoss@ozmoss.com
Subject: RE: Create Site Collection error

 

I just reverted changed subWebOnly back to true and recycled the app pool.

 

It's the only change I'd made so I'm hoping this was the cause.

 

Regards,

Paul

Online Developer, ICT
CEO Sydney

 

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Michael
Nemtsev
Sent: Friday, 17 July 2009 10:46 AM
To: ozmoss@ozmoss.com
Subject: RE: Create Site Collection error

 

Restart app pools and configuration wizard in attempt to fix?!

 

Michael Nemtsev  
  Readify | Microsoft MVP

B:   http://msmvps.com/blogs/laflour/  T:
+61 424 184 978

 

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone
Sent: Friday, 17 July 2009 9:26 AM
To: ozmoss@ozmoss.com
Subject: RE: Create Site Collection error

 

Nope. Something's totally screwed up. I can't even create the pages library.

 

The site is not valid. The 'Pages' document library is missing.

 

Regards,

Paul

Online Developer, ICT
CEO Sydney

 

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone
Sent: Friday, 17 July 2009 9:14 AM
To: ozmoss@ozmoss.com
Subject: Create Site Collection error

 

Hi guys,

 

This is a new one for me and I can't find anything useful online. Just
created a new SC via CA and received the following error:

 

Cannot change permissions of root web: http://...

 

I used my custom site def provisioner. The stapled features weren't enabled
and the groups didn't get created. Looks like there may have been a reason
these site defs were set to use SubWebOnly?

 

Regards,

Paul

Online Developer, ICT
CEO Sydney

 

  _  

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com

Subscribe: ozmoss-subscr...@ozmoss.com

Unsubscribe: ozmoss-unsubscr...@ozmoss.com

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

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

  _  

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com

Subscribe: ozmoss-subscr...@ozmoss.com

Unsubscribe: ozmoss-unsubscr...@ozmoss.com

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

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

  _  

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com

Subscribe: ozmoss-subscr...@ozmoss.com

Unsubscribe: ozmoss-unsubscr...@ozmoss.com

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

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

  _  

Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com

Subscribe: ozmoss-subscr...@ozmoss.com

Unsubscribe: ozmoss-unsubscr...@ozmoss.com

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

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

  _  

Support procedure: https://www.codify.com/list