Copying a policy template

About this task

You must have the Manage policy templates functional privilege to perform the task.

A policy template can become complex, especially if it includes many policies. Instead of creating a new policy template from scratch, it is sometimes easier to copy an existing template that is similar to the one you need and edit the copy.

When you create a copy of a policy template, be aware of the following considerations.

  • When webMethods API Gateway creates a copy of a policy template, the new copy of the policy template is identical to the original one.
  • webMethods API Gateway does not establish any type of association between the two policy templates.

In general, a copied policy template is no different from a policy template that you create from scratch.

Procedure

  1. Open the menu options and select Manage > Policies.
  2. Click Policy Templates.
    A list of all available policy templates appears. Use the Show list to set the maximum number of policies you want to display in a page.
  3. Click Copy for the required template.
  4. In the Copy of Policy Template dialog box, provide the following information.
    • Name. Name of the policy template. webMethods API Gateway automatically adds the name of the existing policy template. You can change the name of the template as you require, but you cannot leave the name field empty.
    • Description. The description for the policy template.
  5. Click Copy to save the new policy template.