Magnolia 5.7 reached extended end of life on May 31, 2022. Support for this branch is limited, see End-of-life policy. Please note that to cover the extra maintenance effort, this EEoL period is a paid extension in the life of the branch. Customers who opt for the extended maintenance will need a new license key to run future versions of Magnolia 5.7. If you have any questions or to subscribe to the extended maintenance, please get in touch with your local contact at Magnolia.
The Sample app is a learning example for developers. It is not a tool for editors but rather a showcase for common app functionality at development level. It shows you how to expose actions to the user as user interface elements (buttons) and how to trigger actions. As a developer you should examine the Sample app source code and read the comments in the code.
Configuration
The Sample app is installed by the sample-app
module. The Dev app group that this app belongs to is only available to the superuser
role. This is configured in the app launcher layout. The app is configured at Configuration > /modules/samples-app/apps/sample
.
Node name | Value |
---|---|
sample-app | |
apps | |
sample | |
subapps | |
main | |
class | info.magnolia.ui.api.app.registry.ConfiguredSubAppDescriptor |
subAppClass | info.magnolia.sample.app.main.SampleMainSubApp |
editor | |
class | info.magnolia.ui.api.app.registry.ConfiguredSubAppDescriptor |
subAppClass | info.magnolia.sample.app.editor.SampleEditorSubApp |
appClass | info.magnolia.ui.framework.app.BaseApp |
name | sample |