Customizing Aspen Templates TEC04 Elizabeth Lucchese

20
Customizing Aspen Templates TEC04 Elizabeth Lucchese

description

Customizing Aspen Templates TEC04 Elizabeth Lucchese. Agenda. Introduction to templates Finding template names Using multiple templates per detail page Using template editor Block-based templates Form-based templates Exercises Questions and feedback. What is a template?. - PowerPoint PPT Presentation

Transcript of Customizing Aspen Templates TEC04 Elizabeth Lucchese

Page 1: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Customizing Aspen Templates TEC04

Elizabeth Lucchese

Page 2: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Agenda

• Introduction to templates• Finding template names• Using multiple templates per detail page • Using template editor • Block-based templates• Form-based templates • Exercises• Questions and feedback

Page 3: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

What is a template?• Defines fields that appear on detail page

• Defines layout of detail page

• Can be as simple or complex as needed:– Course detail page– Student detail page– IEP form

• Integrates with Data Dictionary

• Powerful tool for customizing your Aspen system!

Page 4: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Agenda

• Introduction to templates• Finding template names• Having multiple templates per detail page • Using the template editor • Block-based templates• Form-based templates • Exercises• Questions and feedback

Page 5: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Finding template names

Context ID

Page 6: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Agenda

• Introduction to templates• Finding template names• Having multiple templates per detail page • Using the template editor • Block-based templates• Form-based templates • Exercises• Questions and feedback

Page 7: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Agenda

• Introduction to templates• Finding template names• Having multiple templates per detail page • Using the template editor • Block-based templates• Form-based templates • Exercises• Questions and feedback

Page 8: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Multiple templatesJust need the same Context ID

Templates

Field Sets

Page 9: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

How are templates created?• With XML (eXtensible Markup Language)

• Templates are a series of <tags>

• Similar to HTML – but easier!

• Property tags identify Data Dictionary fields.

• Layout is achieved by nesting property tags inside various layout tags.

• New template editor makes this EASY!

Page 10: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Template editor Puts a graphical user face on the template writer

Page 11: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Ground Rules• Each template has a root data table:

• Student

• Staff

• Course

• Anything you can show on a field set can be displayed with a template.

• Templates are associated with a navigation ID.

Page 12: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Tabs

Row &

Block

LinesCells

Text

Block-based templates

Page 13: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Block-based templates

<template>

<tab name=“Demographics”>

<row>

<block>

<line>

<cell><text>Student Details</text></cell>

</line>

<line>

<cell><property id=“relStdPsnOid.psnNameFirst” /></cell>

<cell><property id=“relStdPsnOid.psnNameMiddle”/></cell>

<cell><property id=“relStdPsnOid.psnNameLast” /></cell>

</line>

<line>

<cell><horizontal-rule /></cell>

</line>

<line>

<cell><property id=“stdIDLocal” /></cell>

<cell><property id=“stdIDState”/></cell>

<cell><property id=“stdYog” /></cell>

</line>

</block>

</row>

</tab>

</template

Source

Demographics

Result

(First Name) (Middle Name) (Last Name)

Student Details

(Local ID) (State ID) (YOG)

Page 14: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Block-based templates

Other notable features• Shaded cells• Borders• Adjustable font sizes• Radio buttons• Checkbox views

Page 15: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Template = Root Element

Tab = primary-level layout

Row = a row must contain at least a column or a block

Block = a block must contain at least one line, a free-form property

Line = a line must contain at least a cell or text

Cell = a cell must contain at least a property (field), text, an embedded list, etc.

Page 16: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Form Templates

• More advanced template syntax

• Allows more complex designs

• Designed for modeling templates after paper forms

• Currently used in the Special Education view

• Can be used anywhere in the system

Page 17: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Template Exercise

Page 18: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Set Default Template Procedure

Page 19: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Adding a Link to your Template

Page 20: Customizing Aspen Templates  TEC04  Elizabeth Lucchese

Thank [email protected]