{"id":29,"date":"2014-11-13T10:59:00","date_gmt":"2014-11-13T10:59:00","guid":{"rendered":"https:\/\/scgindia.in\/lhotsetechnologies\/dev\/2014\/11\/13\/custom-action-in-configuration-bar-in-aem\/"},"modified":"2019-09-19T13:10:48","modified_gmt":"2019-09-19T13:10:48","slug":"custom-action-in-configuration-bar-in-aem","status":"publish","type":"post","link":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/","title":{"rendered":"Custom Action in Configuration Bar in AEM"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">In my last post, I explained, how to create configuration bar in <b><i>CQ using cq:EditConfig<\/i><\/b> node as well as using <b><i>Ext &#8211; JS.&nbsp;<\/i><\/b><\/span><span style=\"color: #274e13;\">When I was doing that <b><i>R &amp; D<\/i><\/b> a question come in my mind that using <\/span><b style=\"color: #274e13;\"><i>cq:actions<\/i><\/b><span style=\"color: #274e13;\"> property of&nbsp;<\/span><b style=\"color: #274e13;\"><i>cq:EditConfig node,<\/i><\/b><span style=\"color: #274e13;\">&nbsp;we are restricted to used only few operation i.e. <\/span><i style=\"color: #274e13;\">EDIT, DELETE, COPYMOVE, INSERT &amp; TEXT.<\/i><\/div>\n<div style=\"text-align: justify;\"><i><b><span style=\"color: #274e13;\">&nbsp;<\/span><\/b><\/i><\/div>\n<div style=\"text-align: justify;\"><i><b><span style=\"color: #274e13;\">What <\/span><span style=\"color: #274e13;\">if I want to create my own custom action?&nbsp;<\/span><span style=\"color: #274e13;\">How will I achieve it?<\/span><\/b><\/i><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">So In this post, I will explain how to add custom action into configuration bar.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><b><span style=\"color: #660000;\">Agenda<\/span><\/b><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b><i>1). Use of cq:actionConfigs node.<\/i><\/b><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b><i>2). Custom Action creation.<\/i><\/b><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">For doing this I create a project structure as shown below &#8211;&nbsp;<\/span><\/div>\n<div style=\"clear: both; text-align: center;\"><a style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\" href=\"https:\/\/3.bp.blogspot.com\/-HPWtj2WsHDo\/VGRe1JYghEI\/AAAAAAAAA5A\/tctWsnoQjYA\/s1600\/image1.1.png\"><span style=\"color: #274e13;\"><img decoding=\"async\" src=\"http:\/\/3.bp.blogspot.com\/-HPWtj2WsHDo\/VGRe1JYghEI\/AAAAAAAAA5A\/tctWsnoQjYA\/s1600\/image1.1.png\" border=\"0\"><\/span><\/a><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">Here I create a simple component named as <b><i>customActionForConfBar<\/i><\/b>.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">Create a <b><i>cq:EditConfig<\/i><\/b> node under your component.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>&nbsp;<\/b><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>Brief Introduction of cq:editConfig-<\/b><\/span><\/div>\n<div style=\"text-align: justify;\"><i><span style=\"color: #660000;\">&#8220;Edit config node is used to change the behaviour of a component.&#8221;<\/span><\/i><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">under <b><i>cq:editConfig<\/i><\/b> node create a node having primary type <b><i>nt:unstructured<\/i><\/b>, name it as <b><i>cq:actionConfigs<\/i><\/b>.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><i>&nbsp;<\/i><\/span><\/div>\n<div style=\"text-align: justify;\"><i><span style=\"color: #660000;\">&#8221; cq:actionConfigs node is used to append new action to the actions specified in cq:actions &nbsp;property of cq:editConfig node of your component.&#8221;<\/span><\/i><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">Under <b><i>cq:actionConfigs<\/i><\/b> node create nodes of type <b><i>nt:unstructured<\/i><\/b>. If you want two action then add two node of any name.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">In my case, I create two nodes seperator &amp; customAction used for &#8211;&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>seperator<\/b> &#8211; &nbsp;for adding a&nbsp;separation<\/span><span style=\"color: #274e13;\">&nbsp;(|) between two actions.&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>customAction<\/b> &#8211; This node denote my custom action.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">at <b><i>cq:editConfig<\/i><\/b> node add&nbsp;properties&nbsp;as displayed &#8211;&nbsp;<\/span><\/div>\n<div style=\"clear: both; text-align: center;\"><a style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\" href=\"https:\/\/2.bp.blogspot.com\/-z5K0VodqbzI\/VGRttKX2leI\/AAAAAAAAA5Q\/De6P4xa0pmk\/s1600\/image2.2.png\"><span style=\"color: #274e13;\"><img decoding=\"async\" src=\"http:\/\/2.bp.blogspot.com\/-z5K0VodqbzI\/VGRttKX2leI\/AAAAAAAAA5Q\/De6P4xa0pmk\/s1600\/image2.2.png\" border=\"0\"><\/span><\/a><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">at <\/span><b style=\"color: #274e13;\"><i>seperator node<\/i><\/b><span style=\"color: #274e13;\"> add properties as &nbsp;&#8211;&nbsp;<\/span><\/div>\n<div style=\"clear: both; text-align: center;\"><a style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\" href=\"https:\/\/1.bp.blogspot.com\/-mdjMbgYTK4g\/VGRud43GdAI\/AAAAAAAAA5Y\/mclrebrP7Ng\/s1600\/image3.3.png\"><span style=\"color: #274e13;\"><img decoding=\"async\" src=\"http:\/\/1.bp.blogspot.com\/-mdjMbgYTK4g\/VGRud43GdAI\/AAAAAAAAA5Y\/mclrebrP7Ng\/s1600\/image3.3.png\" border=\"0\"><\/span><\/a><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\">&nbsp;<\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">at <b><i>customAction node <\/i><\/b>add properties as &#8211;<\/span><\/div>\n<div style=\"clear: both; text-align: center;\"><a style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\" href=\"https:\/\/2.bp.blogspot.com\/-mrKwkjLXY_Q\/VGRu9cJzuGI\/AAAAAAAAA5g\/fDkoaDWYd_E\/s1600\/image4.4.png\"><span style=\"color: #274e13;\"><img decoding=\"async\" src=\"http:\/\/2.bp.blogspot.com\/-mrKwkjLXY_Q\/VGRu9cJzuGI\/AAAAAAAAA5g\/fDkoaDWYd_E\/s1600\/image4.4.png\" border=\"0\"><\/span><\/a><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">This node is main for creating custom action. Here I add two properties&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>text &#8211;<\/b> This property is used to add the name to the configuration bar. i.e. At configuration bar you will see one more button named as<b><i> &#8220;My Action&#8221;<\/i><\/b>.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\"><b>handler &#8211; <\/b>This property is used to define a action or function to be done when this <b><i>&#8220;My Action&#8221;<\/i><\/b> button has been clicked on web page. This handler defines a javascript function. So in my case I want to open a new dialog box of it&#8217;s child component. My JS code is &#8211;&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><i><span style=\"color: #660000;\">function(){&nbsp;<\/span><\/i><\/div>\n<div style=\"text-align: justify;\"><i><span style=\"color: #660000;\"> var editRollOver = CQ.utils.WCM.getEditable(this.path+&#8221;\/childcomponent&#8221; ); <\/span><\/i><\/div>\n<div style=\"text-align: justify;\"><i><span style=\"color: #660000;\"> CQ.wcm.EditBase.showDialog(editRollOver, CQ.wcm.EditBase.EDIT);<\/span><\/i><\/div>\n<div style=\"text-align: justify;\"><i><span style=\"color: #660000;\">}<\/span><\/i><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">This function is first getting a roll over configuration of my child component named as &#8220;<b><i>childComponent<\/i><\/b>&#8221; &amp; then open it&#8217;s dialog.&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">As I have another component named as <b><i>childComponent<\/i><\/b> as displayed in my project structure. I will open <b><i>childComponent<\/i><\/b> dialog when I click on <b><i>&#8220;My Action&#8221;<\/i><\/b> button of configuration bar of <b><i>customActionForConfBar<\/i><\/b> component. for creating component within component refer my <a href=\"http:\/\/versatileankur.blogspot.in\/2014\/11\/component-with-default-components-in-cq5.html\" target=\"_blank\" rel=\"noopener noreferrer\">Component with in Component blog post<\/a>.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"text-align: justify;\"><b><span style=\"color: #660000;\">Note :&nbsp;<\/span><\/b>&nbsp;<\/p>\n<div><b><span style=\"color: #274e13;\">1).&nbsp;<i>Do not create parsys node just use your component node directly &amp; include your child component in&nbsp;<\/i><\/span><span style=\"color: #274e13; font-style: italic;\">customActionForConfBar.jsp file. so your jsp file code becomes &nbsp;&#8211;&nbsp;<\/span><\/b><\/div>\n<div><span style=\"background-color: #eefff0; color: #660000; font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 15px; line-height: 21.559999465942383px;\"><i>&lt;%@include file=&#8221;\/libs\/foundation\/global.jsp&#8221;%&gt;<\/i><\/span><br \/>\n<span style=\"background-color: #eefff0; color: #660000; font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 15px; line-height: 21.559999465942383px;\"><i>&lt;b&gt;Container Component with default component in parsys&lt;\/b&gt;&lt;br\/&gt;&lt;br\/&gt;<\/i><\/span><br \/>\n<span style=\"background-color: #eefff0; color: #660000; font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 15px; line-height: 21.559999465942383px;\"><i><b>&lt;cq:include path =&#8221;childcomponent&#8221; resourceType =&#8221;blog\/components\/content\/childComponent&#8221; \/&gt;&nbsp;<\/b>&lt;br\/&gt;<\/i><\/span><span style=\"background-color: #eefff0; color: #660000; font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 15px; line-height: 21.559999465942383px;\"><i>&lt;b&gt;End of Container Component&lt;\/b&gt;<\/i><\/span><br \/>\n<span style=\"background-color: #eefff0; color: #660000; font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 15px; line-height: 21.559999465942383px;\"><i><br \/>\n<\/i><\/span><\/div>\n<p><b><span style=\"color: #274e13;\">2).&nbsp;<i>Change childComponent componentGroup property to .hidden as it&#8217;s created only for custom action &amp; also remove any code from it&#8217;s jsp file.<\/i><\/span><\/b><\/p>\n<\/div>\n<div style=\"text-align: justify;\"><span style=\"background-color: #eefff0; color: #660000; font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 15px; line-height: 21.559999465942383px;\"><i>&nbsp;<\/i><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">Everything is done now. go to your web page and drop <b><i>customActionForConfBar<\/i><\/b> component. you will see a configuration bar with custom action &amp; when you click on this button you will see a screen as&nbsp;<\/span><\/div>\n<div style=\"clear: both; text-align: center;\"><a style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\" href=\"https:\/\/4.bp.blogspot.com\/-QQQQhsggCdQ\/VGR3xSLJW_I\/AAAAAAAAA54\/aJNYovf33sM\/s1600\/image5.5.png\"><span style=\"color: #274e13;\"><img fetchpriority=\"high\" decoding=\"async\" src=\"http:\/\/4.bp.blogspot.com\/-QQQQhsggCdQ\/VGR3xSLJW_I\/AAAAAAAAA54\/aJNYovf33sM\/s640\/image5.5.png\" width=\"640\" height=\"222\" border=\"0\"><\/span><\/a><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13;\">&nbsp;<\/span><\/div>\n<div style=\"clear: both; text-align: center;\">&nbsp;<\/div>\n<div style=\"text-align: justify;\"><b><span style=\"color: #660000;\">&nbsp;<\/span><\/b><\/div>\n<div style=\"text-align: justify;\"><b><span style=\"color: #660000;\">github repository link<\/span><\/b><\/div>\n<div style=\"text-align: justify;\"><b style=\"background-color: #eefff0; font-family: 'Times New Roman', Times, FreeSerif, serif; font-size: 15px; line-height: 21.559999465942383px;\"><i><span style=\"color: #274e13;\"><a href=\"https:\/\/github.com\/vietankur009\/blog.git\">https:\/\/github.com\/vietankur009\/blog.git<\/a><\/span><\/i><\/b><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong>Happy Coding<\/strong><br \/>\n<strong>Namah Shivay<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my last post, I explained, how to create configuration bar in CQ using cq:EditConfig node as well as using [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,103,82,101,102,104,105],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-aem","category-configuratiion-bar-in-cq","category-cq5","category-custom-action-cq5","category-custom-action-in-configuration-bar-aem","category-custom-action-in-configuration-bar-cq","category-custom-actions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Custom Action in Configuration Bar in AEM - AEM Blog | Lhotse Technologies<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom Action in Configuration Bar in AEM - AEM Blog | Lhotse Technologies\" \/>\n<meta property=\"og:description\" content=\"In my last post, I explained, how to create configuration bar in CQ using cq:EditConfig node as well as using [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/\" \/>\n<meta property=\"og:site_name\" content=\"AEM Blog | Lhotse Technologies\" \/>\n<meta property=\"article:published_time\" content=\"2014-11-13T10:59:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-09-19T13:10:48+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/3.bp.blogspot.com\/-HPWtj2WsHDo\/VGRe1JYghEI\/AAAAAAAAA5A\/tctWsnoQjYA\/s1600\/image1.1.png\" \/>\n<meta name=\"author\" content=\"Team Lhotse\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Team Lhotse\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/\"},\"author\":{\"name\":\"Team Lhotse\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d\"},\"headline\":\"Custom Action in Configuration Bar in AEM\",\"datePublished\":\"2014-11-13T10:59:00+00:00\",\"dateModified\":\"2019-09-19T13:10:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/\"},\"wordCount\":681,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/3.bp.blogspot.com\/-HPWtj2WsHDo\/VGRe1JYghEI\/AAAAAAAAA5A\/tctWsnoQjYA\/s1600\/image1.1.png\",\"articleSection\":[\"AEM\",\"Configuratiion bar in CQ\",\"CQ5\",\"custom action cq5\",\"custom action in configuration bar aem\",\"custom action in configuration bar cq\",\"Custom actions\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/\",\"name\":\"Custom Action in Configuration Bar in AEM - AEM Blog | Lhotse Technologies\",\"isPartOf\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/3.bp.blogspot.com\/-HPWtj2WsHDo\/VGRe1JYghEI\/AAAAAAAAA5A\/tctWsnoQjYA\/s1600\/image1.1.png\",\"datePublished\":\"2014-11-13T10:59:00+00:00\",\"dateModified\":\"2019-09-19T13:10:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#primaryimage\",\"url\":\"http:\/\/3.bp.blogspot.com\/-HPWtj2WsHDo\/VGRe1JYghEI\/AAAAAAAAA5A\/tctWsnoQjYA\/s1600\/image1.1.png\",\"contentUrl\":\"http:\/\/3.bp.blogspot.com\/-HPWtj2WsHDo\/VGRe1JYghEI\/AAAAAAAAA5A\/tctWsnoQjYA\/s1600\/image1.1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lhotsetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom Action in Configuration Bar in AEM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/\",\"name\":\"AEM Blog | Lhotse Technologies\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lhotsetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\",\"name\":\"AEM Blog | Lhotse Technologies\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png\",\"contentUrl\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png\",\"width\":539,\"height\":172,\"caption\":\"AEM Blog | Lhotse Technologies\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d\",\"name\":\"Team Lhotse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"Team Lhotse\"},\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/author\/team-lhotse\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Custom Action in Configuration Bar in AEM - AEM Blog | Lhotse Technologies","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/","og_locale":"en_US","og_type":"article","og_title":"Custom Action in Configuration Bar in AEM - AEM Blog | Lhotse Technologies","og_description":"In my last post, I explained, how to create configuration bar in CQ using cq:EditConfig node as well as using [&hellip;]","og_url":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/","og_site_name":"AEM Blog | Lhotse Technologies","article_published_time":"2014-11-13T10:59:00+00:00","article_modified_time":"2019-09-19T13:10:48+00:00","og_image":[{"url":"http:\/\/3.bp.blogspot.com\/-HPWtj2WsHDo\/VGRe1JYghEI\/AAAAAAAAA5A\/tctWsnoQjYA\/s1600\/image1.1.png","type":"","width":"","height":""}],"author":"Team Lhotse","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Team Lhotse","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#article","isPartOf":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/"},"author":{"name":"Team Lhotse","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d"},"headline":"Custom Action in Configuration Bar in AEM","datePublished":"2014-11-13T10:59:00+00:00","dateModified":"2019-09-19T13:10:48+00:00","mainEntityOfPage":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/"},"wordCount":681,"commentCount":0,"publisher":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#primaryimage"},"thumbnailUrl":"http:\/\/3.bp.blogspot.com\/-HPWtj2WsHDo\/VGRe1JYghEI\/AAAAAAAAA5A\/tctWsnoQjYA\/s1600\/image1.1.png","articleSection":["AEM","Configuratiion bar in CQ","CQ5","custom action cq5","custom action in configuration bar aem","custom action in configuration bar cq","Custom actions"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/","url":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/","name":"Custom Action in Configuration Bar in AEM - AEM Blog | Lhotse Technologies","isPartOf":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#primaryimage"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#primaryimage"},"thumbnailUrl":"http:\/\/3.bp.blogspot.com\/-HPWtj2WsHDo\/VGRe1JYghEI\/AAAAAAAAA5A\/tctWsnoQjYA\/s1600\/image1.1.png","datePublished":"2014-11-13T10:59:00+00:00","dateModified":"2019-09-19T13:10:48+00:00","breadcrumb":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#primaryimage","url":"http:\/\/3.bp.blogspot.com\/-HPWtj2WsHDo\/VGRe1JYghEI\/AAAAAAAAA5A\/tctWsnoQjYA\/s1600\/image1.1.png","contentUrl":"http:\/\/3.bp.blogspot.com\/-HPWtj2WsHDo\/VGRe1JYghEI\/AAAAAAAAA5A\/tctWsnoQjYA\/s1600\/image1.1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/lhotsetechnologies.com\/blog\/custom-action-in-configuration-bar-in-aem\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lhotsetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Custom Action in Configuration Bar in AEM"}]},{"@type":"WebSite","@id":"https:\/\/lhotsetechnologies.com\/blog\/#website","url":"https:\/\/lhotsetechnologies.com\/blog\/","name":"AEM Blog | Lhotse Technologies","description":"","publisher":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lhotsetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization","name":"AEM Blog | Lhotse Technologies","url":"https:\/\/lhotsetechnologies.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png","contentUrl":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png","width":539,"height":172,"caption":"AEM Blog | Lhotse Technologies"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d","name":"Team Lhotse","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"Team Lhotse"},"url":"https:\/\/lhotsetechnologies.com\/blog\/author\/team-lhotse\/"}]}},"_links":{"self":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":2,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"predecessor-version":[{"id":568,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/29\/revisions\/568"}],"wp:attachment":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}