-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Salesforce CRM Admin Cookbook
By :
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.
Carry out the following steps to create a custom Credit Score field on the Account object:
Navigate to the Account Fields setup page by going to Your Name | Customize | Accounts | Fields.
Scroll down to the Account Custom Fields & Relationships section.
Click on New.
We will be presented with the Step 1. Choose the field type page.
Choose Number from the Data Type options.
Click on Next.
We will be presented with the Step 2. Enter the details page.
Enter Credit Score in Field Label.
Enter 3 in the Length field.
Accept the default option of 0 in the Decimal Places field (as shown...
Change the font size
Change margin width
Change background colour