Logo
9.3.3

Portal

  • User Guide
  • Developer Guide
    • Introduction
    • Architecture
    • Installation
    • Settings
    • Portal dashboard
    • Components
    • IFrame in Portal
    • Customization
      • Build your own Portal
      • PortalStyle 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
      • Change groupId
      • User with environment info
      • Page header and footer
      • Process information
      • Process image
    • Troubleshooting
    • Public API
Portal Guide
  • »
  • Developer Guide »
  • Customization »
  • Menu and default homepage in user profile

Menu and default homepage in user profile

Introduction

By default Portal main menu has 4 items: Processes, Tasks, Cases and Statistics. You can remove these items or add your own items, it will effect to the homepage selection in user profile, the menu items, which are not external link, are shown in the homepage selection.

default-menu-items

Customization

Create a callable sub process in your project with the loadSubMenuItems() signature, make sure this signature is unique in your application and follow the hints.

load-sub-menu-items-process

User can hide Statistic widget in Admin settings. Therefore, if you want to hide Statistic widget in your overrided process, please take a look on NOTE section of LoadSubMenuItems in PortalTemplate.

Tip

For the Label of SubMenuItem, if you want to show it in multilingual correctly, you should create a cms and use ApplicationMultiLanguageAPI.getCmsValueByUserLocale method.
e.g: subMenuItem.setLabel(ApplicationMultiLanguageAPI.getCmsValueByUserLocale<CMS_URI>));
Previous Next

© Copyright 2022 Axon Ivy AG.