Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Spectra-Talk
Cold Fusion Spectra - Technical
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Spectra :
product's home
product's list home
 
  Archived TallyList / Spectra-Talk: 
Subject: Re: Updating Objects
Richard Ragan (49p/+0r)     Posted: Friday 19 Jan 2001
This post: 38 views, +0 rating

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.


Similar Subject Line Posts (+/- two weeks of this post)
Re: Updating Objects  21 Jan 2001   (29 v/ +0 r)
RE: Updating Objects  19 Jan 2001   (31 v/ +0 r)
Re: Updating Objects  19 Jan 2001   (41 v/ +0 r)
Re: Updating Objects  19 Jan 2001   (31 v/ +0 r)
Re: Updating Objects  19 Jan 2001   (29 v/ +0 r)
RE: Updating Objects  19 Jan 2001   (37 v/ +0 r)
Re: Updating Objects  19 Jan 2001 (this post)   (38 v/ +0 r)
RE: Updating Objects  19 Jan 2001   (32 v/ +0 r)
RE: Updating Objects  19 Jan 2001   (25 v/ +0 r)
Updating Objects  19 Jan 2001   (25 v/ +0 r)
 

Send a reply to the Spectra-Talk list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000