<?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 Structured content in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/structured-content/m-p/28472#M14444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I need to store in the repository a "structured content". By "structured content" I mean a document that has different components. Let me clarify this with an example: let's say that the document represents and article, this means it has, for example, a title, an abstract, a body, an image and a list of links to some related articles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Please note that the compoments are different from properties and aspects. In my example the properties could be: author, category, date, etc., while the aspects could be: date approved, apporved by, start date of validity, end date of validity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I checked in the documentation and examples and realized that I can define a custom content type and configure properties and aspects for the content. The properties and aspects are automatically handled in the content creation wizard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Is there a way to define the "components" of a structured content?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; How this content (and its sub components) can be handled by the content management wizard in the web client?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I started trying to define a new model and a custom content type, but I realized that I need to extend cm:content in order for my content type to be handled by the web client. This way I cannot (can I?) define the structure for my custom content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am somewhat stuck…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any pointers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2006 13:15:42 GMT</pubDate>
    <dc:creator>legba</dc:creator>
    <dc:date>2006-06-09T13:15:42Z</dc:date>
    <item>
      <title>Structured content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/structured-content/m-p/28472#M14444</link>
      <description>Hi all,  I need to store in the repository a "structured content". By "structured content" I mean a document that has different components. Let me clarify this with an example: let's say that the document represents and article, this means it has, for example, a title, an abstract, a body, an image</description>
      <pubDate>Fri, 09 Jun 2006 13:15:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/structured-content/m-p/28472#M14444</guid>
      <dc:creator>legba</dc:creator>
      <dc:date>2006-06-09T13:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Structured content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/structured-content/m-p/28473#M14445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Let me see if I understood you correctly: You're trying to get three things done:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. You're trying to create a new content type for compound documents where a single content item will contain multiple contents (image, doc file, etc.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. You need a set of custom meta-data to be associated with your content items&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. You'd like the Web Client and its wizards to handle your custom types&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, then you seem to be on the right track for 1 &amp;amp; 2. For 1, you'll need to define a new content type that inherits from &lt;/SPAN&gt;&lt;EM&gt;cm:content&lt;/EM&gt;&lt;SPAN&gt; and extends it to have properties of type &lt;/SPAN&gt;&lt;EM&gt;d:content&lt;/EM&gt;&lt;SPAN&gt; that will be used to store additional contents (this can also be done with custom aspects). As for 2, you can define other properties as you would normally (types/aspects).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is part 3, as you've indicated. For 3, you'll need to modify the Web Client to handle your new content type. A great place to start is to look at &lt;/SPAN&gt;&lt;EM&gt;forums&lt;/EM&gt;&lt;SPAN&gt; and how the model and UI were extended to handle those content items and render them differently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some of the things to check out are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;forumsModel.xml, faces-config-navigation.xml, web-client-config-navigation.xml, and the forums JSPs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Going through that code will show you how the UI was extended to handle forums, forum spaces, and posts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Sumer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Jun 2006 14:00:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/structured-content/m-p/28473#M14445</guid>
      <dc:creator>rivetlogic</dc:creator>
      <dc:date>2006-06-11T14:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Structured content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/structured-content/m-p/28474#M14446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sumer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your kind answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You understood me perfectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I like the idea of a new conent type with d:content properties, and the pointer to the forum "extension".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suppose I can follow the hints for [url=&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Adding_a_Custom_Dialog%22]Adding" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Adding_a_Custom_Dialog']Adding&lt;/A&gt;&lt;SPAN&gt; a custom dialog[/url] and [url=&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Packaging_And_Deploying_Extensions]Packaging" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Packaging_And_Deploying_Extensions]Packaging&lt;/A&gt;&lt;SPAN&gt; and deploying extensions[/url] to figure out how to successfully modify the web client. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll get back in touch if I have more doubts or to share my experience.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bye,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fabio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 14:24:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/structured-content/m-p/28474#M14446</guid>
      <dc:creator>legba</dc:creator>
      <dc:date>2006-06-12T14:24:30Z</dc:date>
    </item>
  </channel>
</rss>

