Using Skilljar's Salesforce integration, many Skilljar customers leverage the Skilljar data to create custom reports in Salesforce. In Salesforce, reports are based on Report Types. In order to create a customized report, we need to develop a new Custom Report Type. Think of this Custom Report Type as the blueprint for your report - you can enable users to create reports from the predefined objects, object relationships, and fields that you specify.
When you're ready to create this new Custom Report Type, we recommend thinking about the end goal of the report. What do you want the report to demonstrate? What data do you want to include? Reviewing the Custom Objects and Their Fields list is helpful, as you can see which Fields fall under the various Custom Objects. The Custom Report Type will be built using Custom Objects.
Please note: Every implementation of Salesforce varies greatly from company to company. The examples shown in this article reflect Skilljar's own environment for demo purposes and your organization's implementation may differ from what is displayed below. This portion of the set-up might need to be completed by your organization's SFDC Admin.
In the below example, we will be creating a Custom Report Type for Student Course Progress.
- Begin by searching for "Report Types" within the Set-up Panel and select it from the search results dropdown. This selection will lead you to: Set-up -> Platform Tools -> Feature Settings -> Reports & Dashboards -> Report Types
- Select "New Custom Report Type"
- On this page:
- Define the Custom Report Type.
- Select the Primary Object you would like to use for this report type. We selected Published Courses.
- Complete the required fields in the Identification section. These include: Report Type Label, Description, and the location where the report type should be saved.
- In the Deployment section, select Deployed
- Select Next
- On this page:
- Define Report Records Set.
- This view begins with the Published Courses Skilljar Object as A - Primary Object, based on what was selected on the prior page.
- Click the box below A to pull in a related object.
- In this example, we have selected: Course Progresses for B (changing the A to B relationship to: "A" records may or may not have related "B" records), Lesson Progresses for C, and VILT Session Registrations for D. Please note, at this point, we have reached out Object Limit. You can associate up to four objects to a custom report type.
- We have successfully made a new Custom Report Type. There is another step that allows us to pull even more fields into this report, based on the four objects we have selected (Published Courses, Course Progresses, Lesson Progresses and Vilt Session Registrations). The below image shows a total of 75 fields that are currently related these Source Objects.
- To increase the number of selected fields, select "Edit Layout"
- From the View Panel along the right-hand side, Select Published Courses Fields from the dropdown menu and click "Add fields related via lookup."
- Next, select Course and Select All fields and then click OK. The below image shows all of the fields that are now related to the Published Course Object, the magnifying glass on certain fields indicates which ones are pulled in through related lookup exercise.
- Repeat this exercise for the other three Objects used in the report type:
- View >> Select Course Progresses Fields >> Select Student >> Select All >> Click OK
- View >> Select Lesson Progresses Fields >> Select Lesson >> Select All >> Click OK
- View >> Select VILT Session Registrations Fields >> Select VILT Session >> Select All >> Click OK
- When you return to the Custom Report Type overview page, you will see that there are now 122 fields:
- This new Custom Report Type can now be used to make a report. Please feel free to adjust the selected Objects to fit the needs of your end desired report. Please see this help article for how to create the report, based on this new Custom Report Type.