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
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.