{"id":331428,"date":"2022-04-27T10:18:08","date_gmt":"2022-04-27T10:18:08","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=331428"},"modified":"2022-05-06T12:01:06","modified_gmt":"2022-05-06T12:01:06","slug":"sliding-panels-in-magento-2-admin","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/","title":{"rendered":"Sliding Panels in Magento 2 Admin"},"content":{"rendered":"\n<p>We are going to create&nbsp;<strong>Sliding Panels<\/strong>&nbsp;in the Magento 2 Admin by clicking on a custom button. <\/p>\n\n\n\n<p>Create a custom button on the product add\/edit page and on the button click, open a popup with some fields\/contents.<\/p>\n\n\n\n<p><strong>Add a custom button (SlidePanel) to the product edit page.<\/strong><\/p>\n\n\n\n<p>For this, need to make some changes to a&nbsp;<strong>product-form.xml file,<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">app\\code\\Vendor\\Extension\\view\\adminhtml\\ui_component\\product_form.xml<\/pre>\n\n\n\n<p>Add the following code to the product_form.xml file.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n \n&lt;form xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:module:Magento_Ui:etc\/ui_configuration.xsd&quot;&gt;\n    &lt;settings&gt;\n        &lt;buttons&gt;\n            &lt;button name=&quot;openModel&quot; class=&quot;Vendor\\Extension\\Block\\Adminhtml\\Product\\Edit\\AddModelButton&quot;\/&gt;\n        &lt;\/buttons&gt;\n    &lt;\/settings&gt;\n    &lt;modal name=&quot;test_model&quot;&gt;\n        &lt;settings&gt;\n            &lt;options&gt;\n                &lt;option name=&quot;buttons&quot; xsi:type=&quot;array&quot;&gt;\n                    &lt;item name=&quot;0&quot; xsi:type=&quot;array&quot;&gt;\n                        &lt;item name=&quot;text&quot; xsi:type=&quot;string&quot;&gt;Done&lt;\/item&gt;\n                        &lt;item name=&quot;class&quot; xsi:type=&quot;string&quot;&gt;action-primary&lt;\/item&gt;\n                        &lt;item name=&quot;actions&quot; xsi:type=&quot;array&quot;&gt;\n                            &lt;item name=&quot;0&quot; xsi:type=&quot;array&quot;&gt;\n                                &lt;item name=&quot;targetName&quot; xsi:type=&quot;string&quot;&gt;${ $.name }&lt;\/item&gt;\n                                &lt;item name=&quot;actionName&quot; xsi:type=&quot;string&quot;&gt;actionDone&lt;\/item&gt;\n                            &lt;\/item&gt;\n                        &lt;\/item&gt;\n                    &lt;\/item&gt;\n                &lt;\/option&gt;\n                &lt;option name=&quot;title&quot; xsi:type=&quot;string&quot;&gt;CUSTOM MODEL&lt;\/option&gt;\n            &lt;\/options&gt;\n            &lt;onCancel&gt;actionDone&lt;\/onCancel&gt;\n        &lt;\/settings&gt;\n        &lt;fieldset name=&quot;general&quot; sortOrder=&quot;10&quot;&gt;\n            &lt;settings&gt;\n                &lt;label\/&gt;\n            &lt;\/settings&gt;\n            &lt;field name=&quot;test1&quot; sortOrder=&quot;10&quot; formElement=&quot;input&quot;&gt;\n                &lt;settings&gt;\n                    &lt;dataType&gt;text&lt;\/dataType&gt;\n                    &lt;label translate=&quot;true&quot;&gt;Test 1&lt;\/label&gt;\n                    &lt;dataScope&gt;test1&lt;\/dataScope&gt;\n                    &lt;validation&gt;\n                        &lt;rule name=&quot;required-entry&quot; xsi:type=&quot;boolean&quot;&gt;true&lt;\/rule&gt;\n                    &lt;\/validation&gt;\n                &lt;\/settings&gt;\n            &lt;\/field&gt;\n            &lt;field name=&quot;test2&quot; sortOrder=&quot;20&quot; formElement=&quot;textarea&quot;&gt;\n                &lt;settings&gt;\n                    &lt;label translate=&quot;true&quot;&gt;Test 2&lt;\/label&gt;\n                    &lt;dataType&gt;text&lt;\/dataType&gt;\n                    &lt;dataScope&gt;test2&lt;\/dataScope&gt;\n                &lt;\/settings&gt;\n            &lt;\/field&gt;\n        &lt;\/fieldset&gt;\n    &lt;\/modal&gt;\n&lt;\/form&gt;<\/pre>\n\n\n\n<p>While declaring the button, we defined a class for it. Let&#8217;s add the below code at the path<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">app\\code\\Vendor\\Extenstion\\Block\\Adminhtml\\Product\\Edit\\AddModelButton.php<\/pre>\n\n\n\n<p><strong>Button Code :<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n \nnamespace Vendor\\Extension\\Block\\Adminhtml\\Product\\Edit;\n \nuse Magento\\Framework\\View\\Element\\UiComponent\\Control\\ButtonProviderInterface;\n \nclass AddModelButton implements ButtonProviderInterface\n{\n    public function getButtonData()\n    {\n        return &#091;\n            &#039;label&#039; =&gt; __(&#039;Slide Panel&#039;),\n            &#039;class&#039; =&gt; &#039;action-secondary&#039;,\n            &#039;data_attribute&#039; =&gt; &#091;\n                &#039;mage-init&#039; =&gt; &#091;\n                    &#039;Magento_Ui\/js\/form\/button-adapter&#039; =&gt; &#091;\n                        &#039;actions&#039; =&gt; &#091;\n                            &#091;\n                                &#039;targetName&#039; =&gt; &#039;product_form.product_form.test_model&#039;,\n                                &#039;actionName&#039; =&gt; &#039;toggleModal&#039;\n                            ]\n                        ]\n                    ]\n                ]\n            ],\n            &#039;on_click&#039; =&gt; &#039;&#039;,\n            &#039;sort_order&#039; =&gt; 10\n        ];\n    }\n}<\/pre>\n\n\n\n<p><strong>Run the following commands :<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">php bin\/magento s:up\nphp bin\/magento s:d:c\nphp bin\/magento c:f<\/pre>\n\n\n\n<p><strong>The result will be :<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"594\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56-1200x594.png\" alt=\"Sliding Panels in Magento 2 Admin\" class=\"wp-image-331541\" title=\"Sliding Panels in Magento 2 Admin\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56-1200x594.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56-300x148.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56-250x124.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56-768x380.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56.png 1269w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"536\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-41-36-1200x536.png\" alt=\"Sliding Panels in Magento 2 Admin\" class=\"wp-image-331542\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-41-36-1200x536.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-41-36-300x134.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-41-36-250x112.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-41-36-768x343.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-41-36-604x270.png 604w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-41-36.png 1284w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>This is a custom sliding panel or popup in the <a href=\"https:\/\/docs.magento.com\/user-guide\/stores\/admin.html\">admin panel.<\/a><\/p>\n\n\n\n<p>Happy Coding !!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are going to create&nbsp;Sliding Panels&nbsp;in the Magento 2 Admin by clicking on a custom button. Create a custom button on the product add\/edit page and on the button click, open a popup with some fields\/contents. Add a custom button (SlidePanel) to the product edit page. For this, need to make some changes to a&nbsp;product-form.xml <a href=\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":378,"featured_media":331541,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[12652,12651,2070,12653],"class_list":["post-331428","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento2","tag-admin-popup","tag-admin-sliding-panel","tag-magento2","tag-magento2-sliding-panel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Sliding Panels in Magento 2 Admin - Webkul Blog<\/title>\n<meta name=\"description\" content=\"We are going to create\u00a0Sliding Panels\u00a0in the Magento 2 Admin by clicking on a custom button. Create a custom button on the..\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sliding Panels in Magento 2 Admin - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"We are going to create\u00a0Sliding Panels\u00a0in the Magento 2 Admin by clicking on a custom button. Create a custom button on the..\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-27T10:18:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-06T12:01:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1269\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ashish Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashish Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/\"},\"author\":{\"name\":\"Ashish Kumar\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/57d23646a58691882a6bd0baf5dadc21\"},\"headline\":\"Sliding Panels in Magento 2 Admin\",\"datePublished\":\"2022-04-27T10:18:08+00:00\",\"dateModified\":\"2022-05-06T12:01:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/\"},\"wordCount\":121,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56.png\",\"keywords\":[\"admin popup\",\"admin sliding panel\",\"Magento2\",\"magento2 sliding panel\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/\",\"url\":\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/\",\"name\":\"Sliding Panels in Magento 2 Admin - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56.png\",\"datePublished\":\"2022-04-27T10:18:08+00:00\",\"dateModified\":\"2022-05-06T12:01:06+00:00\",\"description\":\"We are going to create\u00a0Sliding Panels\u00a0in the Magento 2 Admin by clicking on a custom button. Create a custom button on the..\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56.png\",\"width\":1269,\"height\":628,\"caption\":\"Screenshot-from-2022-04-27-15-40-56\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sliding Panels in Magento 2 Admin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/57d23646a58691882a6bd0baf5dadc21\",\"name\":\"Ashish Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3ade0803c37d8f9fe88d8255d0db5361c67b2bc36a6bafa1b3e8804285115c9b?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3ade0803c37d8f9fe88d8255d0db5361c67b2bc36a6bafa1b3e8804285115c9b?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Ashish Kumar\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/ashishkumar-mg770\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sliding Panels in Magento 2 Admin - Webkul Blog","description":"We are going to create\u00a0Sliding Panels\u00a0in the Magento 2 Admin by clicking on a custom button. Create a custom button on the..","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:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/","og_locale":"en_US","og_type":"article","og_title":"Sliding Panels in Magento 2 Admin - Webkul Blog","og_description":"We are going to create\u00a0Sliding Panels\u00a0in the Magento 2 Admin by clicking on a custom button. Create a custom button on the..","og_url":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2022-04-27T10:18:08+00:00","article_modified_time":"2022-05-06T12:01:06+00:00","og_image":[{"width":1269,"height":628,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56.png","type":"image\/png"}],"author":"Ashish Kumar","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Ashish Kumar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/"},"author":{"name":"Ashish Kumar","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/57d23646a58691882a6bd0baf5dadc21"},"headline":"Sliding Panels in Magento 2 Admin","datePublished":"2022-04-27T10:18:08+00:00","dateModified":"2022-05-06T12:01:06+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/"},"wordCount":121,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56.png","keywords":["admin popup","admin sliding panel","Magento2","magento2 sliding panel"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/","url":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/","name":"Sliding Panels in Magento 2 Admin - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56.png","datePublished":"2022-04-27T10:18:08+00:00","dateModified":"2022-05-06T12:01:06+00:00","description":"We are going to create\u00a0Sliding Panels\u00a0in the Magento 2 Admin by clicking on a custom button. Create a custom button on the..","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2022\/04\/Screenshot-from-2022-04-27-15-40-56.png","width":1269,"height":628,"caption":"Screenshot-from-2022-04-27-15-40-56"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/sliding-panels-in-magento-2-admin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Sliding Panels in Magento 2 Admin"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/57d23646a58691882a6bd0baf5dadc21","name":"Ashish Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3ade0803c37d8f9fe88d8255d0db5361c67b2bc36a6bafa1b3e8804285115c9b?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3ade0803c37d8f9fe88d8255d0db5361c67b2bc36a6bafa1b3e8804285115c9b?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Ashish Kumar"},"url":"https:\/\/webkul.com\/blog\/author\/ashishkumar-mg770\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/331428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/378"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=331428"}],"version-history":[{"count":2,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/331428\/revisions"}],"predecessor-version":[{"id":333162,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/331428\/revisions\/333162"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/331541"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=331428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=331428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=331428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}