Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This page is about helping you to be able to add an extension such as a link or an icon or button onto the either the home page or any other pages within the Reference Application.

I hope you want to add something that looks like any of these components below onto either the home or System Administration or any other page.

In the above image, i have buttons, links which can be added  onto another page outside your module by taking use of the extension feature within the UI Framework.

Let us for-example add the "Manage ChartSearch" button extension onto the System Administration page which appears when the user clicks the System Administration button on the home page.

All your need to do is to add a json file onto the ...-omod/src/main/resources/apps/ folder of your module which defines the details of the extension.

In my case for-example, i have added chartSearch_app.json file.

The code looks to  include into the file looks like:

moduleId-omod/src/main/resources/apps/chartSearch_app.json
[
    {
        "id": "${project.parent.artifactId}.chartSearchApp",
        "description": "${project.parent.artifactId}.refApp.description",
        "order": 10,
        "extensions": [
            {
                "id": "${project.parent.artifactId}.launcheManager",
                "extensionPointId": "systemAdministration.apps",
                "type": "link",
                "order": 10,
                "label": "chartsearch.refApp.manageChartSearch",
                "url": "chartsearch/manageChartSearch.page",
                "icon": "icon-search",
                "requiredPrivilege": "Task: Chart Search"
            }
        ]
    }
] 

 

 

  • No labels