template Commands
Create and manage Analytics templates.
-
Creates Analytics templates.
-
Deletes Analytics templates.
-
Displays an Analytics template’s details.
-
Performs a lint check on an Analytics template. Requires either the ID or API name of template.
-
Lists Analytics templates in the specified folder or target org.
-
Updates Analytics templates.
-
Performs an org readiness check for an Analytics template. Requires either the ID or API name of template.
Creates Analytics templates.
sf analytics template create[
--json][
--api-versionAPIVERSION]-oTARGETORG-fFOLDERID[
-rRECIPEIDS][
-lLABEL][
-dDATATRANSFORMIDS][
--descriptionDESCRIPTION]
--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
-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
-d|--datatransformidsDATATRANSFORMIDSOptional
A comma-separated list of data transform IDs to include with the template.
Type: array
--descriptionDESCRIPTIONOptional
The description for the Analytics template (defaults to the app description).
Type: string
Deletes Analytics templates.
sf analytics template delete[
--json][
--api-versionAPIVERSION]-oTARGETORG-tTEMPLATEID[
--forcedelete][
--decouple][
-p]
--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
-t|--templateidTEMPLATEIDRequired
The ID of the Analytics template.
Type: id
--forcedeleteFORCEDELETEOptional
Force deletes the Analytics template and all linked Analytics apps.
Type: boolean
--decoupleDECOUPLEOptional
Decouple all linked Analytics apps.
Type: boolean
-p|--nopromptNOPROMPTOptional
Do not prompt to confirm force delete.
Type: boolean
Displays an Analytics template’s details.
sf analytics template display[
--json][
--api-versionAPIVERSION]-oTARGETORG[
-tTEMPLATEID][
-nTEMPLATENAME]
--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
-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.
sf analytics template lint[
--json][
--api-versionAPIVERSION]-oTARGETORG[
-nTEMPLATENAME][
-tTEMPLATEID]
--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
-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.
sf analytics template list[
--json][
--api-versionAPIVERSION]-oTARGETORG[
-a][
-e]
--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
-a|--includesalesforcetemplatesINCLUDESALESFORCETEMPLATESOptional
Include Salesforce templates.
Type: boolean
-e|--includembeddedtemplatesINCLUDEEMBEDDEDTEMPLATESOptional
Include
EmbeddedApptemplates.Type: boolean
Updates Analytics templates.
sf analytics template update[
--json][
--api-versionAPIVERSION]-oTARGETORG[
-tTEMPLATEID][
-nTEMPLATENAME][
-fFOLDERID][
-rRECIPEIDS][
-dDATATRANSFORMIDS][
-vASSETVERSION]
--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
-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
-d|--datatransformidsDATATRANSFORMIDSOptional
A comma-separated list of data transform 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.
sf analytics template validate[
--json][
--api-versionAPIVERSION]-oTARGETORG[
-nTEMPLATENAME][
-tTEMPLATEID][
-fVALUESFILE]
--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
-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