<?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 modeling repeating complex elements in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/modeling-repeating-complex-elements/m-p/265598#M218728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A common requirement when modeling web data is to have repeating complex data, an example being a photo gallery which is made up of multiple photos, each with an image and supporting text such as a title and description.&amp;nbsp; ie&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Photo 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Image&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Title&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Description&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Photo2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Image&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Title&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Description&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Photo3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Image&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ….. etc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you model the capture and composition of this scenario.&amp;nbsp; I know you could do it using collections but Obviously you dont want a user to have to create a new html page for each photo.&amp;nbsp; The old avm forms made this possible easily using xsd to model the data in xml and then transform.&amp;nbsp; What is the correct approach for new wcmqs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Dec 2010 02:19:53 GMT</pubDate>
    <dc:creator>boneill</dc:creator>
    <dc:date>2010-12-06T02:19:53Z</dc:date>
    <item>
      <title>modeling repeating complex elements</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/modeling-repeating-complex-elements/m-p/265598#M218728</link>
      <description>Hi Guys,A common requirement when modeling web data is to have repeating complex data, an example being a photo gallery which is made up of multiple photos, each with an image and supporting text such as a title and description.&amp;nbsp; iePhoto 1&amp;nbsp;&amp;nbsp; Image&amp;nbsp;&amp;nbsp; Title&amp;nbsp;&amp;nbsp; DescriptionPhoto2&amp;nbsp;&amp;nbsp; Image&amp;nbsp;&amp;nbsp; Title&amp;nbsp;&amp;nbsp; Descri</description>
      <pubDate>Mon, 06 Dec 2010 02:19:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/modeling-repeating-complex-elements/m-p/265598#M218728</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2010-12-06T02:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: modeling repeating complex elements</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/modeling-repeating-complex-elements/m-p/265599#M218729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would suggest asset collections as you mention. The way I would do it is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL style="list-style-type:decimal;"&gt;&lt;LI&gt;Create a new section named "gallery", for example, and under that create another section named "photos", say. Exclude the photos section from navigation&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;In your gallery section, define a dynamic asset collection ("gallery.photos", for example) that finds all the content in the photos section&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Have your content creators upload images into the photos section, and have them set the title and description fields on each one (define a custom type and custom form if necessary)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Create a template for the gallery, and assign it to the ws:indexPage type on your gallery section. In that template, iterate over the assets in the "gallery.photos" asset collection&lt;/LI&gt;&lt;/OL&gt;&lt;SPAN&gt;I think this would be quite simple for your users to use, arguably simpler than having one great big XML asset that lists all the images. Managing the gallery would be as easy as adding and deleting images in the photos section.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On a related topic, however, I have previously sketched out ideas for introducing "composite content" in the core repo. The original idea was to have this is the Swift project, although that is still in the process of being defined, and I'm not sure whether it will make the cut or not. &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Swift_Content_Model_Enhancements" rel="nofollow noopener noreferrer"&gt;You can read about the idea on the wiki&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 08:45:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/modeling-repeating-complex-elements/m-p/265599#M218729</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2010-12-06T08:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: modeling repeating complex elements</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/modeling-repeating-complex-elements/m-p/265600#M218730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Brian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just read your posting on the content model enhancements for "composite Content".&amp;nbsp; It is probably closer to what I was trying to achieve and I suppose closer to the current xsd forms way of modeling relationships between elements on a page.&amp;nbsp; I like where you are going with it although it would need to include updates to the current forms service to be able to handle nested/grouped fields or else it would not be user friendly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assuming that we implemented it as you suggested below how would you ensure that the photo assets created were created with the correct custom type.&amp;nbsp; Also what wcmqs should it override (ws:image?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 22:35:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/modeling-repeating-complex-elements/m-p/265600#M218730</guid>
      <dc:creator>boneill</dc:creator>
      <dc:date>2010-12-06T22:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: modeling repeating complex elements</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/modeling-repeating-complex-elements/m-p/265601#M218731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to use a custom type (the metadata you mentioned wouldn't require one) then you could either extend Share to provide a "Create Photo" option on the Create Content drop-down, or you could define a rule on the photos folder to specialise the type (or add an aspect). It's entirely up to you what the type hierarchy is. You could extend ws:image, but there's certainly no need to unless you want to be able to associate these photos with articles at some point (ws:article defines two associations (primaryImage and secondaryImage) with ws:image).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 07:25:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/modeling-repeating-complex-elements/m-p/265601#M218731</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2010-12-08T07:25:56Z</dc:date>
    </item>
  </channel>
</rss>

