Display target object fields for M:M related objects with a custom relationship

Administrators can configure a subview to display target object fields for a many-to-many (M:M) related object with a custom relationship

Two tabs can be displayed: one for the intersection child object and one for the target object.

Steps to enable and configure

Leverage the Visual Builder Studio to expose your applications. To learn more about extending your application using Visual Builder, visit Oracle Help Center > your apps service area of interest > Books > Configuration and Extension.

  1. Use the Extension Generator in Application Composer to add a subview for the object.
  2. The Extension Generator creates the required code. Import the generated ZIP file into Visual Builder Studio (VB Studio).
  3. By default, the generated subview displays both the child object and target object tabs.
  4. To control which tabs are displayed, set the tabs parameter in the cx-subview fragment on the detail page to one of the following values: both, child or target . <oj-vb-fragment-param name="tabs" value='[[ "both" ]]'></oj-vb-fragment-param>

For an existing subview:

  1. In Extension Generator, select "Create New Extension".
  2. Add the source object and add a panel, subview for the target object.
  3. Generate the extension. This creates a .zip file containing the required code.
  4. Manually incorporate the relevant changes from the generated extension into your existing subview implementation. Do not import the generated .zip file, since you have already copied the required code.