4-19
User
Guide

for

the

Cisco

Application

Networking

Manager

5.2
OL-26572-01
Chapter
4






Using

Application

Template

Definitions
Managing
Application

Template

Definitions
Note
When
using

the

Save
As

feature,

ANM

does

not

allow

you

to

save

a

template

using

the

same
application
type

and

version

number

as

the

original

template

file.

You

must

change

either
the
application

type

or

the

version

number.


Click
Exit
to
exit

the

template

editor

and
return
to

the

Application

Template

Definitions
window.
Related
Topics


Information
About

Application

Template
Definitions
and
Instances,

page
4-1


Editing
an

Application
Template
Instance,

page
4-9


Managing
Application

Template

Definitions,

page
4-15


Editing
an

Application
Template
Definition

Using

an

External
Editor,
page
4-19


Testing
an

Application
Template
Definition,
page
4-28


Deleting
an
Application
Template
Definition,

page
4-29


Using
the

ANM

Template

Editor,
page
4-29
Editing
an

Application

Template

Definition

Using

an

External

Editor
You
can

export

an

application

template

definition

file,

modify

it

using

a

text

editor,

and

then

import

it
back
into

ANM.
Prerequisites
You
must


have

a

text

editor

(minimum)

such

as

WordPad

or

a

n

XML

editor

(pr

eferred).
Procedure
Step
1
Choose
Config
>

Global

>

Application

Template
Definitions
and

export

the

template

to

edit

from

the
list
of

available

templates.
For
details,

see

the

“Exporting

an

Application

Template

Definition”

section

on

page

4-26 .
Step
2
Using
a

t

ext

editor

such

as
WordPad,
open

t

he
template
XML

file

t

hat

you

exported
in
St

ep

1.
Step
3
Modify
the

template

identification

by

doing

one

or

both

of

the
following
in

the

header

code:


Assign
a

new

value

to

the

applicationType

attribute.


Change
the

version

number

attribute.
In
the

example

(see

Figure

4-2 ),

the

template

version

number

is

changed

from

1

to

1.1.
version=”1.1”
Note
When
you

change

the

template

name

or

version

number

and
import

the

template,

ANM

displays
the
template

as

a

new

line

item

in

the

Application

Template

Definitions

window

even

if

you

save
the
file

under

the

same

name

(see

Step

5 ).
Step
4
Modify
the
operation
of
the

template

as

needed.
In
the

example

(see

Figure

4-2 ),

the

following

changes

are

made: