Provision field updates

May 2, 2012 at 4:03 AM

Content types, List instances, etc. all have provision modes to handle upgrade and migration scenarios. How do I perform field definition updates when I upgrade my feature?

Coordinator
May 7, 2012 at 10:54 PM

There is no special provision update mode in the framework. If you call the provision method on a field for example, then the field will be provisioned with the current definition attributes and properties that are set in code on that specific field declaration. The same applies for content types and list instances.

I know feature supports upgrade but i think that is simply another event method in the feature reciever that will be called. You can call the provision method from that reciever if you want to perform upgrade from there. However, i need to do some further investigation on the last one.

Did this answer your question?

/Tony 

May 11, 2012 at 5:10 AM

I figured out a strategy for update migration using SPGenesis provisioning. Great tool!