Skip to main content

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 propertyReplace withNotes
idviews.idOnly needed when views.enabled: true.
listViewsEnabledviews.enabled: trueAlso set views.id.
listDisplayTypelist.activeViewValues "auto" and "list" no longer exist.
listDisplayOptionslist.viewsSame value mapping.
allEntities: trueentitiesGroup: "_all"Direct replacement.
defaultView(removed)No direct equivalent. In "default" layout mode, panel visibility is controlled by the user via the layout picker.
canChangeView: falselist.views: ["table"]Single-item array locks the view.
hiddenIntents (top-level)list.hiddenIntentsMoved under list.
filter.defaultadvancedFilter.defaultQueryOnly when advanced filter is enabled.
filter.context(removed)No equivalent; context is auto-derived.
disableExport: truelist.export.enabled: falseLogic is inverted.
canEditpermittedOperations.editBoolean value maps directly.
multiSelectDisabled: truelist.multiSelectEnabled: falseLogic 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.