<?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: Create content with pairs of data type &amp;lt;content&amp;gt; in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/create-content-with-pairs-of-data-type-lt-content-gt/m-p/240316#M193446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;maybe I was asleep, but somehow I missed the d:content part - maybe that content field is somehow treated differently. So two other answers using the content modell :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a) How about just using "d:text" with the component generator set to a bigger size ? You dont have the HTML formatting for that, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b) if you want formated answers, store the question as metadata and the answer in the standard "content" field&amp;nbsp; witht he question as 1st line in the content. Then use a behaviour to extract the first line on update and store it in the property "custom:question". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Norgan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Oct 2009 19:31:28 GMT</pubDate>
    <dc:creator>norgan</dc:creator>
    <dc:date>2009-10-06T19:31:28Z</dc:date>
    <item>
      <title>Create content with pairs of data type &lt;content&gt;</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-content-with-pairs-of-data-type-lt-content-gt/m-p/240313#M193443</link>
      <description>Hi,&amp;nbsp; I a newbie to Alfresco. I have read the wiki on 'Data Dictionary Guide' and have Alfresco installed and working. Now as part of evaluating the product, I am trying to create a content type that would allow a user to create a Question and Answer type content. In another words, when the user goes</description>
      <pubDate>Fri, 02 Oct 2009 19:24:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-content-with-pairs-of-data-type-lt-content-gt/m-p/240313#M193443</guid>
      <dc:creator>kooroshv</dc:creator>
      <dc:date>2009-10-02T19:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create content with pairs of data type &lt;content&gt;</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-content-with-pairs-of-data-type-lt-content-gt/m-p/240314#M193444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm, three ways come to mind currently &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) You could create your own contenttype derived from cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;bject - plus your own set of edit/display forms. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) You could define a folder with the fields "question" and "answer" and a behaviour "on update, generate "QandA.html" inside that folder. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) You define your own contenttype derived from cm:content, acting same as under "2", but extend the "content creation wizard" to generate the content after filling out the metadata with a "runAs" function built in. Last, store the content in a space, where people only have "edit properties" rights. An "OnUpdate" behavior kicks in the generator again. With the version management in 3.2, that should even give your versioning of your edits. So they can edit questions and answers, but cant mess with the results. And you can reuse the HTML or XML files for displaying as snippets whereever you need it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Norgan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2009 20:17:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-content-with-pairs-of-data-type-lt-content-gt/m-p/240314#M193444</guid>
      <dc:creator>norgan</dc:creator>
      <dc:date>2009-10-04T20:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create content with pairs of data type &lt;content&gt;</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-content-with-pairs-of-data-type-lt-content-gt/m-p/240315#M193445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for all the suggestions. I will research them and see how far I can get with them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Koorosh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 17:17:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-content-with-pairs-of-data-type-lt-content-gt/m-p/240315#M193445</guid>
      <dc:creator>kooroshv</dc:creator>
      <dc:date>2009-10-06T17:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create content with pairs of data type &lt;content&gt;</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-content-with-pairs-of-data-type-lt-content-gt/m-p/240316#M193446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;maybe I was asleep, but somehow I missed the d:content part - maybe that content field is somehow treated differently. So two other answers using the content modell :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a) How about just using "d:text" with the component generator set to a bigger size ? You dont have the HTML formatting for that, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b) if you want formated answers, store the question as metadata and the answer in the standard "content" field&amp;nbsp; witht he question as 1st line in the content. Then use a behaviour to extract the first line on update and store it in the property "custom:question". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Norgan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 19:31:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-content-with-pairs-of-data-type-lt-content-gt/m-p/240316#M193446</guid>
      <dc:creator>norgan</dc:creator>
      <dc:date>2009-10-06T19:31:28Z</dc:date>
    </item>
  </channel>
</rss>

