template Commands (Deprecated)
Create and manage Analytics templates.
-
analytics:template:create (Deprecated)
Creates Analytics templates.
-
analytics:template:delete (Deprecated)
Deletes Analytics templates.
-
analytics:template:display (Deprecated)
Displays an Analytics template’s details.
-
analytics:template:lint (Deprecated)
Performs a lint check on an Analytics template. Requires either the ID or API name of template.
-
analytics:template:list (Deprecated)
Lists Analytics templates in the specified folder or target org.
-
analytics:template:update (Deprecated)
Updates Analytics templates.
-
analytics:template:validate (Deprecated)
Performs an org readiness check for an Analytics template. Requires either the ID or API name of template.
Creates Analytics templates.
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:template:create[
--json][
--loglevelLOGLEVEL][
-uTARGETUSERNAME][
--apiversionAPIVERSION]-fFOLDERID[
-rRECIPEIDS][
-lLABEL][
--descriptionDESCRIPTION]
--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
-f|--folderidFOLDERIDRequired
The ID of the folder that contains the template data.
Type: id
-r|--recipeidsRECIPEIDSOptional
A comma-separated list of recipe IDs to include with the template.
Type: array
-l|--labelLABELOptional
The label for the Analytics template (defaults to the app label).
Type: string
--descriptionDESCRIPTIONOptional
The description for the Analytics template (defaults to the app description).
Type: string
Deletes Analytics templates.
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:template:delete[
--json][
--loglevelLOGLEVEL][
-uTARGETUSERNAME][
--apiversionAPIVERSION]-tTEMPLATEID[
--forcedelete][
--decouple][
-p]
--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
-t|--templateidTEMPLATEIDRequired
The ID of the Analytics template.
Type: id
--forcedeleteOptional
Force deletes the Analytics template and all linked Analytics apps.
Type: boolean
--decoupleOptional
Decouple all linked Analytics apps.
Type: boolean
-p|--nopromptOptional
Do not prompt to confirm force delete.
Type: boolean
Displays an Analytics template’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:template:display[
--json][
--loglevelLOGLEVEL][
-uTARGETUSERNAME][
--apiversionAPIVERSION][
-tTEMPLATEID][
-nTEMPLATENAME]
--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
-t|--templateidTEMPLATEIDOptional
The ID of the Analytics template.
Type: id
-n|--templatenameTEMPLATENAMEOptional
The name of the Analytics template.
Type: string
Performs a lint check on an Analytics template. Requires either the ID or API name of template.
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:template:lint[
--json][
--loglevelLOGLEVEL][
-uTARGETUSERNAME][
--apiversionAPIVERSION][
-nTEMPLATENAME][
-tTEMPLATEID]
--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
-n|--templatenameTEMPLATENAMEOptional
API name of the template to submit for lint check.
Type: string
-t|--templateidTEMPLATEIDOptional
ID of the template to submit for lint check.
Type: string
Lists Analytics templates in the specified folder or 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:template:list[
--json][
--loglevelLOGLEVEL][
-uTARGETUSERNAME][
--apiversionAPIVERSION][
-a][
-e]
--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
-a|--includesalesforcetemplatesOptional
Include Salesforce templates.
Type: boolean
-e|--includembeddedtemplatesOptional
Include
EmbeddedApptemplates.Type: boolean
Updates Analytics templates.
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:template:update[
--json][
--loglevelLOGLEVEL][
-uTARGETUSERNAME][
--apiversionAPIVERSION][
-tTEMPLATEID][
-nTEMPLATENAME][
-fFOLDERID][
-rRECIPEIDS][
-vASSETVERSION]
--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
-t|--templateidTEMPLATEIDOptional
The ID of the Analytics template.
Type: id
-n|--templatenameTEMPLATENAMEOptional
The name of the Analytics template.
Type: string
-f|--folderidFOLDERIDOptional
The ID of the folder that contains the template data.
Type: id
-r|--recipeidsRECIPEIDSOptional
A comma-separated list of recipe IDs to include with the template.
Type: array
-v|--assetversionASSETVERSIONOptional
Version number for upgrading the template.
Type: integer
Performs an org readiness check for an Analytics template. Requires either the ID or API name of template.
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:template:validate[
--json][
--loglevelLOGLEVEL][
-uTARGETUSERNAME][
--apiversionAPIVERSION][
-nTEMPLATENAME][
-tTEMPLATEID][
-fVALUESFILE]
--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
-n|--templatenameTEMPLATENAMEOptional
API name of the template to run an org readiness check on.
Type: string
-t|--templateidTEMPLATEIDOptional
ID of the template to run an org readiness check on.
Type: string
-f|--valuesfileVALUESFILEOptional
The file with values to override the template defaults with.
Type: filepath