cancel
Showing results for 
Search instead for 
Did you mean: 

Adding properties contained in an aspect

glaenen
Champ in-the-making
Champ in-the-making
Hello,

I notice that when I update a node through a behaviour or action (java api) there is no need to add the custom aspect to the node first.
You can just set the property you want and the aspect containing this property will be add automatically.

Is this meant to work this way? Because I can't find any explanation for this behaviour.

Thanks,

Glenn
1 REPLY 1

mrogers
Star Contributor
Star Contributor
Yes.  If you add a property contained by an aspect then the aspect is added automatically.