cancel
Showing results for 
Search instead for 
Did you mean: 

nodeService.createNode no entering the node name

xsp
Champ in-the-making
Champ in-the-making
Hi,

Is there a way to not have to set the node name when creating an item in java using nodeService.createNode() method? …I would like the system to leave the name as with its node id, so I do not have to enter a name.

…I know I can generate a random id and set it as the name, …but it would be better at least having the same as the id.

thanks

xavi
1 REPLY 1

mrogers
Star Contributor
Star Contributor
Yes.   Just don't specify prop_name.

However there may be a constraint depending upon the type of node you are crating.    And you will upset alfresco share and alfresco explorer.