Greetings,
I’m fairly new in this community but I got a couple of questions regarding Extensions and Global Proprieties.
I’ve created a new module for reference application 2.8 and guided by the SDK documentation. I’m trying to add a link to my module domain on the homepage. Not manually but upon module installation.
I followed this guide and basically created a new directory named apps inside omod/resources and added the following json:
[
{
"id": "${project.parent.groupId}.${project.parent.artifactId}.homeAppLink",
"extensionPointId": "systemAdministration.apps",
"type": "link",
"label": "Share Administration",
"requiredPrivilege": "Add Users",
"url": "adminui/systemadmin/accounts/manageAccounts.page",
"icon": "icon-envelope",
"order": 90
}
]
It doesn’t seem to be working, altought I can make it work If I manually add the App Definition in <openmrs/referenceapplication/manageApps>
My second question is related to global settings, I wanna know If it’s possible to set global proprieties dynamically, inside the ModuleActivator or by module-dependency of some sort. In this case I want to set the setting <user.requireEmailAsUsername> (false by default) to true.
Thanks in advance.