4-32
User
Guide

for

the

Cisco

Application

Networking

Manager

5.2
OL-26572-01
Chapter
4






Using

Application

Template

Definitions
Managing
Application

Template

Definitions
4
Description
Error
and

Warning

Indicators
Icons
that

appear

when

the

code

that

does

not

conform

to

the

XML

schema

as

follows:


—Warning
indicator:
Error
exists;

however,
the
error
will
not

prevent

deployment

of
the
template.


—Error
indicator:

Error
exists
that

will

prevent

deployment

of

the

template.
For
details

about

the

indicated

error,

see

the

Error

Description

Pane

located

at

the

bottom

of

the

window

or

hover

over
the
icon

to

open

t

he

popup

error

message

display.
5
Error
Description

Pane
Descriptions
of

the

detected

errors

in

the

code,

which

are

also

highlighted

with

Error

and

Warning

Indicators .

Because
the
error

description

text

does

not


wrap,

i

t

can

extend

beyond

t

he

display.

To

vi

ew

the

entire

description,

hover

over
the
message

to

open

the

popup

error

message

display.
Displayed
errors

remain

in

this

pane

until

you

fix

the

issue

and

validate

the

fix

by

clicking

Va

l

i

d

a

t

e

.
6
Function
Buttons
Buttons
that

work

as

follows:


Validate—ANM
validates

the

application

template

definition

file,

which

means

that

ANM

checks

to

see

that

it

is
a
well-formed

XML

document

that

follows

the

rules

defined

by

the

ANM

Template

XML

schema.

When

ANM
detects
errors

in

the

code,

it

highlights

the

errors

with

Error

and

Warning

Indicators

and

displays

the

Error
Description
Pane .

If

you

correct

the

code

and

click

Validate

again,

ANM

removes

the

error

indicators

and

closes
the
error

description

pane

if

no

other

errors

exist.


Save—Saves
your

changes

using

the

same

filename.
Note
the

following

when

using

this

button:


If

any

errors

exist

in

the

code,

ANM

displays

a

verification

popup

window,

asking

you

to

verify

that

you

want
to
save

the

information

regardless

of

the

detected

errors.


If

the

code

is

not

properly

structured,

ANM

displays

an

error

message

stating

that

the

template

cannot

be
saved
because

the

XML

structure

is

not


valid.

For

example,

i

f

you

enter

a

tag

and

do

not


cl

ose

it,

this

er

ror
occurs.
You

must

correct

the

code

error

before

ANM

allows

you

to

save

the

template.


The

Save

button

is

not

available

when

editing

a

system

template,

which

requires

that

you

use

the

Save

As
button.


Save
As—Saves

the

file

to
a
different

filename.

This

option

opens

the

Save

As
New
Template
Definition

popup
window
to

save

your

changes

under

a

new

application

type

name

or

version.

From

the

popup

window,

modify

the
file
attributes

if

needed

and

click

Save.
Note
the

following

when

using

this

button:


ANM

populates

the

popup

window

text

fields

with

the

attributes

of

the

original

file

opened

with

the

exception
of
the

Version

field,

which

ANM

increments

by

one.

If

the

version

is

not

a

number,

ANM

adds

the

“-next”
suffix
to

the

version.


ANM

does

not


al

low

you

t

o

save

a

t

emplate

usi

ng

t

he

same

application

type

and

version

number

as

the
original
template

file.

You

must

change

either

the

application

type

or

version

number

(or

both).


Exit—Exits
t

he

editor

without

saving

your

changes.
Table
4-5
ANM
Template

Editor

Component

Descriptions

(continued)
Item