# Link in admin menu to plugin configuration

**URL:** <https://forum.shopware.com/t/link-in-admin-menu-to-plugin-configuration/65070>\
**Category:** Programming (EN)\
**Created:** [28. Februar 2020 um 09:21 UTC](https://forum.shopware.com/t/link-in-admin-menu-to-plugin-configuration/65070 "2020-02-28T09:21:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pascal1988](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@Pascal1988](https://forum.shopware.com/u/Pascal1988)\
**Post date:** [28. Februar 2020 um 09:21 UTC](https://forum.shopware.com/t/link-in-admin-menu-to-plugin-configuration/65070/1 "2020-02-28T09:21:26Z")

</div>

I have a custom module with a new entry in the administration menu. A&nbsp;suboption of that menu should go directly to the plugin options. I&nbsp;expected something like this to work:

&nbsp;

```
routes: {
    config: {
        component: 'sw-plugin-config',
        path: 'settings/:namespace',
        meta: {
            parentPath: 'sw.plugin.index'
        },

        props: {
            namespace: 'MyPlugin',
        }
    }
},

navigation: [
    {
        id: 'myplugin-config',
        label: 'Config',
        path: 'my.plugin.config',
        icon: 'default-object-lab-flask'
    }
]

```

This throws the following error: “Encountered an error while loading the configuration:Bundle by name “undefined” not found.”

It does work though when i’m on the plugin page and click the menu option … so it seems there’s some page param that is there on the plugin page that is not there on other pages.

maybe there’s a way to just serve an absolute path? or something&nbsp;

---

<div class="post-metadata">

**Author:** ![padaja](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@padaja](https://forum.shopware.com/u/padaja)\
**Post date:** [3. Januar 2021 um 13:07 UTC](https://forum.shopware.com/t/link-in-admin-menu-to-plugin-configuration/65070/2 "2021-01-03T13:07:30Z")

</div>

Hi Pascal,

i have the same issue. Have you find out how it works?

Cheers

---

<div class="post-metadata">

**Author:** ![juanitolaguna](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@juanitolaguna](https://forum.shopware.com/u/juanitolaguna)\
**Post date:** [5. Mai 2021 um 22:17 UTC](https://forum.shopware.com/t/link-in-admin-menu-to-plugin-configuration/65070/3 "2021-05-05T22:17:26Z")

</div>

@Pascal1988 @padaja If you mean the Plugin config which you define in the config xml here you go:

```
navigation: [
    {
        id: 'myplugin-config',
        label: 'Config',
        path: 'sw.plugin.config',
        params: {
                namespace: "MyPluginName"
        }
    }
]
```
