Create a site through java API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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?
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2021 06:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2021 04:36 AM
Thank you. The sample is without dashboard. How create it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎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!
