Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@salesforce/analytics
Advanced tools
commands for working with analytics applications
$ sfdx plugins:install @salesforce/analytics
$ sfdx analytics --help [COMMAND]
...
sfdx analytics:app:create
sfdx analytics:app:delete
sfdx analytics:app:list
sfdx analytics:app:update
sfdx analytics:dashboard:list
sfdx analytics:template:create
sfdx analytics:template:delete
sfdx analytics:template:list
sfdx analytics:template:update
sfdx analytics:app:create
create an analytics application
USAGE
$ sfdx analytics:app:create
OPTIONS
-f, --definitionfile=definitionfile analytics template definition file; required unless --templateid is
specified
-t, --templateid=templateid template ID; required unless --definitionfile is specified
-u, --targetusername=targetusername username or alias for the target org; overrides default target org
--apiversion=apiversion override the api version used for api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLES
$ sfdx analytics:app:create -t templateid
$ sfdx analytics:app:create -f path_to_json_file
sfdx analytics:app:delete
delete analytics applications
USAGE
$ sfdx analytics:app:delete
OPTIONS
-f, --folderid=folderid (required) folder ID
-p, --noprompt do not prompt to confirm force delete
-u, --targetusername=targetusername username or alias for the target org; overrides default target org
--apiversion=apiversion override the api version used for api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx analytics:app:delete -f folderid
sfdx analytics:app:list
list analytics applications
USAGE
$ sfdx analytics:app:list
OPTIONS
-f, --folderid=folderid folder ID
-u, --targetusername=targetusername username or alias for the target org; overrides default target org
--apiversion=apiversion override the api version used for api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx analytics:app:list --targetusername myOrg@example.com --targetdevhubusername my@org.com
sfdx analytics:app:update
updates an analytics application
USAGE
$ sfdx analytics:app:update
OPTIONS
-f, --definitionfile=definitionfile (required) analytics application definition file for updates
-i, --folderid=folderid (required) folder ID
-u, --targetusername=targetusername username or alias for the target org; overrides default target org
--apiversion=apiversion override the api version used for api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx analytics:app:update -i folderId -f path_to_json_file
sfdx analytics:dashboard:list
list analytics dashboards
USAGE
$ sfdx analytics:dashboard:list
OPTIONS
-u, --targetusername=targetusername username or alias for the target org; overrides default target org
--apiversion=apiversion override the api version used for api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx analytics:dashboard:list --targetusername myorg@example.com --targetdevhubusername devhub@example.com
sfdx analytics:template:create
create analytics templates
USAGE
$ sfdx analytics:template:create
OPTIONS
-f, --folderid=folderid (required) folder ID
-u, --targetusername=targetusername username or alias for the target org; overrides default target org
--apiversion=apiversion override the api version used for api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx analytics:template:create -f folderid
sfdx analytics:template:delete
delete analytics templates
USAGE
$ sfdx analytics:template:delete
OPTIONS
-p, --noprompt do not prompt to confirm force delete
-t, --templateid=templateid (required) template ID
-u, --targetusername=targetusername username or alias for the target org; overrides default target org
--apiversion=apiversion override the api version used for api requests made by this command
--forcedelete force delete the analytics template and all linked analytics
applications
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx analytics:template:delete -t templateid
sfdx analytics:template:list
list analytics templates
USAGE
$ sfdx analytics:template:list
OPTIONS
-a, --includesalesforcetemplates include salesforce templates
-u, --targetusername=targetusername username or alias for the target org; overrides default target org
--apiversion=apiversion override the api version used for api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx analytics:template:list --targetusername myorg@example.com --targetdevhubusername devhub@example.com
sfdx analytics:template:update
update analytics templates
USAGE
$ sfdx analytics:template:update
OPTIONS
-f, --folderid=folderid folder ID
-t, --templateid=templateid (required) template ID
-u, --targetusername=targetusername username or alias for the target org; overrides default target org
--apiversion=apiversion override the api version used for api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal) logging level for this command invocation
EXAMPLE
$ sfdx analytics:template:update -t templateid -f folderid
FAQs
Commands for working with Salesforce Analytics applications, assets, and services
The npm package @salesforce/analytics receives a total of 345 weekly downloads. As such, @salesforce/analytics popularity was classified as not popular.
We found that @salesforce/analytics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 47 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.