Customizing Aspen Templates TEC04 Elizabeth Lucchese.
-
Upload
ashlynn-hicks -
Category
Documents
-
view
212 -
download
0
Transcript of Customizing Aspen Templates TEC04 Elizabeth Lucchese.
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?• 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!
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
Finding template names
Context ID
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
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
Multiple templatesJust need the same Context ID
Templates
Field Sets
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!
Template editor Puts a graphical user face on the template writer
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.
Tabs
Row &
Block
Lines
Cells
Text
Block-based templates
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)
Block-based templates
Other notable features• Shaded cells• Borders• Adjustable font sizes• Radio buttons• Checkbox views
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.
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
Template Exercise
Set Default Template Procedure
Adding a Link to your Template
Thank [email protected]