Configure the Rollups Region in a Panel

Rollups summarize data for an attribute of a business object and its related objects. In Sales in the Redwood UX, the calculated value of a rollup appears as a business metric inside a panel on an account record's page. You can add new rollups to a panel using Oracle Visual Builder Studio.

Where Do Rollups Appear?

Rollups appear inside specific panels on an account record page in Sales in the Redwood UX.

Here's a screenshot of a rollup that displays in the Hierarchy panel for an account.

This screenshot shows a rollup that displays on the Hierarchy panel for an account.

Only certain panels include a region for rollups. You can modify these regions, as needed.

This table lists which panels include rollups, as well as the predefined rollups that are automatically included in each panel. For example, a rollup can calculate the sum of the potential revenue from the opportunities for an account.

For a complete list of all the predefined rollups that are available with Sales in the Redwood UX, see Predefined Rollups.

Panel

Predefined Rollups

Hierarchy

  • TotalAccountsInHierarchy

  • AccountRollup.items.SumOfWonOpportunitiesRevenue

  • AccountRollup.items.HierSumOfWonOpportunitiesRevenue

Opportunities

  • Total Potential Revenue from Open Opportunities (SumOfOpenOpportunitiesRevenue)

    The sum of the potential revenue from the open opportunities of an account and its hierarchy.

Leads

  • Total Potential Revenue from Open Leads (SumOfOpenLeadAmount)

    The sum of the potential revenues from qualified and unqualified open leads of an account.

Service Requests

  • Total Open Critical Service Requests (NumberOfOpenCriticalServiceRequests)

    The total count of the open critical service requests that are in the new, in-progress, or waiting status of an account and its hierarchy.

  • Total Open Service Requests (NumberOfOpenServiceRequests)

    The total count of service requests that are in the open, in-progress, and waiting statuses, associated with an account and its hierarchy.

Configure the Rollups Region

In this example, we'll add a predefined rollup to the Hierarchy panel. (Note that you can also create custom rollups, if required. For more information about how to create custom rollups, see Create Rollups.)

  1. In Sales in the Redwood UX, navigate to the My Accounts page and drill down to any account record.

  2. In the Settings and Actions menu, select Edit Page in Visual Builder Studio.

    This screenshot shows how to enter into Oracle Visual Builder Studio.
  3. Select the project that's already set up for you. If only one project exists, then you'll automatically land in that project.

  4. If you're working in an active sandbox when you launch VB Studio from Sales in the Redwood UX, then VB Studio looks for a workspace that's associated with your sandbox. If you're not working in a sandbox when you launch VB Studio, then VB Studio looks for a workspace without a sandbox. You might need to select a workspace if more than one workspace exists. If no workspace exists, then VB Studio automatically creates one for you.

  5. When you enter into your workspace in VB Studio, you land on the Page Designer. This is where you create your application extension.

    The account record page is displayed in the "design area."

    Tip:

    To display more of the page in the design area, collapse the navigation pane by clicking the Applications Extensions tab on the left. Then, select Wide screen from the list at the top of the Page Designer.

    This is a screenshot of how to collapse the left pane.
  6. Click the Design button.

    This is a screenshot of the Design button.
  7. In the design area, click the dynamic form region inside the Hierarchy panel.

    Note that the region now displays with a Dynamic Form handle.

    This is a screenshot of the rollups region on the Hierarchy panel.

    In the Properties pane, the rule set is also displayed.

    This is a screenshot of the rule set for the rollups region on the Hierarchy panel.
    Tip:

    Instead of clicking, you can also hover over the list region in the design area. When you hover, both the region and its associated dynamic form are highlighted in green.

    This is a screenshot of the Page Designer in VB Studio.
  8. In the Properties pane, click Account Hierarchy Card Layout.

  9. On the Layouts tab, click the Duplicate icon to duplicate the default base layout.

    This is a screenshot of how to duplicate a base layout.
  10. Enter a name for the layout and click Duplicate.

  11. Click the Open icon to edit the duplicate layout.

    This is a screenshot of how to open a custom layout to make changes.
  12. On the Fields tab, search for the field that you want to add as a new rollup to the Hierarchy panel.

    In this example, we want to add the total number of employees to the Hierarchy panel. Enter employee in the Filter field, then click the EmployeesTotal field to add it to the list of rollups.

    This is a screenshot of adding a field to the rollups region.
    Note:

    Use the Filter field to filter on a set of fields that you can add. For example, enter rollup to find rollup fields that you can add. Other rollup-related terms that you can filter on include total or sum.

    This is a screenshot of filtering on a set of fields that you can add.
  13. Click the Preview button to see your changes in your runtime test environment.

    This is a screenshot of the Preview button in Visual Builder Studio.

    The total number of employees is now displayed in the Hierarchy panel next to the total number of accounts in the hierarchy. If the accounts don't have employee counts specified, then nothing displays in the panel at runtime.

    This screenshot displays the Hierarchy panel with a new Total Employees rollup field.