how to call layout from UI component button?

by Asad Ullah   Last Updated March 14, 2019 17:09 PM - source

I want to jump from one UI_COMPONENT to another UI_COMPONENT through layout file and hopefully passing URL in button

This is my Ui_component file

<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
            <button name="duplicate" >
            <url path ="duplicate/index/index"/>
                <label >duplicate </label>


and want to call my layout but it gives me 404 error this is my layout file name "duplicate_index_index"

<page xmlns:xsi=""
<update handle="styles"/>
    <referenceContainer name="content">
        <uiComponent name="duplicate_detail"/>

Related Questions

Magento 2 - How to add the DateTime UI Component

Updated August 20, 2016 08:03 AM

What is reverseMetadataMerge in UI Components?

Updated January 11, 2017 08:03 AM