The structure of Building Blocks

Because of its XML format, the contents of a Building Block can be edited manually using any text editor or XML-authoring solution.

Example 1

If you have installed a new file server to replace the existing one, all references in your Ivanti Automation site to the file server need to be changed.

Instead of editing each setting individually, do the following:

  1. Create a Building Block of the Library settings (Resources, Modules, Projects, Run Books).
  2. Open the Building Block XML file and replace all references to the old file server with references to the new one.
  3. Import the edited Building Block back into the Ivanti Automation site. When prompted, select the original GUIDs, to overwrite the existing Resources, Modules, Projects and Run Books.

Example 2

If the Security Context password to execute a Task has changed in your Ivanti Automation site, all instances of this password in your Ivanti Automation site need to be changed:

  1. Create a Building Block of the Library settings (Resources, Modules, Projects, Run Books) for backup purposes.
  2. In the Console, change the Context Password in a Task.
  3. Create another Building Block of the Library settings, with the changed Context Password.
  4. Open the Building Block XML file in a text editor.
  5. Use the Search functionality to search for and copy the changed Context Password.
  6. Use the Search and Replace functionality to replace the other Context Passwords with the changed Context Password.
  7. Save the changed Building Block.
  8. Import the Building Block back into the Ivanti Automation site. When prompted, select the original GUIDs, to overwrite the existing Resources, Modules, Projects and Run Books.
  9. Check your changes to see whether the actions succeeded. If necessary, import the backup Building Block to revert to your original settings.

Editing a Building Block may lead to unexpected results. Before you modify a Building Block, make sure you have created a backup.