Lightning Web Components

Delivered

Stage-exit guidance

LWC components for opportunity stage-exit guidance on Salesforce record pages.

Problem

Users moving an opportunity between stages need to know what is expected at that point. Guidance buried in documents is easy to miss; it works better inside the record page.

My contribution

  • Built LWC components for opportunity stage-exit guidance on record pages.
  • Also built service-request screens and product information components on record pages.

Design

A synthetic reconstruction of the general pattern, not employer code.

  1. Read current stage and record context
  2. Look up stage guidance from configuration
  3. Check which criteria are met
  4. Render checklist with clear next steps
  • Guidance text and criteria are configuration, so wording can be updated by the business.
  • The component is keyboard-navigable and announces status changes to assistive technology.

Tradeoffs

Design tradeoffs
ChoiceBenefitCost
Guidance, not hard blockingKeeps users in flowCompliance rules still need validation rules
Configurable contentBusiness edits without codeContent can drift without an owner
Native LWCFits the record page and platform securityLimited to what the platform exposes

Demonstrated behavior

Planned demo (not yet built)

  • A synthetic opportunity moving through stages with guidance updating per stage

See the planned demo: Stage-exit guidance

Technologies

  • LWC
  • Apex
  • Lightning record pages
  • Custom Metadata