Open Closed

External link in the menu ? #8951


User avatar
0
vd created
  • ABP Framework version: v9.0.4
  • UI Type: Angular

2 questions :

  1. Is there a way to have an external link in the menu ?
  2. Can we have several icons for a menu item ?

route.provider.ts :

{
                path: 'https://wwww.google.com',     //Should open in a new tab
                name: '::Menu:ExternalSearchEngine',
                order: 6,
                iconClasses: ['fas fa-external-link-alt', 'fas fa-search'], //Array of icons
                layout: eLayoutType.empty,
}
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi,

    It seems there is no support for pushing a new component into the routes collection via using route.provider.ts

    But as another option, you can replace the menu component and render the menus on your own logic:

    https://abp.io/docs/latest/framework/ui/angular/component-replacement?_redirected=B8ABF606AA1BDF5C629883DF1061649A#layout-components

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.