Skip to content

A 'Woah!' Lightning Component for Salesforce - by Raspi's Dojo

License

Notifications You must be signed in to change notification settings

Raspikabek/SFDC-Dynamic-CountUp

Repository files navigation

SFDC Animated & Dynamic CountUp

Lightning Component for Salesforce

Animated Image

Description

Summarize, Average, Min or Max any field from any Child relationship in any SObject, like Opportunities Amount from any Account. Even you can customize what records do you need to filter!

Sample Image

Instalation

How to use

Once installed, go to an Account record and add the Lightning Component Count Up to the Lightning Layout.

Lightning Component Icon

Now you can fill and configure the following parameters:

  • Required
  • Non required
Parameters
  • Card Title
  • Child Relationship -- RelationShip API Name Ex: Opportunities from Account
  • Field -- Field API Name Ex: Amount -- MyCustomField__c
  • Operation -- SUM, AVG, MIN, MAX
  • Custom Conditions -- Like a SOQL WHERE Clause Ex: IsWon = TRUE
  • Decimals -- Integer value
  • Thousand Separator -- A comma (,) or a point (.)
  • Decimal Separator -- A comma (,) or a point (.)
  • Prefix
  • Suffix

Config Image

Using CountUp.js v1.8.5 from: https://github.com/inorganik/countUp.js