Hi,
I want to add a tab to the patient dashboard from my module.
I have followed this answer:
https://answers.openmrs.org/questions/373/how-can-i-add-a-tab-in-the-patient-dashboardand added an extension html class with :
@Override
public String getPortletUrl() {
return "dashboardtabforid";
}
@Override
public String getTabId() {
return "dashboardtabforid";
}
and added the extension point to the config file like this
<extension> <point>org.openmrs.patientDashboardTab</point> <class>@MODULE_PACKAGE@.extension.html.DashboardTabForID</class> </extension>
then i have created the controller with
@Controller
@RequestMapping("**/dashboardtabforid.portlet")
public class DashboardTabForIDController {
but i dont get a tab appearing in the patient dashboard, what am I doing wrong here?
thanks
Awanthika