SlideShare a Scribd company logo
User Interface
Customisation
in AEM 6.1
Christian Meyer
@martinischeery
Andreea Corbeanu
@pudelyna
About us
Andreea Miruna Corbeanu

Software Engineer, AEM Sites

Site Admin, Granite UI
Christian Meyer

Software Engineer, AEM Sites
Page Authoring, Granite UI
User Interface Customisation
AEM projects require customization of the UI
Extension points are available in the product
Let’s learn how to use them!
Agenda
Extending Component Dialogs
Customizing Page Properties
Customizing Search Forms
Extending Component Dialogs
Extending Component Dialogs
Add a field to the Image dialog?
1. Extend Image component



sling:resourceSuperType=

“foundation/components/image”
2. Provide complete dialog structure

(=> copy/paste + add new field)
Before AEM 6.1
Extending Component Dialogs
Add a field to the Image dialog?
1. Extend Image component



sling:resourceSuperType=

“foundation/components/image”
2. Provide dialog diff only

New in AEM 6.1
Sling Resource Merger
Adds an extra section in the left
navigation in AEM
Introduced in AEM 6.0
√ Customize* out of the box UI
x Extend* component dialogs
(*) By providing the diff only
Adds an extra field to the
inherited dialog
Sling Resource Merger
New in AEM 6.1
√ Customize* out of the box UI
√ Extend* component dialogs
(*) By providing the diff only
Sling Resource Merger
=> Search path-based merge

resourceResolver.getResource(“/mnt/overlay/“ + relativePath)
=> Resource type hierarchy-based merge

resourceResolver.getResource(“/mnt/override/“ + absolutePath)
Used in Touch-optimized UI to

√ Allow customization of the product UI

√ Allow cq:dialogs extension
Extending Component Dialogs
1. Always start by creating node skeleton of the part to redefine

(subtree of nt:unstructured nodes, without properties)
2. Then, only provide the “diff”
• Add a node? => simply add it with its properties
• Add a property? => simply add the property
• Update a node? => simply add changed properties
• Reorder a node? => use sling:orderBefore=“nodeName”
• Remove a node? => use sling:hideResource=true
• Remove a property? => use sling:hideProperties=[“propertyName”]
Customizing Page Properties
Different views
Create Page Wizard
Edit Page Properties
Bulk Edit Page Properties
Create Page Wizard
Edit Page Properties
Bulk Edit Page Properties
Common definition
Page properties
=
Fields of Page component
dialog
Customizing Page Properties
Use flags to control rendering of nodes for a given view
• cq:showOnCreate {Boolean}
• cq:hideOnEdit {Boolean}
• allowBulkEdit {Boolean}
Demo
Customize Page Properties views
• Reorder “Title” field before “Name” field
• Only keep a subset of fields in “Create Page Wizard”
• Allow “Title” field to be bulk edited
Customizing Search Forms
Customizing Search Forms
Out of the box reusable Search Predicates
Leverage Sling Resource Merger overlays
Customizing Search Forms
What is a Search Predicate?
Wraps Granite UI component
Backed by AEM Search API
Contains a JavaScript client library
• resetSearchFilters event
• loadSavedQuery event
Make a custom predicate
available for customization
Adding custom predicate
by drag and drop
Demo
• Customize the Side Admin Search Rail
• Customize the Page Authoring Side Panel Asset Search
Summary
Extending Components Dialogs

Override as a diff

Use sling:hideResource, sling:hideProperties, sling:orderBefore
Customizing Page Properties

Extend Page Component Dialog

Use cq:showOnCreate, cq:hideOnEdit, allowBulkEdit flags
Customizing Search Forms

Create a new custom search predicate

Use the predicate in Site admin search rail 

Configure existing search predicates for Page Authoring side panel



