AnsweredAssumed Answered

Cound not Create Site in Alfresco Share programmatically

Question asked by sselvan on May 15, 2009
Latest reply on Nov 13, 2014 by jitendra1222
I am trying to create a Site in Alfresco Share, programmatically.

      SiteInfo siteInfo = this.serviceRegistry.getSiteService().createSite("TestSite", "1234567", "for-santhana", "description", true);
      System.out.println("successful site, and the details are "+" preset= "+siteInfo.getSitePreset()+" shortname= "+siteInfo.getShortName());

The problem is - the site is getting created in Alfresco under Sites directory, but when I open the same in Alfresco Share, it does not open with dashboard, document library, wiki, blog etc.,

If you have any clues, please let me know. This will be a great help!!

Outcomes