07-21-2021 05:56 AM
Trying to create a site through the SiteService, it is never complete because when I go in share, the document library is not visible, so I would know all java operation to get a complete navigable site as for the creation of the site through share. Is it possible?
07-21-2021 06:06 AM
07-23-2021 04:36 AM
Thank you. The sample is without dashboard. How create it?
07-23-2021 04:49 AM
Hi!
// Default site preset String sitePreset = "site-dashboard"; SiteInfo siteInfo = siteService.createSite(sitePreset, .....
Yes it is: he is using the site preset already defined "site-dashboard". You cannot create your own using api rest (more info) but you can create your custom site preset in your project (more info here).
Cheers!
Explore our Alfresco products with the links below. Use labels to filter content by product module.