You can insert a new field and assign it an external value definition to dynamically provide read-only information that consumers can see on the item details page when they provision a custom resource.

About this task

Prerequisites

  • Log in to the vRealize Automation console as a tenant administrator or XaaS architect.

  • Add a Custom Resource.

  • Develop or import a vRealize Orchestrator script action to retrieve the information you want to provide to consumers.

Procedure

  1. Select Design > XaaS > Custom Resources.
  2. Click the custom resource to edit.
  3. Click the Details Form tab.
  4. Drag an element from the New Fields pane and drop it to the Form page pane.
  5. Enter an ID for the element in the ID text box.
  6. Enter a label in the Label text box.

    Labels appear to consumers on the forms.

  7. (Optional) : Select a type for the field from the Type drop-down menu.
  8. Enter the result type of your vRealize Orchestrator script action in the Entity Type search box and press Enter.

    For example, if you want to use a script action to display the current user, and the script returns a vRealize Orchestrator result type of LdapUser, enter LdapUser in the Entity Type search box and press Enter.

  9. Click Add External Value.
  10. Select your custom vRealize Orchestrator script action.
  11. Click Submit.
  12. Click Submit again.
  13. Click Finish.

Results

When the form is presented to your consumers, the script action retrieves your custom information and displays it to your consumer.