<?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 Re: Extend site model in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/extend-site-model/m-p/141716#M37759</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/95485"&gt;@ahuret&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;there are several ways to do it.&lt;/P&gt;&lt;P&gt;Create a new custom site subtype:&lt;/P&gt;&lt;PRE&gt;		&amp;lt;type name="my:customSite"&amp;gt;
			&amp;lt;title&amp;gt;CustomSite&amp;lt;/title&amp;gt;
			&amp;lt;parent&amp;gt;st:site&amp;lt;/parent&amp;gt;
			&amp;lt;properties&amp;gt;
				&amp;lt;property name="my:listValuesForSite"&amp;gt;
					&amp;lt;title&amp;gt;List Values For Site&amp;lt;/title&amp;gt;
					&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;
					&amp;lt;multiple&amp;gt;true&amp;lt;/multiple&amp;gt;
				&amp;lt;/property&amp;gt;
			&amp;lt;/properties&amp;gt;
		&amp;lt;/type&amp;gt;&lt;/PRE&gt;&lt;P&gt;or simply create a new aspect:&lt;/P&gt;&lt;PRE&gt;		&amp;lt;aspect name="my:customSiteAspect"&amp;gt;
			&amp;lt;title&amp;gt;Aspect for Site&amp;lt;/title&amp;gt;
			&amp;lt;properties&amp;gt;
				&amp;lt;property name="my:listForSite"&amp;gt;
					&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;
					&amp;lt;multiple&amp;gt;true&amp;lt;/multiple&amp;gt;
				&amp;lt;/property&amp;gt;
			&amp;lt;/properties&amp;gt;
		&amp;lt;/aspect&amp;gt;&lt;/PRE&gt;&lt;P&gt;I personally advise to use the first solution if you only need to add this multivalued properties on sites.&lt;/P&gt;&lt;P&gt;Check the official documentation for more infos about customization of Alfresco content models.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2023 16:27:09 GMT</pubDate>
    <dc:creator>prorobin</dc:creator>
    <dc:date>2023-03-08T16:27:09Z</dc:date>
    <item>
      <title>Extend site model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/extend-site-model/m-p/141715#M37758</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to extend the site model to add a "labels" property (array of strings). Priority is to be able to manage those labels via alfresco REST API and to be able to search for site with label as parameter. And then but with less priority it would be nice to see this new field in Share UI.&lt;/P&gt;&lt;P&gt;I don't understand how to proceed here...&lt;/P&gt;&lt;P&gt;Thank you in advance !&lt;/P&gt;&lt;P&gt;Antoine&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 16:34:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/extend-site-model/m-p/141715#M37758</guid>
      <dc:creator>ahuret</dc:creator>
      <dc:date>2023-03-06T16:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Extend site model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/extend-site-model/m-p/141716#M37759</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/95485"&gt;@ahuret&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;there are several ways to do it.&lt;/P&gt;&lt;P&gt;Create a new custom site subtype:&lt;/P&gt;&lt;PRE&gt;		&amp;lt;type name="my:customSite"&amp;gt;
			&amp;lt;title&amp;gt;CustomSite&amp;lt;/title&amp;gt;
			&amp;lt;parent&amp;gt;st:site&amp;lt;/parent&amp;gt;
			&amp;lt;properties&amp;gt;
				&amp;lt;property name="my:listValuesForSite"&amp;gt;
					&amp;lt;title&amp;gt;List Values For Site&amp;lt;/title&amp;gt;
					&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;
					&amp;lt;multiple&amp;gt;true&amp;lt;/multiple&amp;gt;
				&amp;lt;/property&amp;gt;
			&amp;lt;/properties&amp;gt;
		&amp;lt;/type&amp;gt;&lt;/PRE&gt;&lt;P&gt;or simply create a new aspect:&lt;/P&gt;&lt;PRE&gt;		&amp;lt;aspect name="my:customSiteAspect"&amp;gt;
			&amp;lt;title&amp;gt;Aspect for Site&amp;lt;/title&amp;gt;
			&amp;lt;properties&amp;gt;
				&amp;lt;property name="my:listForSite"&amp;gt;
					&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;
					&amp;lt;multiple&amp;gt;true&amp;lt;/multiple&amp;gt;
				&amp;lt;/property&amp;gt;
			&amp;lt;/properties&amp;gt;
		&amp;lt;/aspect&amp;gt;&lt;/PRE&gt;&lt;P&gt;I personally advise to use the first solution if you only need to add this multivalued properties on sites.&lt;/P&gt;&lt;P&gt;Check the official documentation for more infos about customization of Alfresco content models.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 16:27:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/extend-site-model/m-p/141716#M37759</guid>
      <dc:creator>prorobin</dc:creator>
      <dc:date>2023-03-08T16:27:09Z</dc:date>
    </item>
  </channel>
</rss>