Resources
Documentation
https://docs.adobe.com/docs/en/aem/6-1/develop/platform/sling-resource-merger.html
https://docs.adobe.com/docs/en/aem/6-1/develop/extending/customizing-page-properties.html
https://docs.adobe.com/docs/en/aem/6-1/administer/operations/search-forms.html
Code samples
https://github.com/Adobe-Marketing-Cloud/aem-sites-extension-search-predicate
https://github.com/Adobe-Marketing-Cloud/aem-authoring-extension-page-dialog
https://github.com/Adobe-Marketing-Cloud/aem-authoring-extension-assetfinder-flickr/tree/6.1
Slides

http://www.slideshare.net/martinischeery/aem-61-user-interface-customisation
!
Thank you!
Any questions?

More Related Content

PPTX
UI Customization in AEM 6.0
PPTX
User interface customization for aem6 circuit
PDF
AEM 6.1 User Interface Customization
PDF
User Interface customization for AEM 6
PPTX
AEM 6.0 - Author UI Customization & Features
PDF
CIRCUIT 2015 - Content API's For AEM Sites
PPTX
AEM 6.0 Touch-optimized UI
PPTX
AEM Evernote Sync
UI Customization in AEM 6.0
User interface customization for aem6 circuit
AEM 6.1 User Interface Customization
User Interface customization for AEM 6
AEM 6.0 - Author UI Customization & Features
CIRCUIT 2015 - Content API's For AEM Sites
AEM 6.0 Touch-optimized UI
AEM Evernote Sync

What's hot (20)

PDF
Sling Dynamic Include
PDF
Python Ireland Nov 2009 Talk - Appengine
PDF
Adobe Experience Manager Core Components
PPTX
Building assets on the fly with Node.js
PDF
AEM Best Practices for Component Development
PPTX
SharePoint 2010 Training Session 5
PPTX
SharePoint 2013 Hosted App Presentation by Roy Kim
PPTX
Build single page applications using AngularJS on AEM
PDF
Dynamic Components using Single-Page-Application Concepts in AEM/CQ
PPTX
Dynamic components using SPA concepts in AEM
PPTX
Sling Models Overview
PPTX
SharePoint Hosted Add-in with AngularJS and Bootstrap
PPTX
Introduction to Sightly and Sling Models
PPTX
Adobe AEM core components
PPTX
AEM GEMS Session Template Editor Sept 14 2016
PPTX
Gabriel Gayhart - XML Pointer File Example
PDF
AEM Sightly Deep Dive
PDF
Android Materials Design
PDF
Build single page applications using AngularJS on AEM
PPTX
Extra aem development tools by Justin Edelson
Sling Dynamic Include
Python Ireland Nov 2009 Talk - Appengine
Adobe Experience Manager Core Components
Building assets on the fly with Node.js
AEM Best Practices for Component Development
SharePoint 2010 Training Session 5
SharePoint 2013 Hosted App Presentation by Roy Kim
Build single page applications using AngularJS on AEM
Dynamic Components using Single-Page-Application Concepts in AEM/CQ
Dynamic components using SPA concepts in AEM
Sling Models Overview
SharePoint Hosted Add-in with AngularJS and Bootstrap
Introduction to Sightly and Sling Models
Adobe AEM core components
AEM GEMS Session Template Editor Sept 14 2016
Gabriel Gayhart - XML Pointer File Example
AEM Sightly Deep Dive
Android Materials Design
Build single page applications using AngularJS on AEM
Extra aem development tools by Justin Edelson
Ad

Similar to CIRCUIT 2015 - UI Customization in AEM 6.1 (20)

