January 2019 AEM Architect at Bounteous for 4 years Architected solutions around SSO system integrations marketing sites AEM Certified Developer Business Practitioner and Architect About me https ID: 791380
Download The PPT/PDF document "AEM TEMPLATED DIALOGS Enabling Contextua..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
AEM TEMPLATED DIALOGS
Enabling Contextual Variables for Authors
January 2019
Slide2AEM Architect at Bounteous for 4 years
Architected solutions around SSO, system integrations, marketing sites
AEM Certified Developer, Business Practitioner, and Architect
About me
https://
www.linkedin.com
/in/ryan-keenan-86090697/
Slide3Overview
Slide4Imagine the following situation:
The author needs to add a message showing the current page’s titleThey want to be able to modify the text around the title
Introduction to the problem
How?
Slide5Author does this:
Developer does this:
Just to get this…
When authors want to interact with the context of the content they are forced to rely on a developer
Current “Solution”
Slide6Aem
templated dialogs solution
Author does this:
Gets this!
No developer no problem!
Slide7Demo
Always the best part
Slide8Tech talk
What’s the nitty gritty?
Slide9HTML Rewriter
Property aggregationJava Reflection
Custom resource type for dialogDatasource + JS
CoralUI 3 APIs
How it works
Slide10Page Properties – both local and inherited
Custom POJO properties
Available properties
Slide11Common
interfaceImplement the interface: com.bounteous.dialogs.core.model.BaseModelSling ModelAdapts from a Resource – page/
jcr:contentAny getters you want (thanks Reflection)
What about those sweet custom properties?
Slide12HTML rewriting means the content is still cached – performant
Context/page based property aggregation means translation is
Supports recursion in the custom models (i.e. prefix.object.subobject.value)Works regardless of whether you use the custom dialog field
Even works for links (rewrites the href) – great for lead gen
Anything else?
Slide13How to use it
You like pie right? Just as easy.
Slide14Add a rewriter configuration (or modify your own)
Configure for your site
Slide15Enable the Property Aggregator OSGi service
Is two clicks too many?
Slide16Can I have it?
Slide17Contribution to the ACS AEM Commons currently in review
Compatible with AEM 6.3 & 6.4
Yes! …soon
Slide18Summary
Slide19Key Points
Authors who want to be able to actually control
their content need AEM Templated DialogsExtend the data to your heart’s desire with custom POJOs
Interested in More?The full feature will soon be available in the standard ACS AEM Commons package: https://adobe-consulting-services.github.io/acs-aem-commons/
Interested in more cool AEM stuff? Go to
https://www.bounteous.com/contact/
and we can make time to talk!
Wrapping Up
Slide20Thank You.
AEM Architect
Ryan Keenan
Phone:
719.502.5312
Email:
ryan.keenan@bounteous.com
LinkedIn:
https://www.linkedin.com/in/ryan-keenan-86090697/