Code Monkey home page Code Monkey logo

leadchecker2000's Introduction

leadChecker2000

Record page LWC - can be used in the Lead Record Page in the Lightning Record Page editor. In theory, you can use it in other places as well, but it will fail -- trust me.

The purpose of this project was to get familiar with LWC in LRP, leveraging wire services, and getting familiar with event handlers such as handlechange and handleSuccess

Note, this is a flat component, meaning, the only way to add or remove fields is to modify the code. I am working on a dynamic version

Functionality:

  1. Displays the following fields from the Lead Object on a Lightning Card (leveraging: Lightning-record-edit-form): a. Lead First Name b. Lead Last Name c. Lead Title d. Lead Email e. Lead Source f. Lead Industry g. Lead Company h. Lead Phone

  2. Admin user can drag and drop component anywhere on the Lead Lightning Record Page. a. In the configuration menu the admin can enter the text they would like for the toast message to be displayed on success: i. Toast Title - The front messsage part of the toast message (IE: the header) ii. Toast Body - The remainder of the toast message iii. Component Title - title displayed on LWC between Lightning Bolts.

  3. User can update lead from component and have record saved.

Component image

Configuration (Toast and Title of LWC) image

Example Toast Message image

Completion Percentage

The completion percentage component uses the progress ring from the LWC library found here: https://developer.salesforce.com/docs/component-library/bundle/lightning-progress-ring/example

Using both OnLoad and OnUpdate methods we are able to dynamically show users while they are filling out the form their percentage towards completion with a full progress ring when all fields have a value.

Example with partial form completion: image

Example with full form completion: image

leadchecker2000's People

Contributors

jdean005 avatar

Stargazers

 avatar

Watchers

 avatar

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.