<?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: Custom evaluator to perform basic calculations on custom properties in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/custom-evaluator-to-perform-basic-calculations-on-custom/m-p/15207#M6730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel,&lt;/P&gt;&lt;P&gt;Thanks alot, will have a look. In the meantime I hacked the following - quick and dirty to test&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;created two dummy, hidden properties, these properties are not shown on the form and populated by a script&lt;/LI&gt;&lt;LI&gt;created a JS file which does the checks and does the date calculation&lt;/LI&gt;&lt;LI&gt;based on the result, the scripts sets one of the property to 1 and the other to null&lt;/LI&gt;&lt;LI&gt;created a simple evaluator based on the PropertyNotNull standard one&lt;/LI&gt;&lt;LI&gt;displaying the indicator based on the result of the evaluators&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;the solution is not elegant but it allows us to test how it works. Plus, just checked how to set up Eclipse to work with Alfresco, looked so complicated to a non developer, that I decided to hack something as proof of concept&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2017 15:23:04 GMT</pubDate>
    <dc:creator>zputnoky</dc:creator>
    <dc:date>2017-07-17T15:23:04Z</dc:date>
    <item>
      <title>Custom evaluator to perform basic calculations on custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-evaluator-to-perform-basic-calculations-on-custom/m-p/15205#M6728</link>
      <description>Dear All,Got a new user demand to provide custom indicator based on property values. Do I need to create a custom evaluator java class to be able to do the following?display indicator A if property A value is 1display indicator B if current system date is less than approval target date and the diffe</description>
      <pubDate>Mon, 17 Jul 2017 13:17:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-evaluator-to-perform-basic-calculations-on-custom/m-p/15205#M6728</guid>
      <dc:creator>zputnoky</dc:creator>
      <dc:date>2017-07-17T13:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom evaluator to perform basic calculations on custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-evaluator-to-perform-basic-calculations-on-custom/m-p/15206#M6729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably this could help:&amp;nbsp;&lt;A href="https://github.com/keensoft/alfresco-myfiles-quota/tree/master/alfresco-folder-quota-share/src/main/java/es/keensoft/alfresco/repo/evaluator" rel="nofollow noopener noreferrer"&gt;https://github.com/keensoft/alfresco-myfiles-quota/tree/master/alfresco-folder-quota-share/src/main/java/es/keensoft/alfresco/repo/evaluator&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 15:01:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-evaluator-to-perform-basic-calculations-on-custom/m-p/15206#M6729</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2017-07-17T15:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom evaluator to perform basic calculations on custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-evaluator-to-perform-basic-calculations-on-custom/m-p/15207#M6730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel,&lt;/P&gt;&lt;P&gt;Thanks alot, will have a look. In the meantime I hacked the following - quick and dirty to test&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;created two dummy, hidden properties, these properties are not shown on the form and populated by a script&lt;/LI&gt;&lt;LI&gt;created a JS file which does the checks and does the date calculation&lt;/LI&gt;&lt;LI&gt;based on the result, the scripts sets one of the property to 1 and the other to null&lt;/LI&gt;&lt;LI&gt;created a simple evaluator based on the PropertyNotNull standard one&lt;/LI&gt;&lt;LI&gt;displaying the indicator based on the result of the evaluators&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;the solution is not elegant but it allows us to test how it works. Plus, just checked how to set up Eclipse to work with Alfresco, looked so complicated to a non developer, that I decided to hack something as proof of concept&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 15:23:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-evaluator-to-perform-basic-calculations-on-custom/m-p/15207#M6730</guid>
      <dc:creator>zputnoky</dc:creator>
      <dc:date>2017-07-17T15:23:04Z</dc:date>
    </item>
  </channel>
</rss>