PPT
Making you, and your Clients Happy, by Using Reusable Components to Build Dru...
PPTX
Branding & Design Opportunities/Challenges with SharePoint 2013
PDF
Tutorial, Part 4: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
PDF
USGS-Projects
PPTX
SharePoint 2013 Branding
PPTX
NZYP Project Casestudy using SilverStripe CMS
PPTX
Deep dive into share point framework webparts
PDF
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
PPTX
Features and Context Overview
PDF
GlassFish v3 Lite Admin Console
PDF
Breaking the limits_of_page_objects
PPTX
SUG Bangalore - Extending Sitecore Experience Commerce 9 Business Tools
PPTX
Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...
PPTX
Taking Your First Steps with Webydo
PPSX
14 asp.net session20
PPTX
Share point 2013 Building Websites
PPT
Building and Deployment of Drupal sites with Features and Context
PDF
AMIS Oracle JDeveloper 12c 07 ADF faces skin editor-Betty van Dongen
PPT
Introduction to Vaadin
PDF
CKEditor Widgets with Drupal
Making you, and your Clients Happy, by Using Reusable Components to Build Dru...
Branding & Design Opportunities/Challenges with SharePoint 2013
Tutorial, Part 4: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
USGS-Projects
SharePoint 2013 Branding
NZYP Project Casestudy using SilverStripe CMS
Deep dive into share point framework webparts
Advanced SharePoint 2010 and 2013 Web Part Development by Rob Windsor - SPTec...
Features and Context Overview
GlassFish v3 Lite Admin Console
Breaking the limits_of_page_objects
SUG Bangalore - Extending Sitecore Experience Commerce 9 Business Tools
Better, Faster, Stronger! Boost Your Team-Based SharePoint Development Using ...
Taking Your First Steps with Webydo
14 asp.net session20
Share point 2013 Building Websites
Building and Deployment of Drupal sites with Features and Context
AMIS Oracle JDeveloper 12c 07 ADF faces skin editor-Betty van Dongen
Introduction to Vaadin
CKEditor Widgets with Drupal
Ad

More from ICF CIRCUIT (12)

PDF
CIRCUIT 2015 - Hybrid App Development with AEM Apps
PDF
CIRCUIT 2015 - AEM Infrastructure Automation with Chef Cookbooks
PDF
CIRCUIT 2015 - Monitoring AEM
PDF
CIRCUIT 2015 - Akamai: Caching and Beyond
PDF
CIRCUIT 2015 - Free Beer and Testing
PDF
CIRCUIT 2015 - Responsive Websites & Grid-Based Layouts
PDF
CIRCUIT 2015 - Glimpse of perceptual diff
PDF
CIRCUIT 2015 - Orchestrate your story with interactive video and web content
PDF
How to migrate from any CMS (thru the front-door)
PDF
Maximize the power of OSGi in AEM
PDF
CIRCUIT 2015 - 10 Things Apache Sling Can Do
PDF
Circuit 2015 Keynote - Carsten Ziegeler
CIRCUIT 2015 - Hybrid App Development with AEM Apps
CIRCUIT 2015 - AEM Infrastructure Automation with Chef Cookbooks
CIRCUIT 2015 - Monitoring AEM
CIRCUIT 2015 - Akamai: Caching and Beyond
CIRCUIT 2015 - Free Beer and Testing
CIRCUIT 2015 - Responsive Websites & Grid-Based Layouts
CIRCUIT 2015 - Glimpse of perceptual diff
CIRCUIT 2015 - Orchestrate your story with interactive video and web content
How to migrate from any CMS (thru the front-door)
Maximize the power of OSGi in AEM
CIRCUIT 2015 - 10 Things Apache Sling Can Do
Circuit 2015 Keynote - Carsten Ziegeler

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Big Data Technologies - Introduction.pptx
PPT
Teaching material agriculture food technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
KodekX | Application Modernization Development
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Electronic commerce courselecture one. Pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
Spectral efficient network and resource selection model in 5G networks
Mobile App Security Testing_ A Comprehensive Guide.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Reach Out and Touch Someone: Haptics and Empathic Computing
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The Rise and Fall of 3GPP – Time for a Sabbatical?
Big Data Technologies - Introduction.pptx
Teaching material agriculture food technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
KodekX | Application Modernization Development
Digital-Transformation-Roadmap-for-Companies.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Electronic commerce courselecture one. Pdf
Network Security Unit 5.pdf for BCA BBA.

CIRCUIT 2015 - UI Customization in AEM 6.1