AnsweredAssumed Answered

using evaluators in presets

Question asked by flheide on Apr 23, 2013
Latest reply on Apr 24, 2013 by flheide
Hi!

I have made my own evaluator "caseoverviewevaluator" which works fine inside a template-instance

<component>
         <region-id>navigation</region-id>
         <sub-components>
            <sub-component id="default">
               <evaluations>
                  <!– if in site: Site navigation –>
                  <evaluation id="site">
                     <evaluators>
                        <evaluator type="caseoverviewevaluator"/>
                     </evaluators>
                     <url>/components/navigation/collaboration-navigation</url>
                  </evaluation>
               </evaluations>
            </sub-component>
         </sub-components>
      </component>


but i would like to use it aswell inside the presets.xml file to decide which elements should be shown inside a preset. I have tried using the same code as above:

         <component>
                <scope>page</scope>
                 <region-id>component-2-2</region-id>
                <source-id>case/${caseid}/dashboard</source-id>
               
                <sub-components>
            <sub-component id="default">
               <evaluations>
                  <!– if in site: Site navigation –>
                  <evaluation id="site">
                     <evaluators>
                        <evaluator type="caseoverviewevaluator"/>
                      </evaluators>
                        <url>/components/dashlets/calendar</url>
                  </evaluation>
               </evaluations>
            </sub-component>
         </sub-components>
            </component>
 
but nothing happends - it seems as the evaluator is not called, as there is no output in the log.

I wonder if it is possible at all to use evaluators inside a preset?

Thanks

Flemming
               
               

Outcomes