AnsweredAssumed Answered

EVALUATOR on a Surf Extension Modules

Question asked by gawel on Nov 28, 2017
Latest reply on Dec 14, 2018 by 4535992


I tried to set an evaluator on Surf Extension Modules as :

                <!-- Action configuration -->
                <config evaluator="string-compare" condition="DocumentLibrary">
                        <content id="xx-product-add" label="" icon="addnewproduct" type="pagelink">
                            <param name="page">create-content?destination={nodeRef}&amp;itemId=xx:folderProduitType&amp;mimeType=text/plain</param>
                            <!-- FIXME : this evaluator call doesn't work -->
                <!-- Form view for xx-product-add action -->
                <config evaluator="model-type" condition="xx:folderProduitType">


My custom evalutor work fine (I tried it on another module. So, the evaluator doesn't take effect.

When I debug this java Class : nether call on documentLibrary.

My goal is to display this button only on Alfresco site context.


Have you some idea?