As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi,
On Alfresco V5.2 I found the only one solution to create a site : REST API Alfresco Content Services REST API Explorer
(see bug here : Automatic site creation : surf-config not generated with surf-config)
So, this Web API work for create a site but HOW set a custom sitePreset?
I don't found any solution to :
* defined a site preset with REST API create site
* or defined site-preset on Java Code
* or change site-preset of an existing site on Java Code
Presets are defined in XML in your AMP. Can you do it at design/deploy time or must you be able to create a preset at run time?
Thx for your answer.
But the question isn't "how create a new preset ?" but "how set a existing preset on site with REST API?"
Okay, take a look at the PUT method on the site endpoint: Alfresco Content Services REST API Explorer