Coder Social home page Coder Social logo

approval-component's Introduction

Mass Approval Widget

Generic badge Maintenance Generic badge

App Details

Salesforce in default doesn't have a screen to approve or reject the pending approval items in one go. Users need to click/ open each item and do the approvals. This screen enables user to select the records and do the approvals by clicking Approve or Reject button. This component is developed on LWC framework which is faster and lightweight in salesforce platform. Since this is a generic screen, so we can place anywhere. This build is initial commit.

Platform Salesforce Lightning Platform
Framework LWC (Lightning Web Components)
Package Version Name Initial Release
Package Version Number 1.0 (Released)

Available for

Lightning Home Page, Lightning App page, Lightning App utility Bar (1000 x 400) pixels in Lightning App.

Features

  • Mass Approve/ Reject Approval requests
  • View Records and View Submitter Comments
  • Infinite scrolling of records with seamless lazy loading
  • Mass enter Approver comments and comment and fill the same on chosen records
  • You can sort Item Name, related to, Submitter, Submitted date
  • Wrap Text/ Clip Text options on Columns
  • Refresh button to refresh the Approval requests.

Screenshot

Screen with approvals

image

Deployment

You can deploy this widget as managed Package in your Salesforce instance.

URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t0K000001VKBF
  • Choose All users while deploying the package.

Before you install, Create a approval process in contact object named as Test_Approval with entry criteria as LastName is not blank and activate. This is used for installing package. After installation completes, delete this approval process. we are doing this because approval process is not available for packaging.

Todos

  • Optimize code
  • Filters
  • Add undo function for Approve and Reject actions.
  • Add Night Mode

Any Bugs ? Please mail me @[email protected] and Follow me in trailblazer https://trailblazer.me/id/vigneshmohankumar and twitter V_my_Atmosphere.

Reference ๐Ÿ‘

  • SFDCMonkey - provides the basic approach on mass approval using AURA and apex which is simple and I just made it in LWC with more options.

approval-component's People

Contributors

vignesh15081992 avatar

Watchers

James Cloos 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.