April 14, 2020
Estimated Post Reading Time ~

Setting Maximum items in an Experience Manager 6.3 Multifield

You can create an Adobe Experience Manager (AEM) 6.3 Touch UI component that can be used within the AEM Touch UI view. Furthermore, you can use the AEM HTML Template Language (HTL - formally known as Sightly) to develop the AEM component. For example, consider an author whom enters information into a multi-field control in the component's dialog, as shown in this illustration.


In the previous illustration, notice that the Page Name and Path controls are used within a multifield control. When an author clicks the Add Field button, a new area that contains a Page Name, Path and Flag control appear. This lets an author dynamically enter as many values as required into the dialog.


Sometimes you may have a requirement to set a limit of the number of multifield items that an author can set. When the author attempts to go over the limit, a message appears, as shown in this illustration.


This development article discusses how to use script to set the maximum number of multifield items an AEM author can set in a Touch UI component dialog. 



By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.