how to call layout from UI component button?

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

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

Updated April 06, 2016 09:03 AM

Updated March 04, 2016 01:04 AM

Updated August 20, 2016 08:03 AM

Updated January 11, 2017 08:03 AM

Updated February 24, 2017 13:09 PM