Technical¶
Lime CRM - endpoint: "/lime-admin/v2/config/webclient_views"¶
This package utilizes the weclient_views endpoints to update views for both cards and tables. The structure within Lime Admin and its corresponding endpoints vary depending on the Lime CRM version.
Limepkg Generate Views supports two different versions of these endpoints: version 2 and version 6. The primary distinction between these versions lies in the configuration options available within the card section. The older version of the endpoint uses different headers and offers fewer options for configuring tabs.
The package includes a check to determine the Lime CRM version in use. If version 6 of the endpoint is available, the package defaults to it, automatically adding the "overview" tab. If version 6 is not available, the package reverts to the older endpoint version and structures the view configuration accordingly.
Example of the card section depending on Lime CRM version¶
Lime CRM versions not supporting version 6 of webclient_views
Lime CRM versions supporting version 6 of webclient_views