Administration
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:
- In App Explorer, open Navigation.
- In Menu, click New item. The New Menu Item dialog box opens.
- Enter a caption.
- Select an icon.
- In the On click drop-down list, select Show a page. The Select web page dialog box opens.
- Find Account_Overview using the search box on the top and select it. The Select web page dialog box closes.
- 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
-
Make sure that you added the account overview page to the navigation.
-
Run the app and log in to the app as a user with the Administrator role.
-
Go to the account overview page.
-
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.
A local user can only log in to your app using a web browser. Their user name and password cannot be used for authentication to consume a published web service of your app. -
If the new user needs to consume the published web service of your app, click New web service user to add the new user.
A web service user cannot log into your app using a web browser. Their user name and password can only be used for authentication to consume a published web service of your app. -
In the New Account dialog box, fill in the user data.
-
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:
-
Make sure that your app contains the Mendix SSO module. If it does not, import the Mendix SSO module from the Marketplace.
-
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.
MendixSSOUser
to the Administration.Account
specialization. Before executing the migration, carefully read the instructions in the microflow.