Installation Instructions¶
Preparations¶
- Check that the requirements are met.
Installation¶
- If on-premise or isolated app in cloud:
- Add the package
limepkg-consent
as a dependency in your solution. - Build and deploy your solution.
- Add the package
- In Lime Admin, go to the Setup page in Consent's settings and follow the instructions.
- Configure the add-on.
- Configure in LISA.
- Set up desktop client.
LISA¶
- Add the icons for the tables
consent
andconsenttype
. The icons are found in the folderlisa\icons
in the LIP package. If you cannot find the tables in LISA, refresh the browser. - Add descriptive expressions for
consent
andconsenttype
. The descriptive expressions are found in text files in the folderlisa\descriptives
. - Set the
Option Query
property on the fieldconsent.consenttype
according to the text file in the folderlisa\optionqueries
. -
Set the following permissions for normal users.
Policy name R W A D Apply to tbl_consent • • • consent table fld_consenttype • consenttype field on consent table tbl_consenttype • • consenttype table
Desktop Client¶
- Add VBA module
AO_Consent
, found underlip/vba
. - Copy the folders for the three Lime Bootstrap apps in the
lip\apps
folder to theActionpads\apps
folder. - Add the apps:
Index App¶
Include the following code in your index.html
(note the extra property 'view': 'index'):
<div data-app="{
app: 'addon_consent',
config:{
'view': 'index',
'groups': ['Administrators', 'Users']
}
}"></div>
Person App¶
Include the following code on each actionpad of which Limetype you have configured for Consent (eg person.html
):
<div data-app="{
app: 'addon_consent',
config: {
'groups': ['Administrators', 'Users']
}
}"></div>