Dependent Layout Download

When a business user performs a download for a set of dependent layouts, Oracle Visual Builder Add-in for Excel starts with the primary layout and then progresses through the hierarchy.

The download process for a set of dependent layouts is similar to the other processes with these differences:

Descendant Table Layout Download

For descendant table layouts, the rows the add-in downloads depend on the rows in the direct parent table layout. For each row in the direct parent table layout, the add-in retrieves and processes all relevant child rows. If there are download parameters defined on the descendant table layout, the search criteria may limit the number of child rows retrieved for each parent row. See Filter Data for a Set of Dependent Layouts.

By default, the add-in sends separate GET requests to retrieve descendant rows. So to retrieve child rows, the add-in starts by making a single GET request to retrieve the first page of child rows for a given parent.

Writing the child rows to the worksheet takes place in order: all child rows for parent row 1 are written, then the rows for parent 2, and so on.

Much like the standard download, the add-in processes the retrieved rows for the page, requests the next page in the background, and writes the page’s rows to the worksheet. It keeps iterating over pages until all children for the parent row are retrieved and processed.

Note: Up to 4 GET requests may be made on background threads, in parallel.

Instead of downloading with separate requests, you can configure the add-in to download descendant rows in a single payload. See Configure Download to Use a Single Payload. In this scenario:

  1. The add-in makes one or more GET requests to retrieve the business object items for the table rows.

    The number of parent rows per request is determined by the value of the Limit Parameter Value field on the Download tab of the Business Object Editor. See Configure Pagination for a Business Object.

    The GET request is configured to include all descendant rows.

  2. The service sends a response payload that includes the set of parent rows for the table as well as all descendant items for those parent rows.

  3. The add-in writes the returned parent items data into the table and captures the descendant rows.

  4. The add-in repeats these steps until all parent items have been retrieved and written into the table.

  5. The add-in writes the descendant rows for each descendant layout in the hierarchy to the respective table without making any more REST requests.

Configure Download to Use a Single Payload

If you have a set of dependent layouts, you can configure Oracle Visual Builder Add-in for Excel to download all relevant descendant rows in a single payload. Use of a single payload can significantly improve performance.

This feature is only available for ADF REST services.

If your primary layout is a Form-over-Table layout, the add-in first makes a single GET request to retrieve field values for the form part of the layout. It then makes requests to retrieve blocks of rows for the table part of the layout as well as all relevant rows for the dependent layouts.

If the primary layout is a Table layout, the add-in makes one or more GET requests to retrieve the business object items for the table rows. All descendant items for those parent rows are also included in the response payload.

Note: This feature will not scale to handle large, enterprise-level volumes. If you enable this feature, test the download behavior to ensure that all required use cases will succeed in all customer environments and scenarios. Review Notes and Limitations of Single Payload Downloads for more information about scalability.

To enable this feature:

  1. Select the primary layout, then click Designer from the Oracle Visual Builder tab to open the Layout Designer.
  2. Click the Download tab in the Layout Designer.
  3. From this tab, expand Advanced, then select Retrieve Descendant Rows in Single Payload.

    Description of retrieve-descendant-rows-download.png follows

    Description of the illustration retrieve-descendant-rows-download.png

    Notes and Limitations of Single Payload Downloads

Single payload downloads (also referred to as “nested” downloads) are only supported for ADF REST services. Review this section to see if the feature is suitable for your integrated workbook.

Scalability

Be aware that this feature will not scale to handle large, enterprise-level volumes. If you enable this feature for your workbook, you are responsible for any scalability issues that arise. Make sure to test your workbook to verify that all required use cases will succeed in all customer environments and scenarios.

Use of CPU, memory, and network bandwidth resources could exceed acceptable levels, depending on the business object hierarchy and the data volume at each level in the hierarchy. Potential issues include:

Limitations