<?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: Add attribute in forum aspect in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/add-attribute-in-forum-aspect/m-p/234768#M187898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any thoughts on this?&amp;nbsp; Essentially want to add an extra field/property to the form when someone saves/edits a forum entry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jun 2010 18:59:00 GMT</pubDate>
    <dc:creator>jriker1</dc:creator>
    <dc:date>2010-06-01T18:59:00Z</dc:date>
    <item>
      <title>Add attribute in forum aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-attribute-in-forum-aspect/m-p/234767#M187897</link>
      <description>How do I add an additional attribute to the discussion forum? Say I want to take the discussion forum and have an option to pick Yes or No from a pulldown and the value on the back end is called Sticky. How would I associate Sticky to the schema of the forum post element?Thanks.JR</description>
      <pubDate>Sat, 29 May 2010 14:10:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-attribute-in-forum-aspect/m-p/234767#M187897</guid>
      <dc:creator>jriker1</dc:creator>
      <dc:date>2010-05-29T14:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Add attribute in forum aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-attribute-in-forum-aspect/m-p/234768#M187898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any thoughts on this?&amp;nbsp; Essentially want to add an extra field/property to the form when someone saves/edits a forum entry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 18:59:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-attribute-in-forum-aspect/m-p/234768#M187898</guid>
      <dc:creator>jriker1</dc:creator>
      <dc:date>2010-06-01T18:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add attribute in forum aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-attribute-in-forum-aspect/m-p/234769#M187899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The discussion forums don't currently use the Forms Service, so this would be a manual code update, rather than mostly config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The best advice I can give is to look at the source for the discussion post component (client-side JS) and the Repository webscript that receives the form data. The best way of adding additional fields is via aspects, as always.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 21:00:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-attribute-in-forum-aspect/m-p/234769#M187899</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-06-01T21:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add attribute in forum aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-attribute-in-forum-aspect/m-p/234770#M187900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've added attributes to the user aspect, probably the wrong way as I never was able to get things working in a custom aspect.&amp;nbsp; Since I assume this would be a fairly easy example, to add one additional attribute to the forum form, could you show me in 3.3 exactly how to create a custom aspect and tie it to the forum posts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 12:53:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-attribute-in-forum-aspect/m-p/234770#M187900</guid>
      <dc:creator>jriker1</dc:creator>
      <dc:date>2010-06-03T12:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add attribute in forum aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-attribute-in-forum-aspect/m-p/234771#M187901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The wiki has information on custom aspects: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Step_3:_Create_a_new_Aspect" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Step_3:_Create_a_new_Aspect&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the webscript, look for the form variable being set, then add the aspect and set the new property accordingly. In fact, there's an example in forum-posts.post.json.js already. Search for "// add the cm:syndication aspect"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 14:07:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-attribute-in-forum-aspect/m-p/234771#M187901</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2010-06-03T14:07:55Z</dc:date>
    </item>
  </channel>
</rss>

