Logo
10.0.0.1

Portal

  • User Guide
  • Developer Guide
    • Introduction
    • Architecture
    • Installation
    • Settings
    • Portal Dashboard
    • User menu
    • Components
    • IFrame In Portal
    • Customization
      • Build Your Own Portal
      • Portal Styles Customization (Logos, Colors, Date Patterns)
      • Login
      • Forgot Password
      • Menu And Default Homepage In User Profile
        • Introduction
        • Customization
      • Legacy Portal Home
      • Task widget
      • Task item details
      • Case Widget
      • Case Item Details
      • Default User Process
      • Default Chart
      • Default Statistic Custom Field
      • Default Chart Color
      • Change password process
      • Logout Process
      • Express end page
      • Express External Data Provider
      • Navigate Back
      • Hide Technical Stuff
      • Additional Case Detail Page
      • Global Search Result
      • Document processes
      • Responsive CSS
      • Group Chat Customization
      • User With Environment Info
      • Page Header And Footer
      • Process Information
      • Process Image
    • Troubleshooting
    • Public API
  • Portal Components
Portal Guide
  • »
  • Developer Guide »
  • Customization »
  • Menu And Default Homepage In User Profile

Menu And Default Homepage In User Profile

Introduction

By default, the Portal main menu has four items: Processes, Tasks, Cases and Statistics. You can remove these items or add your own items. This will affect the homepage selection in the user profile. There, the menu items which are not external links are shown in the homepage selection.

default-menu-items

Customization

Create a callable subprocess with signature loadSubMenuItems() in your project. Make sure that this signature is unique in your application and follow the hints below.

load-sub-menu-items-process

You can hide the Statistics widget in Admin settings. Therefore, if you want to hide the Statistics widget in your overridden process, please take a look at the NOTE section of LoadSubMenuItems in portal.

Tip

For the Label of a SubMenuItem, if you want it to show correctly in several
languages, you need to create a CMS entry and use the ApplicationMultiLanguageAPI.getCmsValueByUserLocale method.
E.g: subMenuItem.setLabel(ApplicationMultiLanguageAPI.getCmsValueByUserLocale<CMS_URI>));
Previous Next

© Copyright 2022 Axon Ivy AG.