npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

This package has been deprecated

Author message:

this package has been deprecated. Use sfdx-browserforce-plugin instead.

@amtrack/sfdx-browserforce-plugin

0.1.0 • Public • Published

sfdx-browserforce-plugin

sfdx plugin for executing various tasks using browser automation

Build Status

Installation

$ sfdx plugins:install @amtrack/sfdx-browserforce-plugin

Usage

$ sfdx browserforce --help
Usage: sfdx browserforce:COMMAND
 
Help topics, type sfdx help TOPIC for more details:
 
 browserforce:shape  commands for shape
$ sfdx browserforce:shape --help
sfdx browserforce:shape commands: (get help with sfdx help browserforce:shape:COMMAND)
 browserforce:shape:apply  apply an org shape
$ sfdx browserforce:shape:apply --help
Usage: sfdx browserforce:shape:apply
 
apply an org shape
 
Flags:
 -f, --definitionfile DEFINITIONFILE  path to a browserforce definition file
 -u, --targetusername TARGETUSERNAME  username for the target org
 
help text for browserforce:shape:apply

Examples

Org Shape

Check and apply org shape for scratch orgs, sandboxes and production orgs

$ sfdx browserforce:shape:apply -f config/browserforce-shape-def.json -u myscratchorg

The schema of the config/browserforce-shape-def.json is similar to config/project-scratch-def.json.

"orgPreferences"{
    "enabled": [
      "ExternalSharing"
    ]
}

Supported Org Preferences

Sharing Settings

  • ExternalSharing
  • CustomerPortal (Warning: cannot be disabled once enabled)

Planned Features (contributions welcome)

Org Preferences

General Settings

  • SalesforceToSalesforce

Live Agent Settings

  • LiveAgent

Account Settings

  • AccountSharedAccounts (Allow users to relate a contact to multiple accounts)

Contact Field History

  • ContactFieldHistory

Omni-Channel Settings

  • OmniChannel

Email-to-Case Settings

  • EmailToCase

Email to Salesforce

  • EmailToSalesforce

Entitlement Settings

  • MilestoneStoppedTime

Campaign Influence Settings

  • CampaignInfluence

Company Information

{
  "language": "English",
  "locale": "German.*Germany",
  "timezone": "Berlin",
  "workflowUser": "User User"
}

Changeset Management

Create outbound changesets from a given package.xml.

$ sfdx browserforce:changeset:create -f src/package.xml -u myscratchorg

Contributing

Please see CONTRIBUTING.md for getting started.

Sponsors

License

MIT © Matthias Rolke

install

npm i @amtrack/sfdx-browserforce-plugin

Downloadsweekly downloads

2

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability