O'Reilly logo

Salesforce CRM Admin Cookbook by Paul Goodey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rendering an Account credit score graphically using JavaScript, CSS, and Visualforce

Here we describe a recipe for rendering a credit score graphically using JavaScript and CSS within a Visualforce page and adding the page as an inline section on a Salesforce Account Page Layout. First, we create a custom Account credit score which will feed the values rendered in the graphical range.

Getting ready

Carry out the following steps to create a custom Credit Score field on the Account object:

  1. Navigate to the Account Fields setup page by going to Your Name | Customize | Accounts | Fields.

    Note

    Scroll down to the Account Custom Fields & Relationships section.

  2. Click on New.

    Note

    We will be presented with the Step 1. Choose the field type page.

  3. Choose Number ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required