[Product-Developers] Rename an object after it has been added

Yuri yurj at alfa.it
Wed Jul 27 11:01:27 UTC 2011


Il 27/07/2011 12:31, imran.azad ha scritto:
> Hi Jung,
>
> I have checked in the same folder there isn't an id that already exists. Why
> is it that when I modifiy the item the same code excutes sucessfully?
>    

When an object is created, an event is fired. This event trigger a 
method that already rename the object. You've to check this. You can 
disable (per content type) the rename of objects, so you can rename them 
as you want. Or you can change the original method (or override it) to 
manage your situation.


More information about the Product-Developers mailing list