Version 10 upgrade guide

Version 10 upgrade guide

Use this guide when upgrading an existing 3B Onboarding org to Version 10.10. Install and validate the release in a sandbox first. Compliance v2 and Record Files are opt-in, but the package-lineage conversion, job-board metadata and packaged Lightning app changes can affect existing configuration immediately.

Before installing

1. Check dependency packages

Version 10.10 is built with these 3B package versions:

Package Version
3B Forms (b3f) 9.9
3B CLM (b3d) 8.107
3B Portals (b3p) 9.5

Confirm that the target org has compatible versions. The supplied Record Files definition uses 3B CLM fields on Salesforce Files, so either install 3B CLM or create a definition that uses your own ContentVersion fields.

2. Audit job-board customisations

Search Flow, Apex, reports, list views, layouts and integrations for these API names:

Version 10 publishes jobs through fields on b3o__Job__c:

Previous configuration Version 10 configuration
A Job Board Posting junction connected a Job to a Job Board. Add the board's Name to the Job's b3o__Job_Boards__c multi-select picklist.
b3o__Posted_on_Job_Boards__c could make the posting status live. Set b3o__Post_Job__c to true.
Automation queried the junction to find board membership. Query b3o__Job_Boards__c on the Job.

Also confirm that each live job is Open, has b3o__Date_Posted__c, and is inside its b3o__Available_From__c and b3o__Available_Until__c window.

3. Audit retired metadata

Version 10 removes these legacy components from the managed package:

Export any data you still need and replace references in custom automation, reports and integrations. Salesforce can preserve some removed managed-package metadata in an installed org, but it should not be treated as a supported Version 10 integration surface.

4. Record the current Lightning app navigation

The package now supplies a shorter navigation list. Capture any extra tabs your users rely on so they can be re-added after installation from Setup > App Manager > 3B Onboarding > Edit > Navigation Items.

Install and permissions

Existing 1GP installations

The Version 10.8 packages form the required bridge from the first-generation managed package to 2GP:

  1. Upgrade the existing package to 3B Onboarding 10.8 1GP.
  2. Confirm the upgrade completes successfully.
  3. Install 3B Onboarding 10.8 2GP into the same org.
  4. Confirm Salesforce recognises the matching 10.8.0.1 versions and completes the package-lineage conversion.
  5. Install 3B Onboarding 10.10 2GP.

Do not attempt to install 10.10 directly over an older 1GP version.

Existing 10.8 2GP installations

Install 3B Onboarding 10.10 2GP directly.

Permissions and post-install access

  1. Confirm existing admin users still have Onboarding_Admin_Full_Permission. The updated set grants access to the new compliance and Record Files objects, fields, components and Apex classes, plus the additional Contact, document assignment, log entry, session, shortlist and dependency-extension fields included in 10.10.
  2. For authenticated site users, grant the Compliance v2 and Record Files class, object and field access they need alongside Onboarding_Site_User_Full_Permission, and test before rollout.
  3. Public Compliance and Record Files placements require a valid session key generated by the magic-link flow.
  4. Re-add any required Lightning app navigation items and confirm users still have object and tab access through their profiles or permission sets.

Configure Compliance v2

The legacy Compliance Rule, Profile and Group model continues to work. Version 10 does not convert those records. Build the new model alongside it, validate the result, then move each business process when ready.

1. Add a definition record

Deploy or recreate the Compliance Definition attached to the Version 10 change log as the Default record of b3o__Compliance_Definition__mdt. The record is supplied as release sample metadata (see the release's samples/), so do not assume a package upgrade has created it.

The default catalog covers Certificates, Document Submissions, References, Employment and Education History, 3B Forms responses, generated and e-sign documents, assessments, session bookings and Contact files. Clone it before removing catalog entries or replacing fields for a client-specific setup.

2. Build matrices and requirements

  1. Open the Compliance Matrices tab. Version 10.10 includes its CustomTab metadata, but you may need to add it to an app's navigation and grant tab visibility to the intended users.
  2. Create an active matrix and use Compliance Matrix Manager to add its requirements.
  3. Choose the requirement type, evidence object, matching conditions, applicability, approval behavior, expiry warning and candidate visibility.
  4. Link the matrix to a Job with b3o__Compliance_Matrix__c, or create Compliance Assignments from Flow for another context such as an Application or Placement.
  5. Place Compliance Command Center on the appropriate record page. Configure Contact Path, Compliance Matrix Path and Frame Height for that placement.

Known limitation in Version 10.10: the native component's Definition Name property is not applied. Native placements use Default. Use a direct Visualforce placement when the org needs multiple console definitions.

See Compliance console for the full object model and definition JSON.

3. Backfill and schedule expiry checks

Creating or updating an assignment queues recalculation automatically. After a bulk migration, use the 3B Recalculate Compliance Flow action, or run a small-scope batch from Execute Anonymous:

Database.executeBatch(
    new b3o.ComplianceMatrixRecalcBatch(
        'SELECT Id FROM b3o__Compliance_Assignment__c WHERE b3o__Active__c = true'
    ),
    5
);

Schedule the daily expiry sweep if expiry must update durable status fields and drive Flow or alerts:

System.schedule(
    '3B Compliance Daily Sweep',
    '0 0 2 * * ?',
    new b3o.ComplianceMatrixScheduler()
);

Monitor both jobs in Setup > Apex Jobs and test with a small data set before running a full backfill.

Configure Record Files

1. Add a definition record

Deploy or recreate the Record Files Definition attached to the Version 10 change log as the Default record of b3o__Record_Files_Definition__mdt.

Before using it, review:

2. Place and test the component

Add 3B Record Files to a record or Experience page and set Definition Name, Context Path and Frame Height. For 3B Portals, add the Record Files block and allow the portal to inject the candidate session key.

Test each intended user type separately. Confirm that users can see only files reachable through the configured sources and can perform only the configured upload, edit, delete, download, preview and merge actions.

See Record files for the complete definition schema and security model.

Post-upgrade validation