Giter Club home page Giter Club logo

oregontrailhead's Introduction

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

oregontrailhead's People

Contributors

sophienyaa avatar

Stargazers

Jory Dean avatar Adrian Barrera avatar Thomas Taylor avatar

Watchers

 avatar

Forkers

jory-sfdc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.