<?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 Categories in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/categories/m-p/158355#M112468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I have some content that is classified in a category, the properties array will contain an entry for that category. The only problem is that the category is just a&amp;nbsp; string containing an id (workspace://SpacesStore/8ca130f4-ef92-11dc-9061-c7313d82e911)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need the human-readable name of that category. Is there any way to get that name by using the id string in the content's property array?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2008 18:47:37 GMT</pubDate>
    <dc:creator>mattousai</dc:creator>
    <dc:date>2008-03-11T18:47:37Z</dc:date>
    <item>
      <title>Categories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/categories/m-p/158355#M112468</link>
      <description>When I have some content that is classified in a category, the properties array will contain an entry for that category. The only problem is that the category is just a&amp;nbsp; string containing an id (workspace://SpacesStore/8ca130f4-ef92-11dc-9061-c7313d82e911)I need the human-readable name of that categ</description>
      <pubDate>Tue, 11 Mar 2008 18:47:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/categories/m-p/158355#M112468</guid>
      <dc:creator>mattousai</dc:creator>
      <dc:date>2008-03-11T18:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Categories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/categories/m-p/158356#M112469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When I have some content that is classified in a category, the properties array will contain an entry for that category. The only problem is that the category is just a&amp;nbsp; string containing an id (workspace://SpacesStore/8ca130f4-ef92-11dc-9061-c7313d82e911)&lt;BR /&gt;&lt;BR /&gt;I need the human-readable name of that category. Is there any way to get that name by using the id string in the content's property array?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not clear where you need it - I am assuming in code.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do that programatically - look up the node based on id, and check the node's cm:name property.&amp;nbsp;&amp;nbsp;&amp;nbsp; Another way, if you are bootstrapping categories, is that you can assign uuids as meaningful names- see record management module's default categories for how that's done.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 08:40:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/categories/m-p/158356#M112469</guid>
      <dc:creator>jbarmash</dc:creator>
      <dc:date>2008-03-13T08:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Categories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/categories/m-p/158357#M112470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yeah, i am talking about in code (sorry for the lack of clarity), and am just working off of the basic tutorial three script. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After adding a category via the web ui and then running the test script, the table filled with properties about that Alfresco-Tutorial.pdf has the category listed as a property, but the category is just a node id. I will look into the records management module, and in the meantime, is there a line of code that would return that a string with the corresponding name&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;lets say i have something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;$category = $contentNode-&amp;gt;properties['{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}categories" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}categories&lt;/A&gt;&lt;SPAN&gt;'];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;$category will contain a string like: workspace://SpacesStore/7c086268-ef92-11dc-9061-c7313d82e911&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what would be the syntax for looking up the node and finding its cm_name?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$name = new Node($category)-&amp;gt;cm_name; ???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2008 14:01:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/categories/m-p/158357#M112470</guid>
      <dc:creator>mattousai</dc:creator>
      <dc:date>2008-03-13T14:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Categories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/categories/m-p/158358#M112471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From the snippet you provided, which language is this? php?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe that in FreeMarker API (and probably others) if you ask for the categories property, you will get a list of nodes (each node is a category). You can then get the name property of the new node.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does that help?&amp;nbsp;&amp;nbsp; If not, and all you get is UUID, you can use search service to look it up, and get the name of the node.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 07:27:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/categories/m-p/158358#M112471</guid>
      <dc:creator>jbarmash</dc:creator>
      <dc:date>2008-03-14T07:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Categories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/categories/m-p/158359#M112472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yeah, it does just give the uuid, but i am able to get the name from the search. Thanks for your responses &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 15:14:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/categories/m-p/158359#M112472</guid>
      <dc:creator>mattousai</dc:creator>
      <dc:date>2008-03-14T15:14:42Z</dc:date>
    </item>
  </channel>
</rss>

