<?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 Reading Custom Type properties doesnt work in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/reading-custom-type-properties-doesnt-work/m-p/60207#M21179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am running a rule on a folder in acs ... when doc (from type pt:TransmittalDoc is created (through APS)) the code reads the information related to that doc and show them in log ... here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function main()&lt;BR /&gt;{&lt;BR /&gt; var name = document.properties["cm:name"];&lt;BR /&gt; logger.system.out("show name "+name);&lt;BR /&gt; var title = document.properties["cm:title"];&lt;BR /&gt; logger.system.out("show title "+title);&lt;BR /&gt; var desc = document.properties["cmdescription"];&lt;BR /&gt; logger.system.out("show desc "+desc);&lt;BR /&gt; var rev = document.properties["pt:Revision"];&lt;BR /&gt; logger.system.out("show revision "+rev);&lt;BR /&gt;}&lt;BR /&gt;main();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;the problem with my code is that sometimes it show this in log:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;show name code.xml&lt;/P&gt;&lt;P&gt;show title coding&lt;BR /&gt;show desc quote&lt;BR /&gt;show revision rev01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and sometimes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;show name code.xml&lt;/P&gt;&lt;P&gt;show title&amp;nbsp;null&lt;BR /&gt;show desc&amp;nbsp;null&lt;BR /&gt;show revision&amp;nbsp;null&lt;BR /&gt;&lt;BR /&gt;most times it doesnt work and it is so random.. anybody knows why i am having this behaviour ? ( only the name is always shown)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2019 22:24:43 GMT</pubDate>
    <dc:creator>marwen</dc:creator>
    <dc:date>2019-02-20T22:24:43Z</dc:date>
    <item>
      <title>Reading Custom Type properties doesnt work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/reading-custom-type-properties-doesnt-work/m-p/60207#M21179</link>
      <description>Hello All,i am running a rule on a folder in acs ... when doc (from type pt:TransmittalDoc is created (through APS)) the code reads the information related to that doc and show them in log ... here is my code:function main(){ var name = document.properties["cm:name"]; logger.system.out("show name "+</description>
      <pubDate>Wed, 20 Feb 2019 22:24:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/reading-custom-type-properties-doesnt-work/m-p/60207#M21179</guid>
      <dc:creator>marwen</dc:creator>
      <dc:date>2019-02-20T22:24:43Z</dc:date>
    </item>
  </channel>
</rss>

