I suspect you actually mean "update the object type by adding new properties" since this is what you would need to do. Of course, you could make a new type with a new ID and change your app to reference that new type but what happens to existing objects of the old type? Do you plan to recreate them all? The alternative is to add properties to the existing type. This is fine to do but at least with Spectra 1.01 and prior you won't get the new properties added automatically to existing objects of that type. You would have to write a script to get all the old objects and probably put empty values into the new properties (or meaningful values if your app will depend on them being populated). I think Spectra 1.5 will take care of new properties for you automatically with respect to old objects but I have not confirmed this (anyone know for sure?).
Rich Richard.R.Ragan@syntegra.com
----- Original Message ----- From: <Mary_Baotic@hyperion.com> To: Spectra-Talk <spectra-talk@houseoffusion.com> Sent: Friday, January 19, 2001 5:37 AM Subject: Updating Objects
> I have an object that is currently in use by a production site. I need to > modify the object by adding a few new properties which will be arrays. > Is it better to recreate an entire new object and then update the object ID > in the application then to modify the actual object? > > I remember that we were discouraged from updating objects. > > Mary > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to spectra-talk-request@houseoffusion.com with 'unsubscribe' in the body.