| Quick Navigation:

# Custom Link in the Control Panel

You can create an icon linking to an arbitrary site (such as your own web interface) in the WebYaST control panel Configuration area.

To create such a link, create a file named `shortcuts.yml` in the top directory of any WebYaST plugin or YaST2 Webclient root directory. The `shortcuts.yml` should have the following structure:

    main:
      icon: '/icons/custom-icon.png'
      url: http://example.com
      groups: [ System ]
      title: Title

| The path to an icon file in a public directory. First, the module public directory (`/srv/www/yast/vendor/plugins/`MODULE`/public/`) is used. If the icon is not found there, the common WebYaST `/srv/www/yast/public/` directory is used.
| The URL of the link.
| The module group the link should belong to.
| The title displayed under the icon.

WebYaST WebYaST Vendor Guide 11

| Quick Navigation: