<?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 content classes? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/content-classes/m-p/41654#M22326</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;I have been reading in the wiki docs, but it's not all clear to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In other cmses I create a content class, say Event, which has some attributes, let's say an image, a title, a description, a start-date. After that I can create a couple of instances of the event type, event1, event2, event3,… .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do this in Alfresco? I saw you can add a type in the content model, I see there is a type 'Person' defined there with a couple of attributes. But I don't see in Alfresco a way to just create a Person instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where will I find a form to create an Event instance after I created the 'event' content type?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2006 07:35:04 GMT</pubDate>
    <dc:creator>timv</dc:creator>
    <dc:date>2006-07-17T07:35:04Z</dc:date>
    <item>
      <title>content classes?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-classes/m-p/41654#M22326</link>
      <description>Hi, I have been reading in the wiki docs, but it's not all clear to me.In other cmses I create a content class, say Event, which has some attributes, let's say an image, a title, a description, a start-date. After that I can create a couple of instances of the event type, event1, event2, event3,… .H</description>
      <pubDate>Mon, 17 Jul 2006 07:35:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-classes/m-p/41654#M22326</guid>
      <dc:creator>timv</dc:creator>
      <dc:date>2006-07-17T07:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: content classes?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-classes/m-p/41655#M22327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You configure the web client to show the custom types you would like to be able to create.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Client_Model_Configuration_Guide" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Client_Model_Configuration_Guide&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2006 08:11:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-classes/m-p/41655#M22327</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-07-17T08:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: content classes?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-classes/m-p/41656#M22328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks alot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created the content and a couple of 'instances' of it. Let's say event1 and event2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, using the webservices API I can fetch the content (and I guess also other normal properties) like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Reference EventFolder = new Reference(store, null, "/app:company_home/cm:Public_x0020_website/cm:Events/cm:jfall");&lt;BR /&gt;Content[] readResult = contentService.read(new Predicate(new Reference[]{EventFolder}, store, null),Constants.PROP_CONTENT);&lt;BR /&gt;Content content = readResult[0];&lt;BR /&gt;writer.println(ContentUtils.getContentAsString(content);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;But now for my event, having a description property (cm:myDescription), how can I fetch the value of this description property in my code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;timv&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2006 10:27:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-classes/m-p/41656#M22328</guid>
      <dc:creator>timv</dc:creator>
      <dc:date>2006-07-18T10:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: content classes?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-classes/m-p/41657#M22329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can either use the getProperties() method on NodeService or if you are using the web service API you can use the get() method in the RepositoryWebService. The resulting Node objects have the individual properties.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2006 11:22:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-classes/m-p/41657#M22329</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-07-18T11:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: content classes?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-classes/m-p/41658#M22330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2006 12:12:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-classes/m-p/41658#M22330</guid>
      <dc:creator>timv</dc:creator>
      <dc:date>2006-07-18T12:12:28Z</dc:date>
    </item>
  </channel>
</rss>

