April 13, 2020
Estimated Post Reading Time ~

Dynamically updating AEM custom xtype fields

One reason to develop a custom xtype control and use it within an Adobe Experience Manager component is that you can dynamically set fields. For example, you can retrieve values from a database and set them in the xtype fields.

In this development article, a drop-down control located in the custom xtype is used to set another field. That is, when an AEM author selects a value from the drop-down control, the selected value is set in a text field, as shown in the following illustration.


A Text Field is set with the selection in the dropdown

To dynamically set controls within a custom xtype, you use JavaScript. This development article guides you through how to create a custom xtype control that lets you dynamically set fields. To read this development article, click http://helpx.adobe.com/experience-manager/using/dynamically-updating-aem-custom-xtype.html.


By aem4beginner

No comments:

Post a Comment

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