Is there a way to find out if a site has been created ?
I wrote this behaviour
@Override
public void onCreateNode(ChildAssociationRef childAssocRef) {
NodeRef nodeRef = childAssocRef.getChildRef();
String nodeName = (String) nodeService.getProperty(nodeRef, ContentModel.PROP_NAME);
System.out.println(nodeName );
// IMPLEMENTATION
}
this is the output :
page.title.site~site1~dashboard.xml
page.navigation.site~site1~dashboard.xml
page.component-1-1.site~site1~dashboard.xml
page.component-2-1.site~site1~dashboard.xml
page.component-2-2.site~site1~dashboard.xml
every time I create a site, I find 3 nodeNames in the console.
But I can't tell if it's a site which has been created.
Thanks.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.