<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Set site preset on creation with REST API in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/set-site-preset-on-creation-with-rest-api/m-p/69893#M22999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm trying to create a site using the REST API. Everything seems to work except when I try to set&amp;nbsp;the site preset I get&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;400 -&amp;nbsp;Site preset should not be set&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I also tried using the PUT method to update the site but then I get&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;400 -&amp;nbsp;Site update does not support field: preset&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This happens with a custom preset I created and with the default&amp;nbsp;site-dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JSON examples:&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"id": "ajeje",&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"title": "ajeje",&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"description": "ajeje",&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"visibility": "PUBLIC"&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This doesn't:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"id": "ajeje",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"title": "ajeje",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"description": "ajeje",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"visibility": "PUBLIC",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"preset": "&lt;SPAN&gt;site-dashboard&lt;/SPAN&gt;"&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is this function really not available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is in a docker installation, Share version 6.0.c, Content Repository version 6.1.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2019 10:30:25 GMT</pubDate>
    <dc:creator>rowsdower</dc:creator>
    <dc:date>2019-01-09T10:30:25Z</dc:date>
    <item>
      <title>Set site preset on creation with REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-site-preset-on-creation-with-rest-api/m-p/69893#M22999</link>
      <description>Hi!I'm trying to create a site using the REST API. Everything seems to work except when I try to set&amp;nbsp;the site preset I get400 -&amp;nbsp;Site preset should not be setI also tried using the PUT method to update the site but then I get400 -&amp;nbsp;Site update does not support field: presetThis happens with a custom p</description>
      <pubDate>Wed, 09 Jan 2019 10:30:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-site-preset-on-creation-with-rest-api/m-p/69893#M22999</guid>
      <dc:creator>rowsdower</dc:creator>
      <dc:date>2019-01-09T10:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set site preset on creation with REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/set-site-preset-on-creation-with-rest-api/m-p/69894#M23000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see in the link below, there is not support for the preset field:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://api-explorer.alfresco.com/api-explorer/#!/sites/createSite" title="https://api-explorer.alfresco.com/api-explorer/#!/sites/createSite" rel="nofollow noopener noreferrer"&gt;Alfresco Content Services REST API Explorer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 16:57:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/set-site-preset-on-creation-with-rest-api/m-p/69894#M23000</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2019-05-13T16:57:05Z</dc:date>
    </item>
  </channel>
</rss>

