AnsweredAssumed Answered

Simple custom Indicators not work

Question asked by billydekid on May 22, 2017
Latest reply on Jun 5, 2017 by billydekid


Continuing my study to create a simple custom indicators (on my preivous post: How to change default icon folder based on its properties? ), I start to create it with reference from Jeff's post here Colour vs tags .

I create ar:dirFungsi properties applied to a folder which will add a custom indicator.


Following are my steps and codes:

1. Add an evaluator /tomcat/webapps/share/WEB-INF/classes/alfresco/custom-slingshot-application-context.xml

<?xml version='1.0' encoding='UTF-8'?>



  <!-- Directory Obyektif Evaluator -->

  <bean id="evaluator.doclib.action.dirObyektif" parent="evaluator.doclib.action.value">

     <property name="accessor" value="" />

     <property name="comparator">

        <bean class="org.alfresco.web.evaluator.StringEqualsComparator">

           <property name="value" value="DirObyektif" />





2. Add indicator inside condition attribute equals to DocumentLibrary in /tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml



        <indicator id="dirobyektif" index="100">




3. Create an image in /tomcat/webapps/share/components/documentlibrary/indicators/dirobyektif-16.png


Then I restarted the server, but the indicator doesn't appear.

What is the problem and how to solve it?