Migration from SAMO Browse
Deprecated Properties
The following properties are deprecated and must not be used in new configurations. They continue to be accepted at runtime for backward compatibility but will not receive bug fixes.
| Deprecated property | Replace with | Notes |
|---|---|---|
id | views.id | Only needed when views.enabled: true. |
listViewsEnabled | views.enabled: true | Also set views.id. |
listDisplayType | list.activeView | Values "auto" and "list" no longer exist. |
listDisplayOptions | list.views | Same value mapping. |
allEntities: true | entitiesGroup: "_all" | Direct replacement. |
defaultView | (removed) | No direct equivalent. In "default" layout mode, panel visibility is controlled by the user via the layout picker. |
canChangeView: false | list.views: ["table"] | Single-item array locks the view. |
hiddenIntents (top-level) | list.hiddenIntents | Moved under list. |
filter.default | advancedFilter.defaultQuery | Only when advanced filter is enabled. |
filter.context | (removed) | No equivalent; context is auto-derived. |
disableExport: true | list.export.enabled: false | Logic is inverted. |
canEdit | permittedOperations.edit | Boolean value maps directly. |
multiSelectDisabled: true | list.multiSelectEnabled: false | Logic is inverted. |
detailOnly | (removed) | Use layout configuration instead. |
title | (removed) | Was used for map print title only. |
Migration Tool
Paste your existing samo-browse JSON configuration below to get the equivalent samo-viewer configuration. Any properties that require your attention will be listed as warnings below the output.
samo-viewer configuration (JSON)
4 warnings
Unsupported property 'defaultView' was dropped during migration to samo-viewer. defaultView has no equivalent in samo-viewer. The layout is saved in localStorage and restored when the page is revisited or refreshed. To force the map view (e.g. when sharing a link), add the url param map=true.
'search.context' has no equivalent in samo-viewer and was dropped. Remove it from your config.
Deprecated property 'canEdit' was ignored because 'permittedOperations' is already set. Remove 'canEdit' from your config.
Unsupported property 'canChangeView' was dropped during migration to samo-viewer. canChangeView has no equivalent in samo-viewer. To prevent view switching, provide only a single entry in list.views.