evaluator as control-param in field tag

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2022 03:50 AM
Hi Everybody,
I would like to ask if it is possible to check value of textfiel using evaluator.
In share config custom I have this field defined:
<field id="mlcm:firma_nazev" mandatory="true" label-id="prop.mlcm_firma_nazev"> <control template="/cz/signia/components/form/controls/firmaAutocomplete.ftl"> <control-param name="webscript">/mlensky/firmy</control-param> </control> </field>
I would like to add evaluator for type something like this :
<control-param name="evaluator">evaluator.doclib.action.isFirma</control-param>
Is it possible? What i the right way to do it? Thanks
Labels:
- Labels:
-
Alfresco Content Services
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2022 09:39 AM
Evaluators cannot be used at the field level. They are used for actions and modules.
You could probably include the related logic in the field ftl itself.
