Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Complete Page

If you have developed an OWA under OpenMRS, then you can only access through OpenWebApps Module -> Manage Apps dashboard. So every time user wants to go there to open the required OWA. There is an easy way to maintain your OWA for the user's access, you can easily create an Icon for you OWA  on the reference application home page. Then, the user can simply click on that Icon to use the required OWA. 

...

Code Block
themeMidnight
languagejs
titleHome Page Link Config
{
    "id": "sysadmin",
    "description": "OpenMRS System Administration",
    "order": 0,
    "extensions": [
        {
            "id": "demoapp.homepageLink",
            "extensionPointId": "org.openmrs.referenceapplication.homepageLink",
            "type": "link",
            "label": "Sys Admin",
            "url": "owa/systemadminstration/index.html",
            "icon": "icon-list-alt",
            "requiredPrivilege": "Replace with a privilege name, or else remove"
        }
    ]
}

 Here,

TypeDescription
ID You can mention your OWA ID
DescriptionSimple description about your OWA
Order Order your Application Icon in the Reference application homepage (0,1,2,.....)
Label Text under your Icon on the home page
Url Which URL wanted to open when user click that Icon on the homepage
Icon 

Which Icon wanted to show on the homepage.

You can see the available icons at http://demo.openmrs.org/openmrs/uicommons/icons.page.

...

Finally, you can see the Icon which is referred to your application. 

           

 

 

 

 

 { "id": "cohortbuilder", "description": "modern refresh of the OpenMRS Cohort Builder tool ", "order": 0, "extensions": [ { "id": "demoapp.homepageLink", "extensionPointId": "org.openmrs.referenceapplication.homepageLink", "type": "link", "label": "CohortBuilder", "url": "owa/cohortbuilder/index.html", "icon": "icon-list-alt", "requiredPrivilege": "Replace with a privilege name, or else remove" } ] }