Resource elements are files that are imported into the Orchestrator server for use by Orchestrator applications. By accessing a resource element from a URL in a Web view, you make that resource element available to processing that you define in the Web view.

Objects that workflows and Web views can use as resource elements include image files, scripts, XML templates, HTML files, and so on. Any workflows or Web views that run in the Orchestrator server can use any resource elements that you import into Orchestrator.

You must have performed the following tasks:

Imported a file into the Orchestrator server to use as a resource element

Created a Web view in the Orchestrator client

Created a Web view page in which to insert a URL to run an action

1

From the drop-down menu in the Orchestrator client, select Administer.

2

In the Web views view, right-click the Web view to which to add the URL and select Edit.

You must unpublish a running Web view to edit it.

3

Right-click in the Attributes tab of the Web view editor and select Add attribute.

4

Create a Web view attribute, of type ResourceElement with the value set to the resource element of your choice.

For example, name the Web view attribute MyImage if the resource element is an image file.

5

Click Save and close to exit the Web view editor.

6

Open the HTML page in which to insert the URL in an HTML editor.

7

Add a link to http://orchestrator_server:8280/vmo/web_view_url_folder/system/resources/attributes/resource_attribute_name.att at the appropriate place in the HTML file.

Add a relative link to the resource element URL, that starts below the Web view URL folder value, rather than hard-coding the address of the Orchestrator server in the URL, as the following example shows:

<a href="./system/resources/attributes/MyImage.att">
      Click here to obtain an image</a>

The URL uses the Web view attribute you set in the Orchestrator client to obtain the resource element in the Web view.