4-27
User
Guide

for

the

Cisco

Application

Networking

Manager

5.2
OL-26572-01
Chapter
4






Using

Application

Template

Definitions
Managing
Application

Template

Definitions
This
feature

allows

you

import

a

template

file

that

is

not

complete

and

that

you

may

want

to

edit
further
using

the

ANM

template

editor

(see

the

“Editing

an

Application

Template

Definition

Using
the
ANM

Template

Editor”

section

on

page

4-18 ).


The
import
process

does

not

check

the

file

to

ensure

that
the
ACE
configuration
attributes

are
structured
correctly.

To

test

the

ACE

configuration

attributes,

use

the

template

test

feature

(see

the
“Testing
an

Application

Template

Definition”

section

on

page

4-28 ).


You
can

import
application
template

definitions

that

you

created

for
use

with

ANM

5.1,

which

used
an
earlier

version

of

the

XML

schema.

When

you

import

the

template,

ANM

modifies

the

template
root
element

as

required

by

the

current

version

of


the

XML

schema.

Thi

s

modification

does

not
affect
t

he

ACE

configuration.
Procedure
Step
1
Choose
Config
>

Global

>

Application

Template

Definitions.
The
Application

Template

Definitions

window

appears,

displaying

the

information

described

in
Ta
b

l

e


4-3 .
Step
2
From
the

Application

Template

Definitions

window,

click
Import.
The
Select

a

Template

Definition

File

to

Upload

dialog

box

appears.
Step
3
In
the

dialog

box,

click
Browse
to

navigate

to

and
choose
the

template

file
to
upload.
Step
4
Click
Upload.
The
upl

oad

status

box

appears

and

di

splays

one

of

t

he

following

messages:


“Template
is

imported”—The

template

definition
conforms

to

the

XML

schema.
Click
OK
to

close
the
popup

window

and

complete

the

upload

process.


“Template
is

not

imported

because

its

XML

structure
is

not

valid”—ANM

detected

that
the
file
does
not
contain

properly

structured

XML

code

and

cannot

import

the

file.


“Template
is

not

imported

because

upload

error

was

found”—A

system

or

network

error

has
occurred
that

prevented

the

upload.

This

message

is

not

an

indication

that

a

problem

exists

with

the
template.


“Template
is

imported,

but

the

following

errors

were

found”—The

template

contains

properly
structure
XML

code;

however,

the

code

does

not

conform

to

the

XML

schema.

The

message
includes
the

errors

found

in

the

code.
ANM
displays

the

template

in

the

Application

Template

Definitions

window.
Related
Topics


Information
About

Application

Template
Definitions
and
Instances,

page
4-1


Managing
Application

Template

Definitions,

page
4-15


Editing
an
Application

Template

Definition,

page
4-15


Creating
an
Application
Template
Definition,

page
4-20


Exporting
an
Application
Template
Definition,

page
4-26


Testing
an

Application
Template
Definition,
page
4-28


Deleting
an
Application
Template
Definition,

page
4-29