Dialog - Reuse Set of Fields in Touch UI | Adobe Higher Education
Skip to main content
Level 3
November 24, 2016
Resuelto

Dialog - Reuse Set of Fields in Touch UI

  • November 24, 2016
  • 3 respuestas
  • 2575 visualizaciones

I want to reuse some fields from one component dialog into multiple other component. Objective is to ensure that I don't have to update all the components for a change.

e.g. Image component has 2 fields (Image Path, Alt Text). I want to include Image in 5 other components so that any field addition to Image component later on, does not result changing 5 other components. In this case, other 5 components can have multiple other fields which are local to those components.

How can I solve the problem of reusing set of fields in Dialog box in AEM 62 Touch UI.

I know the concept of overlay and extension but in those cases Dialog boxes cannot import set of fields from other components.

TIA

Este tema ha sido cerrado para respuestas.
Mejor respuesta de smacdonald2008

Also -- ootb page properties is a good example for this – check /libs/foundation/components/page/dialog/items/tabs/items/basic

3 respuestas

smacdonald2008
Level 10
November 24, 2016

Although i prefer having a 1-1 mapping of JCR nodes that represent a dialog for each component, there is a way to pull in another components dialog. See: 

http://stackoverflow.com/questions/21293839/cq5-inheriting-extended-dialogs

Hope this helps... 

smacdonald2008
Level 10
November 24, 2016

Also -- ootb page properties is a good example for this – check /libs/foundation/components/page/dialog/items/tabs/items/basic

Level 3
November 25, 2016

Thanks for the pointers Scott. Although I was hoping that there would be a way to import fields within the same Tab instead of creating separate Tabs for reusable fields. I was able to make it work using the example.