Administration

Last modified: November 19, 2024

Introduction

The Administration module contains the administration functionality, which allows you to manage local accounts and to view app statistics, such as runtime information, sessions, and schedules events.

Features

  • Support managing user accounts
  • Provide a read-only overview to show the following information:
    • All active sessions
    • All scheduled events
    • All runtime instances
  • Support viewing runtime statistics

Dependencies

  • Atlas Core: required for the Administration module versions 4.0.0 and above
  • Combo Box: required for the Administration module versions 4.0.0 and above
  • Atlas UI Resources: required for the Administration module versions 3.0.0 and below
  • Mendix SSO: required for the Administration module versions 1.3.X (for example 1.3.2) and 2.1.X (for example 2.1.2)

Installation

Follow the instructions in How to Use Marketplace Content to import the Administration module into your app.

Usage

Adding the Account Overview Page to the Navigation

On the Administration.Account_Overview page, you can view and manage all the accounts in your app. To add the page to the navigation of the app, do as follows:

  1. In App Explorer, open Navigation.
  2. In Menu, click New item. The New Menu Item dialog box opens.
  3. Enter a caption.
  4. Select an icon.
  5. In the On click drop-down list, select Show a page. The Select web page dialog box opens.
  6. Find Account_Overview using the search box on the top and select it. The Select web page dialog box closes.
  7. Click OK to save the settings for the new menu item.

If you run the app and log in as a user with the Administrator role, you can see the new page in the navigation.

Adding Users as an Administrator

  1. Make sure that you added the account overview page to the navigation.

  2. Run the app and log in to the app as a user with the Administrator role.

  3. Go to the account overview page.

  4. If the new user does not need to consume the published web service of your app, click New local user to add the new user.

  5. If the new user needs to consume the published web service of your app, click New web service user to add the new user.

  6. In the New Account dialog box, fill in the user data.

  7. Click Save.

Using Supporting Microflows with Mendix SSO

The Administration module versions 1.3.X (for example 1.3.2) and 2.1.X (for example 2.1.2) contain a set of microflows to configure Mendix SSO to use Administration.Account as the user entity. To use the supporting microflows with Mendix SSO, perform the following steps:

  1. Make sure that your app contains the Mendix SSO module. If it does not, import the Mendix SSO module from the Marketplace.

  2. Configure the MendixSSO_AfterStartup microflow from the Administration module as the after startup microflow. If there is already an after startup microflow, do not replace it, but add the MendixSSO_AfterStartup microflow as a sub-microflow in the existing microflow.