Skip to main content

How to create Design dialog in Touch UI: AEM6.3


Level: Easy

Design Dialog

How to create design dialog in Touch UI 



Here are few simple steps to create a Design Dialog

Step 1: Open /crx/de from your AEM instance {http://localhost:4502/crx/de/index.jsp}
Step 2: Select the content folder under the project > components
Step 3: Click create  and provide the details as shown below


Step 4: Change the .jsp to .html. on  clicking on the .jsp filename

 Step 5: Select the component and create a node 
step 6: Enter name as cq:design_dialog
Step 7: save
Step 8: Add property for cq:design_dialog 
sling:resourceType - string -cq/gui/components/authoring/dialog as shown below 
Step 9: create below nodes as shown one below the other 

node
Name
Type
value
Content




sling:resourceType
String
granite/ui/components/coral/foundation/fixedcolumns

items








Column


sling:resourceType
String
granite/ui/components/coral/foundation/container



items








text
fieldLabel
String
Text





name
String
./text





sling:resourceType
String
granite/ui/components/coral/foundation/form/textfield

step 10: open the component file designdialog.html and remove all the text and enter the below script 

 
This is my design dialog here is what you entered inthe Design dialog:-> ${currentStyle.text}


step 11: Drag and drop this component on to the page and go to design mode to author it 
step12 : we can see the content is rendering on the page.






-----
Thanks 
Tharun 

Please leave you comments and suggestions below

Comments

Popular posts from this blog

AEM System Console Access

How to Give System console Access: Steps to provide access to system console or AEM OSGI console permissions: Navigate to /system/console/configMgr ctrl+F search for " Apache Sling Web Console   Security Provider " Click the "edit" button next to " Apache Sling Web  Console   Security Provider " Add users/groups to the appropriate field.  It expects a comma separated list (i.e admin,testuser, ...) Click save

How to change Admin password in AEM 6.3

Level:Easy How to change admin password in AEM 6.3/6.4 Step:1 login to Aem instance with you default id and password {admin:admin} Step:2 Click on the icon on the right top corners marked with arrow 1 and a drop down menu will show up. Step: 3  Click "profile" option as shown in the image  Step: 4 select the option and change password. enter your new password and confirm it  Step 5 : save  Step 6 : close