How You Configure and Extend Asset Groups Using Application Composer

Use Application Composer to extend and configure the asset group object by defining your own fields and adding them to the Create and Edit Asset Group pages. The new user-defined fields are then exposed in the Asset Group REST API. Note that you can't extend the Manage Asset Groups search page using Application Composer.

Here are some changes you can make using this tool:

  • Modify the Asset Group object by defining new user-defined fields.
  • Modify the Create and Edit Asset Group user interface pages by exposing your newly created fields for the object.
  • Implement functional and data-level security for configured objects.
  • Write Groovy scripts using the expression builder that appears in many places as you modify existing objects.

You can also use the Application Composer tool to create your own objects and child objects related to the Asset Group object. These objects can’t be exposed in the Create and Edit Asset Group pages. However, if created, they are automatically provisioned in the Asset Group REST API.

Note: By default, a configured object and its records are visible and editable only to users who are provisioned with the Custom Objects Administration (ORA_CRM_EXTN_ROLE) role. Ensure that this role is given to any user using Application Composer.

Before You Start

To use Application Composer, you must have the Application Implementation Consultant role.

Next, create a Sandbox in which to create, edit, preview, and deploy your changes to the Asset Group object. Here are the steps:

  1. Navigate to Configuration > Sandboxes
  2. Click Create Sandbox
  3. On the Create Sandbox page, enter a name and description
  4. Select Application Composer as the tool using the check box
  5. Click Create and Enter. You will now be in the context of the sandbox for this environment.

Create, Edit, and Preview Your Changes

After you create a sandbox, you can navigate to the Application Composer page. Here are the steps:

  1. Navigate to Configuration > Application Composer
  2. Select the Application > ERP and SCM Cloud
  3. Under Objects, expand the Standard Objects region
  4. Under Standard Objects, expand the Asset Group object
  5. You can now:
    • Define custom fields or manage standard fields
    • Edit the Create and Edit Asset Group pages
    • Manage actions and links
    • Manage server scripts
Here are the pages that you can extend:
Page Description Extensibility
Create Asset Group This page is used to create a new Asset Group and is exposed both in the Maintenance Management work area as well as the Functional Setup Manager.

You can control the fields that are displayed in the create page. This includes deciding which attributes are displayed by default and the optional attributes which you can hide.

Additionally, you can create your own fields and add them to the Create page.

Edit Asset Group This page is used to edit an existing Asset Group and is exposed both in the Maintenance Management work area as well as the Functional Setup Manager.

You can control the fields that are displayed in the edit page. This includes deciding which attributes are displayed by default and the optional attributes which you can hide.

Additionally, you can create your own fields and add them to the Edit page.

To extend a page, first create a duplicate copy of the page and then you can edit it. When all the changes are made, you can preview the changes using the same sandbox

Note: We recommend that you add any configured fields to both the Create and Edit Asset Group pages for consistency. The configured fields are automatically provisioned in the Asset Group REST API.

Save Your Work and Publish the Sandbox

When you're done making your changes, you must publish the sandbox by clicking the sandbox name and selecting Publish. This deploys your changes to the environment and your users can start to use the extended and configured pages.

For more information, refer to the Configuring Applications Using Application Composer and the Groovy Scripting Reference guides.