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.
Hello.
As you can see in the link below, there is not support for the preset field:
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.