Skip to main content
Version: 1.7.1

Labelled Attribute LOV for IP Magic Box

Version: 1.7.1 Date: 2026-08-03

Goal: Manual attributes configured in neo/Retool with { value, label } LOV entries must render as dropdown selects in IP Magic Box (e.g. Bulgari Product Type).

Solution: Store attribute LOV as Schema.Types.Mixed and normalize to string[] in GET /api/user before returning folder attributes to clients.

Features:

  • Legacy string[] LOV attributes unchanged
  • Labelled { value, label }[] LOV exposed again to IP Magic Box

Implementation Details:

  • Previous lov: [String] schema dropped labelled entries on populate, leaving lov undefined and forcing free-text input

Files Modified:

  • app/database/schema/company.js - Schema.Types.Mixed for attribute LOV
  • app/util/attributeLov.js - Normalize strings and labelled entries to canonical values
  • app/services/users.js - LOV normalization in getByJobIdPullCompany

Release fragment: fix-labelled-attribute-lov