====== Actionpads ======
The Actionpads are a dynamic part of the Lime CRM Windows client, configured uniquely for each customer. The Actionpads usually run the [[https://www.lime-bootstrap.com|Lime Bootstrap]] framework, which gives the possibility of easy customisation and use of small [[https://store.lime-crm.com|apps]]
The Actionpads are served locally from the ''%appdata%''-catalog and downloaded from the server upon first login or an Actionpad update.
===== Setting an Actionpad linked to an inspector =====
Which Actionpad is linked to each LimeType in the Windows client, is set by the client in VBA. This is included in all base solutions by the following implementation. If the application lacks the ''LBSHelper'' module, the module in {{ :configuration:actionpadhelper.zip |this zipped .bas file}} can be imported into the VBA project, and be used to set Actionpads in the client. The functions should be called from the applications set-up-function. Just add the code below to ''ThisApplication.Setup''
==== Case 1: LBSHelper module is present ====
Nothing should be needed to be done here, but ensure that the following code is in ''ThisApplication.Setup''
Call lbsHelper.setDefaultActionpads(False)
==== Case 2: LBSHelper module is not present, but the actionpads use Lime Bootstrap ====
Import the {{ :configuration:actionpadhelper.zip |.bas file}} containing the ''ActionpadHelper'' module, and put the following code in ''ThisApplication.Setup''
Dim bLbsActive As Boolean
bLbsActive = True
Call ActionpadHelper.setDefaultActionpads(bLbsActive)
==== Case 3: LBSHelper module is not present, and the actionpads don't use Lime Bootstrap ====
Import the {{ :configuration:actionpadhelper.zip |.bas file}} containing the ''ActionpadHelper'' module, and put the following code in ''ThisApplication.Setup''
Dim bLbsActive As Boolean
bLbsActive = False
Call ActionpadHelper.setDefaultActionpads(bLbsActive)