SharinPix Salesforce CLI Plugin

The SharinPix Salesforce CLI plugin allows you to synchronize SharinPix forms, permissions, and settings between a Salesforce org and local configuration files.

This makes it easier to version, review, and deploy the SharinPix configuration across environments.

In this article, we will demonstrate how to:

circle-exclamation

Prerequisites

Install the Plugin

Install the plugin using the Salesforce CLI:

Verify the installation:

Authenticate to Salesforce

Log in to your Salesforce org using the web-based authentication flow:

It is recommended to define an alias for the org:

You can list authenticated orgs with:

Configuration

Target Org

All plugin commands require a target Salesforce org.

This can be provided using the login username.

Local Configuration Files

The plugin works with local configuration files:

  • Pull commands generate or update local files

  • Push commands read from those files and apply changes to Salesforce

It is recommended to commit these files to version control so configuration changes can be reviewed and deployed consistently.

Push Cleanup Behavior

triangle-exclamation

Warning

Synchronizing SharinPix Configuration

Pull all the configuration from Salesforce

This retrieves all supported SharinPix configurations (forms and permissions) from the target org and stores them locally.

Push all local configuration to Salesforce

This applies the local configuration back to the Salesforce org.

Verification

After running a pull or push command, verify that:

  • The correct Salesforce org was targeted

  • Local configuration files were created or updated

  • No errors were reported by the CLI

circle-check

Additional Information

Last updated

Was this helpful?