admin view Command Group¤
List and update Explore application view configurations.
This command group manages Explore application view configurations. Application view configurations control the behavior of specific Explore view profiles including companion services and other settings.
admin view list¤
List Explore application view configurations.
Outputs a list of application view configurations from the Explore component. The default application view (id: default) is always listed first, followed by any custom application view configurations.
Note
Profile IDs can be used as a reference for the other commands of the admin view command group.
Options
admin view export¤
Export application view configurations to a JSON file.
Application view configurations can be exported based on profile IDs, filters, or all at once. The exported JSON can be imported back using the admin view import command.
Options
-a, --all Export all application view configurations.
--filter <TEXT TEXT>... Filter application view configurations by one
of the following filter names and a
corresponding value: id, label.
--output-file FILE Export to this file. Use '-' for stdout. If
specified, overrides --output-dir and
--filename-template.
--output-dir DIRECTORY The base directory where the export file will
be created. Ignored if --output-file is
specified. [default: .]
-t, --filename-template TEXT Template for the export file name. Possible
placeholders are (Jinja2): {{connection}}
(from the --connection option) and {{date}}
(the current date as YYYY-MM-DD). Ignored if
--output-file is specified. [default:
{{date}}-{{connection}}.view-configs.json]
--replace Replace an existing export file. This is a
dangerous option, so use it with care.
admin view import¤
Import application view configurations from a JSON file.
This command imports application view configurations from a JSON file that was created using the admin view export command.
If --replace is specified, existing configurations with the same profile ID will be updated. Otherwise, existing configurations will be skipped.
Warning
Importing the default application view configuration updates the project-level overrides.
Options
admin view delete¤
Delete custom application view configurations.
Warning
Application view configurations will be deleted without prompting.
Note
The default application view configuration cannot be deleted. Use the admin view list command to list available application view configurations.
Options
admin view create¤
Create a new Explore application view configuration.
The new profile is created with its ID and label only. Use the admin view update command to set configuration values such as enableCompanion or module toggles.
Note
Application view configurations can be listed with the admin view list command.
admin view update¤
Update a key in an existing Explore application view configuration.
Any configuration key can be updated, including nested module keys. All other fields are preserved.
cmemc admin view update my-profile --key modules.marketplaceModuleConfiguration.enabled --value false
Options
admin view inspect¤
Inspect the configuration of an application view profile.
For accessing nested configuration values, use the following notation: exploreGraphLists[4].comments[0]
Note
Some shell environments require quotes around expressions with square brackets.