Skip to content

A LWC component to show when your record has died of dysentery...

License

Notifications You must be signed in to change notification settings

sophienyaa/OregonTrailhead

Repository files navigation

Oregon Trailhead

A fun little LWC to show when your opportunity has perished on the trail.

Inspired from this twitter thread from SteveMo: https://twitter.com/SteveMoForce/status/1509208181708398603

A screenshot of the component

Usage

Simply add the "Oregon Trailhead" component to your Lightning Record Page!

The component is dynamic needs to be configured by specifying the following:

SObject API Name - The API name of the SObject the component is on (e.g "Opportunity" or "My_Custom_Object__c")

Message - The message to be shown on the page (e.g "Your opportunity has bitten the dust...")

Fields to Display - The fields to display below the image, using the API names and seperated by a comma (e.g "StageName,Amount")

A screenshot of the config

You could also add filters, for example to only render the component when an Opportunity is "Closed/Lost"

Installation

You can install this as an unmanaged package by clicking here. The package ID is 04t0o000003TjOG if you wish to install manually.

Alternatively, you can deploy this repo to your Salesforce org using SFDX by running the below commands (assuming SFDX and GIT are installed)

  1. Clone the repo: $ git clone https://github.com/mickwheelz/OregonTrailhead.git

  2. Change to the directoy containing the metadata: $ cd OregonTrailhead

  3. Deploy the metadata: $ sfdx force:source:deploy -u <username or alias> -p .

License

This software is licensed under the MIT License.

Font used is "Print Char 21" by kreativekorp, under the Free Use License

About

A LWC component to show when your record has died of dysentery...

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published