Skip to content

Configuration

Info

Only option and set fields are supported

Configuration in Add-ons

Go to Lime Admin => Add-ons => Option Visualizer => Option Visualizers => Add item:

Properties to fill

Property name Default value Description
Limetype - What limetype to configue
Property - What lime property to configue
Prefix Icon What should be displayed before the value Icon, Colored dot or None
Value true Should the value be displayed
Badge false Should it be rendered on a badge (Only applicable in table view)
Visualizer Configurations - Config for how each option should be displayed See more here

Visualizer Config

For each option to visualize add a Visualizer Config

During first setup all options will automatically be added for configuration (except options with key empty)

Options added after first setup must be added manually.

If an option is missing visualizer configuration it will be rendered without icon and with a default color

Visualizer config

Property name Default value Description
Option - What option to configure
Icon - What icon to display (if prefix is set to Icon)
Color - Color to use (Badge, Icon, or Colored dot)

Add Web-component

Card view

  1. Go to Lime Admin => Views => <Limetype> => Card:
  2. Locate the <Field> you want to visualize and add a Web Component.
  3. As a name write: lwc-limepkg-option-visualizer-card

Table view

  1. Go to Lime Admin => Views => <Limetype> => Table:
  2. Locate the <Field> you want to visualize and add a Web Component.
  3. As a name write: lwc-limepkg-option-visualizer-table
Back to top