Extending an Oracle Sales Cloud Opportunity with Custom Tab Exposing External Content

Topics:

Task 1   Extend an Opportunity with a Custom Tab

To extend a Oracle Sales Cloud opportunity with a custom tab that exposes external content:

  1. Launch Application Composer.

  2. Select Sales from the Application menu.

  3. Expand the Standard Objects tree node.

  4. Expand the Opportunity object node.

  5. Click Pages.

  6. In the Opportunity Detail Tab section, click Create. You can also click Create from the Actions menu.

  7. Select Web content as the subtab type, then click Next.

  8. Set the value for the Display Label to the string that will appear as the button label.

  9. Define the URL using Groovy. The final line of the script can be one of the following options:

    • A return statement with a pre-defined URL. Example: return (myURL).

    • The final value of a variable that defines the URL. Example: def myURL = "http://a_root_URL/?parm1="+parm1value+"&parm2="+ parm2value.

    • A quoted string defining the URL. Example: "http://a_root_URL/?parm1="+parm1value+"&parm2="+parm2value .

Task 2   Validate the Script

To validate the script:

  1. Validate the script using the Validate icon. If necessary, resolve any errors.

  2. Click Save and Close.

  3. To validate the results, navigate to an opportunity and expand the Additional Details section. Verify that the new custom tab appears and displays the expected content.