Skip to content

Choose a package version

Select an exact package version, verify the installed version, or plan recovery. For a normal first installation, follow Install and verify.

Each Salesforce package version has a unique 04t ID. The sandbox and production links install the same released package; only the Salesforce login destination differs.

In Salesforce packaging terms, this is a second-generation unlocked package (2GP). Released versions have fixed contents: Salesforce does not edit a released version in place.

Confirm whether the destination is a sandbox, production org, Developer Edition, or clean org. If Record Health Check is already installed, preserve organization-owned Check Sets and Checks before changing versions and follow the full upgrade and revalidation procedure.

To see the current version, open Setup → Installed Packages, select Record Health Check, and read Version Number.

Verify the exact target before installation. Repository source can include changes that are not yet released. When following an example, use documentation, Check definitions, data scripts, and expected results from the same source or release.

The release configuration identifies the published package and its installation links. The changelog records work prepared for publication. Deploying source to a scratch org does not update the published package.

Confirm the current distribution notice in the release notes, verify the package ID on the Salesforce installation screen, and validate in a sandbox before production.

Public install destinations:

Target environmentInstall
SandboxOpen the public sandbox installer
Production or Developer EditionOpen the public production installer

For a repeatable installation or upgrade, record the exact package ID from the release configuration before starting. Use that same ID in each environment you validate.

Choose Install for Admins Only on the Salesforce installation page, then assign Record Health Check Card User, Record Health Check User, or Record Health Check Admin as described in Install and verify in your org. For troubleshooting as a Card User or User, add Record Health Check Diagnostics Viewer and enable Show Diagnostics on the Check Set; Admin already includes diagnostic access. See Permission Sets if Diagnostics Viewer is absent from Setup.

The installation page shows the package name, publisher, target version, component access choices, and whether the org already has a related version. Confirm the target org and version before selecting Install.

Step 2: Install an exact version with Salesforce CLI

Section titled “Step 2: Install an exact version with Salesforce CLI”

Copy stable.subscriberPackageVersionId from the release configuration and replace PACKAGE_VERSION_ID below. The value begins with 04t.

Terminal window
sf package install \
--package PACKAGE_VERSION_ID \
--target-org <org-alias> \
--security-type AdminsOnly \
--upgrade-type Mixed \
--wait 30 \
--publish-wait 10 \
--no-prompt

Confirm the target org before running the command. After installation, follow the permission, Lightning page, and user-verification steps in Install and verify.

A released 2GP package version is immutable, but that does not make in-place downgrade a dependable rollback mechanism. Salesforce package upgrades follow version and dependency rules. Test the intended transition in a representative sandbox; do not assume an org can install a lower version over a higher one.

Use the recovery path that matches the situation:

SituationSafe path
A new or clean org needs a specific releaseInstall its recorded 04t package version ID.
An upgrade has not reached productionStop the rollout and keep production on its current installed version.
An installed upgrade must be reversedPreserve subscriber-owned Check Sets and Checks, then prefer a higher corrective package version. Validate the forward fix in a sandbox before production.
The package must be removedFollow Uninstall and rollback, including configuration backup and dependency removal. Reinstall the desired release only after confirming that a clean reinstall is acceptable.

Package rollback and configuration rollback are separate concerns. Before any upgrade or uninstall, back up organization-owned Record_Health_Check_Set__mdt and Record_Health_Check__mdt records and record the Lightning page placements that use them. See Upgrade and revalidate and Back up and restore configuration for the complete safety and verification procedure.