Those hooks are only functional enough for knock- on type stuff, eg copying files to a CDN. For property updates you're better off looking at beforesave - in that function you can make modifications to the object BEFORE it gets saved.
Blair On 15/04/2011 7:17 AM, "JR Pascua" <[email protected]> wrote: > I'm trying to create bit.ly URLs for custom type items when they are > approved. I added the onStatusChange event hook to the type's .cfc file. > In this event hook, I make a cfhttp call to bitly, parse the returned XML > and update the bitly field in the db table. From what I can tell, the row > gets updated, but when I go into the management screen to check the item, > the bitly field is blank. > > Is there another event hook that could be clearing out my update or is there > a more appropriate event hook I should use? > > Thanks, > - JR > > -- > You received this message cos you are subscribed to "farcry-dev" Google group. > To post, email: [email protected] > To unsubscribe, email: [email protected] > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
