lens Commands
Manage Analytics lenses.
-
Lists history records for Analytics lenses in the specified target org.
-
Revert to a specified history record.
-
Lists Analytics lenses in the specified target org.
Lists history records for Analytics lenses in the specified target org.
sf analytics lens history list[
--json][
--api-versionAPIVERSION]-oTARGETORG-iLENSID
--jsonOptional
Format output as JSON.
Type: boolean
--api-versionAPIVERSIONOptional
Override the API version used for API requests made by this command.
Type: string
-oTARGETORGRequired
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-i|--lensidLENSIDRequired
The ID of the lens to show history records.
Type: id
Revert to a specified history record.
sf analytics lens history revert[
--json][
--api-versionAPIVERSION]-oTARGETORG-iLENSID-yHISTORYID[
-lLABEL]
--jsonOptional
Format output as JSON.
Type: boolean
--api-versionAPIVERSIONOptional
Override the API version used for API requests made by this command.
Type: string
-oTARGETORGRequired
Username or alias of the target org. Not required if the target-org configuration variable is set.
Type: string
-i|--lensidLENSIDRequired
The ID of the dashboard to show history records.
Type: id
-y|--historyidHISTORYIDRequired
The ID of the dashboard history records.
Type: id
-l|--labelLABELOptional
Label for new reverted history record.
Type: string
Lists Analytics lenses in the specified target org.
sf analytics lens list[
--json][
--api-versionAPIVERSION]-oTARGETORG
-
--json- Optional
- Format output as JSON.
- Type: boolean
-
--loglevelLOGLEVEL -
--api-versionAPIVERSION- Optional
- Override the API version used for API requests made by this command.
- Type: string
-
-oTARGETORG- Required
- Username or alias of the target org. Not required if the target-org configuration variable is set.
- Type: string