Change the Asset and Opportunity Subview and Panel Templates

Change the Asset and Opportunity subview and panel templates using Oracle Visual Builder Studio (VBS).

Here's how:

  1. Sign in as a user with access to VBS. For example, sign in as a sales administrator or setup user.
  2. Go to the Assets list page and edit an asset.
  3. In the Asset detail page, from your user menu in the global header, click Edit Page in Visual Builder Studio.
  4. Select or create a project.
  5. After you select or create a project, the VBS workspace shows the assets-detail page.
  6. Duplicate the section templates for the Asset Opportunities panel and subview:
    1. Click the Sections tab on the Panel Container Layout.
      Sections tab
    2. Click the Asset Opportunities Panel Template.
    3. Click Duplicate Section.
      Duplicate section button
    4. Repeat similar steps to duplicate the Opportunities subview template.
  7. In the assets-detail page designer, click the Code tab and select Templates.
    Code tab with Templates selected
  8. Replace the params property in both templates:

    From:

    <oj-vb-fragment-param name="query" value='[[ [{"type": "qbe", "provider": "adfRest", "params": [{"key": "ChildRevenue.AssetId", "value": $base.page.variables.id}]}] ]]'></oj-vb-fragment-param>

    To:

    <oj-vb-fragment-param name="query" value='[[ [{"type": "qbe", "provider": "adfRest", "params": [{"key": "AssetNumber", "value": $base.page.variables.puid}]}] ]]'></oj-vb-fragment-param>
  9. Duplicate the rules for the panel container layout. Replace the original Opportunities panel template with the new one.
    Replacing templates
  10. Repeat for the subview container layout.