02-27-2020 06:19 AM
Hello,
I am trying to apply a custom module (to hide some docLib Actions) only to certains Sites. For that, I am using the "site.module.evaluators", but I cannot figure out how to do it for more than one site.
The evaluator I am using looks like:
<evaluator type="site.module.evaluator">
<params>
<sites>SiteA,SiteB,SiteC</sites>
</params>
</evaluator>
But this way does not work. However, if I just put one site, it works.
Does anyone know how to pass serveral Sites to the evaluator?
I spent some time looking online but could not find any answer
Best regards!
02-27-2020 06:43 AM
The condition is evaluated as a regular expression:
So you need to add somethig like:
<evaluator type="site.module.evaluator"> <params> <sites>SiteA|SiteB|SiteC</sites> </params> </evaluator>
02-27-2020 06:43 AM
The condition is evaluated as a regular expression:
So you need to add somethig like:
<evaluator type="site.module.evaluator"> <params> <sites>SiteA|SiteB|SiteC</sites> </params> </evaluator>
02-27-2020 06:49 AM
Thank you so much Angel.
Explore our Alfresco products with the links below. Use labels to filter content by product module.