dataset Commands (Deprecated)
Manage Analytics datasets.
-
analytics:dataset:display (Deprecated)
Displays an Analytics dataset’s details.
-
analytics:dataset:list (Deprecated)
Lists Analytics datasets in the specified target org.
-
analytics:dataset:rows:fetch (Deprecated)
Fetch the rows of an Analytics dataset.
Displays an Analytics dataset’s details.
As of April 20, 2023, we no longer maintain this section of the command reference. Refer to the reference information about the sf-style commands instead, which we update regularly. We keep this reference information about the sfdx-style commands as-is for historical reference only.
The sfdx-style commands continue to work the same as before, and any scripts that use the commands won’t break. However, we recommend that you start using the equivalent sf-style commands.
The reference page for each sfdx command has been updated with information about its equivalent sf command. The page also shows how the flag names have changed between the sfdx and sf commands. Use this information to migrate your scripts.
For background information about this change, read this blog post, which describes how we’ve updated many of the existing sfdx commands to use the improvements we made in sf commands. To view all the changes, read the CLI release notes starting with version 7.183.1 on January 12, 2023.
sfdx analytics:dataset:display[
--json][
--loglevelLOGLEVEL][
-uTARGETUSERNAME][
--apiversionAPIVERSION][
-iDATASETID][
-nDATASETNAME]
--jsonOptional
Format output as JSON.
Type: boolean
--loglevelLOGLEVELOptional
The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.
Type: enum
Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL
Default value: warn
-u|--targetusernameTARGETUSERNAMEOptional
A username or alias for the target org. Overrides the default target org.
Type: string
--apiversionAPIVERSIONOptional
Override the API version used for API requests made by this command.
Type: string
-i|--datasetidDATASETIDOptional
Dataset ID.
Type: id
-n|--datasetnameDATASETNAMEOptional
Dataset api name.
Type: string
Lists Analytics datasets in the specified target org.
As of April 20, 2023, we no longer maintain this section of the command reference. Refer to the reference information about the sf-style commands instead, which we update regularly. We keep this reference information about the sfdx-style commands as-is for historical reference only.
The sfdx-style commands continue to work the same as before, and any scripts that use the commands won’t break. However, we recommend that you start using the equivalent sf-style commands.
The reference page for each sfdx command has been updated with information about its equivalent sf command. The page also shows how the flag names have changed between the sfdx and sf commands. Use this information to migrate your scripts.
For background information about this change, read this blog post, which describes how we’ve updated many of the existing sfdx commands to use the improvements we made in sf commands. To view all the changes, read the CLI release notes starting with version 7.183.1 on January 12, 2023.
sfdx analytics:dataset:list[
--json][
--loglevelLOGLEVEL][
-uTARGETUSERNAME][
--apiversionAPIVERSION]
--jsonOptional
Format output as JSON.
Type: boolean
--loglevelLOGLEVELOptional
The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.
Type: enum
Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL
Default value: warn
-u|--targetusernameTARGETUSERNAMEOptional
A username or alias for the target org. Overrides the default target org.
Type: string
--apiversionAPIVERSIONOptional
Override the API version used for API requests made by this command.
Type: string
Fetch the rows of an Analytics dataset.
As of April 20, 2023, we no longer maintain this section of the command reference. Refer to the reference information about the sf-style commands instead, which we update regularly. We keep this reference information about the sfdx-style commands as-is for historical reference only.
The sfdx-style commands continue to work the same as before, and any scripts that use the commands won’t break. However, we recommend that you start using the equivalent sf-style commands.
The reference page for each sfdx command has been updated with information about its equivalent sf command. The page also shows how the flag names have changed between the sfdx and sf commands. Use this information to migrate your scripts.
For background information about this change, read this blog post, which describes how we’ve updated many of the existing sfdx commands to use the improvements we made in sf commands. To view all the changes, read the CLI release notes starting with version 7.183.1 on January 12, 2023.
sfdx analytics:dataset:rows:fetch[
--json][
--loglevelLOGLEVEL][
-uTARGETUSERNAME][
--apiversionAPIVERSION][
-iDATASETID][
-nDATASETNAME][
--limitLIMIT][
-rRESULTFORMAT]
--jsonOptional
Format output as JSON.
Type: boolean
--loglevelLOGLEVELOptional
The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.
Type: enum
Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL
Default value: warn
-u|--targetusernameTARGETUSERNAMEOptional
A username or alias for the target org. Overrides the default target org.
Type: string
--apiversionAPIVERSIONOptional
Override the API version used for API requests made by this command.
Type: string
-i|--datasetidDATASETIDOptional
Dataset ID.
Type: id
-n|--datasetnameDATASETNAMEOptional
Dataset api name.
Type: string
--limitLIMITOptional
The maximum number of rows to include.
Type: number
-r|--resultformatRESULTFORMATOptional
Result format emitted to stdout.
Type: enum
Permissible values are: human, csv, json
Default value: human