It depends, if the node definition allows free choice of property names you could follow the steps that you described by deleting and re-adding it with a new name.
But if the property name is defined by the node definition I think you're out of luck. At least I don't think there is a simple solution. You might be able to change the node type by removing all nodes of that type and have some script re-add the data using the new node structure but I'm not sure this is implemented yet in JackRabbit. So surely one of the gurus here will correct me :-) Cheers, -Tako On 5/17/07, Amir Mistric <[EMAIL PROTECTED]> wrote:
Hi Here is a newbie question... I have a node 'A' which has property 'title'... How do I rename that property to let say 'mytitle'? Looking through the API I couldn't find anything relevant... Only other thing I can think of would be 1. save the value of title 2. remove title 3. add mytitle 4. set the value of mytitle using previously saved value Any ideas? Thanks Amir
