Tuesday, 21 January 2014

Dynamically updating AEM custom xtype fields

One reason to develop a custom xtype control and use it within an Adobe Experience Manager component is because 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.

Join the Adobe Experience Cloud Community 

Join the Adobe Experience Cloud Community by clicking this banner

I (Scott Macdonald) am a Senior Digital Marketing Community Manager at Adobe Systems with 20 years in the high tech industry. I am also a programmer with knowledge in Java, JavaScript, C#,C++, HTML, XML and ActionScript. If  you would like to see more CQ or other Adobe Digital Marketing end to end articles like this, then leave a comment and let me know what content you would like to see.

TwitterFollow the Digital Marketing Customer Care team on Twitter @AdobeExpCare.

YouTube: Subscribe to the AEM Community Channel