# LeanLaw plugin
Integrates LeanLaw (opens new window) law firm practice management system with the Epona provisioning service. The plugin periodically syncs matters and billing information from LeanLaw to SharePoint.
DLL: Epona.LeanLaw.dll
# What it does
- Matter sync — reads matters/engagements from LeanLaw and creates or updates corresponding records in SharePoint.
- Client sync — reads clients and creates or updates client records in SharePoint.
- Field mapping — maps LeanLaw fields to SharePoint properties.
# Deployment
- Copy
Epona.LeanLaw.dllto the service's bin directory. - Restart the provisioning service.
- Open the Configurator, select the relevant
SharepointCfg, and configure the LeanLaw section that now appears in the property grid.
# Configuration reference
# Connection settings
# Name
Type: string | Default: LeanLaw
Display name for this plugin configuration.
# Disabled
Type: boolean | Default: false
Set to true to disable this configuration without removing it.
# Url
Type: string
Base URL of your LeanLaw API instance.
# ApiKey
Type: string
LeanLaw API key. Stored encrypted. Managed via Secrets manager.
# Scheduling
# IntervalInMinutes
Type: integer
How often the sync job runs.
# StartTime
Type: TimeSpan
Earliest time of day the job may run. Leave empty to run at any time.
# EndTime
Type: TimeSpan
Latest time of day the job may run. Leave empty to run at any time.
# Field mapping
# EngagementCodeField
Type: string
LeanLaw field containing the engagement/matter code.
# EngagementNameField
Type: string
LeanLaw field containing the engagement name.
# ClientCodeField
Type: string
LeanLaw field containing the client code.
# ClientNameField
Type: string
LeanLaw field containing the client name.
# MatterFieldMapping
Type: string
Maps LeanLaw engagement fields to SharePoint. Syntax: sharepointField=leanlawField;.
# ClientFieldMapping
Type: string
Maps LeanLaw client fields to SharePoint. Same syntax.
# Filtering
# EngagementFilter
Type: string
Filters to apply when reading engagements.
# Debugging
# Debug
Type: boolean | Default: false
Enables verbose debug logging.
# Example configuration
| Property | Example value |
|---|---|
Name | LeanLaw |
Url | https://api.leanlaw.com/ |
EngagementCodeField | engagementid |
EngagementNameField | engagementname |
ClientCodeField | clientid |
ClientNameField | clientname |
MatterFieldMapping | Status=status;Principal=principal_attorney |
IntervalInMinutes | 60 |
Debug | false |
# Related
- Configuration reference — provisioning configuration reference
- Plugins index — list of available plugins