- 🔍 button next to every mapping source path (table and new-mapping form) opens a dialog with the stored MeshCentral JSON of a chosen asset as an expandable, searchable tree; already mapped paths are marked, keys the path syntax cannot express are greyed out, list entries produce "list[].key". - Preview evaluates the path with the row's transformation, multiple value mode, separator and "value if empty"/guard using the sync code. - Coverage check across all assets with stored JSON: devices with a value, devices where the mapping writes a value (incl. fallbacks) and the most frequent results. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.6 KiB
1.6 KiB
Update 0.5.5.95
Version 0.5.5.95 lets administrators choose the source path of a MeshCentral field mapping by clicking into the stored device JSON of an asset.
Changes
- Source path picker: every source path field in Sync → MeshCentral → Field mappings and in the form for a new mapping has a 🔍 button. It opens a dialog with
- a device selection (search over all assets with stored MeshCentral JSON; the last device is remembered),
- the device JSON as an expandable tree with search over keys and values; paths that are already mapped are marked,
- the generated path, editable before applying. Entries inside lists produce
list[].key(all elements), matching the existing path syntax. Keys containing.or|cannot be addressed with the path syntax and are shown greyed out.
- Preview: for the selected device the dialog shows the raw values of the path and the result of the mapping with the transformation, multiple-value mode, separator and "value if empty"/guard of the mapping row, calculated with the same code as the sync.
- Coverage check: "Check coverage across all devices" evaluates the path for every asset with stored JSON: on how many devices a value exists, on how many the mapping writes a value (and how many of them via "value if empty"), plus the most frequent results.
- Applying writes the path into the field; mapping rows still have to be saved with "Save mappings".
- Version updated to 0.5.5.95.
Notes
- The picker uses the JSON stored at the last sync. It requires Store source JSON on asset (enabled by default); assets that were never synchronized do not appear.
- No database changes.