Printable forms you can use to prepare or extend inspection reports.
These instructions will walk you through installing the pages and resources.
-
Open the Developer Console under the settings gear
-
Under the File > New menu select Visualforce Page
-
Enter a descriptive name (e.g. VehicleReportCard) and select ok
-
Paste the contents of the example page and save (File > Save)
-
Open the Developer Console under the settings gear
-
Under the File > New menu select Static Resource
-
Enter a descriptive name (e.g. VehicleReportCardCSS) and select ok
-
Select text/css under MIME Type
-
Paste the contents of the example static resource and save (File > Save)
-
Note, you will need to update the stylesheet name on line 4 of the Visualforce page
<apex:stylesheet value="{!URLFOR($Resource.VehicleReportCardCSS)}" />
To view your page(s) you will need to pass the DealID parameter. https://agility-ruby-6856-dev-ed--dealer.visualforce.com/apex/vehiclereportcard
-
Click the App Launcher icon
-
Enter Inspection in the search area.
-
Click Inspection Reports.
-
Select the report # to open up the inspection report.
-
Copy the unique identifier from the URL between the slashes. a0n17000003SP87AAG is the report ID in the example below.
https://agility-ruby-6856-dev-ed.lightning.force.com/lightning/r/dealer__Inspection_Report__c/a0n17000003SP87AAG/view -
Browse to your page appending the report ID.
https://agility-ruby-6856-dev-ed.lightning.force.com/apex/vehiclereportcard?id=a0n17000003SP87AAG
The pages can be customized to meet your needs.