01-09-2019 05:30 AM
Hi!
I'm trying to create a site using the REST API. Everything seems to work except when I try to set the site preset I get
400 - Site preset should not be set
I also tried using the PUT method to update the site but then I get
400 - Site update does not support field: preset
This happens with a custom preset I created and with the default site-dashboard.
JSON examples:
This works:
{
"id": "ajeje",
"title": "ajeje",
"description": "ajeje",
"visibility": "PUBLIC"
}
This doesn't:
{
"id": "ajeje",
"title": "ajeje",
"description": "ajeje",
"visibility": "PUBLIC",
"preset": "site-dashboard"
}
Is this function really not available?
This is in a docker installation, Share version 6.0.c, Content Repository version 6.1.1.
05-13-2019 12:57 PM
Hello.
As you can see in the link below, there is not support for the preset field:
Explore our Alfresco products with the links below. Use labels to filter content by product module.