Professional Documents
Culture Documents
Rapid E-Learning Design With Microsoft InfoPath
Rapid E-Learning Design With Microsoft InfoPath
SM
XML editor meant for professionals who just need to But first, in case it’s new to you, let me offer some
There is a great solu-
get a job done, without learning XML. You’ll get a XML basics from the instructional designer’s perspec-
tutorial on how to use InfoPath to set up a reusable tive. Programmers, and those who are already well tion for [design night-
template for your design process. I’ll also sketch for versed in XML and XML transformations, may want to mares]: eXtensible
you the way that I’m using InfoPath to go from SME skip ahead to “What InfoPath does for the designer.”
input, to design, to production, to organize the work of Markup Language
A brief look at XML
the development team, and to manage version control. (XML). With this plat-
XML is all the rage these days, and for good rea-
Overview of rapid design with XML son. XML, like HTML and XHTML, is a way to mark form-independent
Do my first three opening paragraphs pretty much up content, using “tags.” technology, designers
describe your design nightmares? Well, don’t despair. However, HTML and XHTML are computer lan-
There is a great solution for all of these problems: guages that define the display of content as a Web can create reusable
eXtensible Markup Language (XML). With this plat- page. A browser can interpret HTML, and display con- instructional design
form-independent technology, designers can create tent in specific ways: bold text, italicized text, formatted
reusable instructional design templates to expedite with bullets or paragraph styles, different fonts or col-
templates to expedite
the design process. Since most development soft- ors, with various types of graphics, and so on. the design process.
ware tools (such as Flash and Dreamweaver) use XML, on the other hand, gives structure to data.
XML, all of these tools can access your content. Strictly speaking, and in spite of its name, XML is not
Worried by what you’ve heard about the challenges a markup language. It has no fixed vocabulary or gram-
of learning XML? Don’t want to learn to write XML? mar. What it does do is give you a system with which
There’s no budget for a programmer? What you need you can create your own markup language matched to
is an XML editor program that will handle the details the job you are doing. Not only that, the markup lan-
from within a familiar “what you see is what you get” guage you build using XML’s rules will work within any
interface. generic XML tool you use later. Documents that you
document) collects content, the XML template, pow- What you do need is instructional design knowledge,
ered by the schema, filters and conforms it, and the understanding of usability principles, and a vision for
resulting valid XML resides in a document, ready for reusability and templates. For more advanced options,
retrieval and use. particularly when exporting XML out to e-Learning
The combination of tags that describe your data, development tools, you will need some knowledge of
and the schema, which sets the rules for the descrip- XSLT. You may also need some knowledge of the
tion, structure, and constraints, gives you another larger eXtensible Stylesheet Language (XSL), of
powerful benefit. It makes your data reusable. In my which XSLT is one part. However, for streamlining
earlier example, instead of having to make a new set your instructional design process and documentation,
an XML editor will be all you need. If you want to
ì Figure 1 The XML
of tags for each translation, the writer only needs to
change the language attribute. Furthermore, by deter- learn more about XML and XSLT, W3 Schools has schema document acts as
mining the data you want to capture you can use the an excellent tutorial to get you started. (http://www. a template to ensure the
XML schema as the standard for future XML docu- w3schools.com) validity of your XML data.
ments that need to describe the same type of data.
Think of a schema as a Microsoft Word template. The
data fields are already in place each time you create a
new document from the template.
Transforming your data for the rest of the team with
XSLT
XML makes it easy to store and retrieve data, es-
pecially if the data is the kind that you don’t need to
be able to search randomly. Instructional content is
generally sequential, so it’s a good candidate for
XML. XML also supports transformation of data into
different formats, to make it easier to use for different
tasks. This means that you can use the same XML
data source repeatedly, but only show each user the
specific information he or she requires for the job at
hand.
XML uses a language called XSLT (eXtensible
Style Language Transformation) to take data elements
apart, sort and select or delete them, rearrange the
results, and transform them into another document in
a presentation format, such as an HTML or XHTML
Figure 2 XML uses XSLT
ì
file. Without going into the mechanics too far, you (or What InfoPath does for the designer
to transform data into spe-
your XML editor software) create transformation in- There are many XML editors on the market, differ-
cific views for different
structions written in XSLT — essentially a stylesheet — ing in functionality and price. Some of the more popu-
users.
for each view, and link these to the XML document. lar editors are XMLSpy by Altova, Adobe/Macromedia
Any XSLT-compliant Web browser (and that is most Dreamweaver, and Microsoft InfoPath.
of them) will then transform the XML into HTML or I chose Microsoft InfoPath for my solution based on
XHTML according to the instructions. several factors. First, it is part of the Microsoft Office
In fact, transformation simply gives you another 2003 Professional version and works with Word,
view of the data in the original XML file, and you can Excel, and Access, tying together the Office suite with
use XML and XSLT to create as many different views the technology of XML. Since Microsoft Office 2003
of any part of that data as you need. The data in the Professional is a standard software load across the
original file is unchanged. Figure 2 is a graphic repre- Textron enterprise, it was an easy decision for me to
sentation of this process. select InfoPath, as everyone — from the subject matter
Don’t worry, that’s as technical as it gets because experts to the entire design team — had access to it.
now here’s the good stuff! You don’t have to be a pro- Second, InfoPath is not an expensive solution. Pur-
grammer to create an XML schema or an XML docu- chased as a stand-alone application, the software
ment, or to generate the XSLT transformations. The retails for less than $200.00 per license.
XML editor software will do all the hard work for you. More to the point for my purposes, InfoPath is spe-
LEARNING SOLUTIONS | January 22, 2007 5
Design Techniques
cially designed for creating forms with custom views. nice reusable template. You can’t wait to get those Strictly speaking, and
Imagine having only one document that contained all wonderful customized views into the hands of your
the content, and all the information needed to pro- team (and especially into the hands of the SMEs). in spite of its name,
duce the design document, storyboard, and the However, it’s important not to get the proverbial cart XML is not a markup
voiceover script. InfoPath provides that functionality. before the horse.
With the ability to create multiple views of the content, Remember that development is only as good as its
language. It has no
InfoPath can even filter available information in a cus- design. That should give us instructional designers fixed vocabulary or
tom view for a specific audience. Certain fields can some job security! The same holds true for a reusable
grammar. What it
be locked or unavailable depending on the view. XML template. Fortunately, the creation and publish-
For example, the SME has access to a view of the ing process is literally straightforward with InfoPath. does do is give you a
content storyboard that only has one unrestricted field (See Figure 3.) system with which
available for him or her to enter feedback. Not only do It is always a good idea to start development by
your SMEs not see your programming instructions, creating a mockup of your template. Please involve in you can create your
they can’t alter your content! Because InfoPath is cre- this mockup effort the key professionals who will be own markup lan-
ating XML documents, you can archive the XML sto- producing the content. These are the SMEs, the
ryboard into a database such as Access, or export it graphic artists, and the programmers, at a minimum. guage matched to
to Microsoft Word for those users who do not have Find out what information they need in order to pro- the job you are do-
the InfoPath software. This is the power of XML as a duce their best results. Identify the information and
ing. Not only that, the
platform-independent language. content required to create engaging, effective learn-
Finally, the best part for non-technical users is that ing, e.g.: markup language
InfoPath looks like a Word document. Users familiar • The project description
you build using
with Microsoft Office won’t feel like they have to learn • Business goals for the project (what’s the
yet another software package! I have used InfoPath payback?) XML’s rules will work
in both the academic and corporate environments, • The audience demographics within any generic
where is was very well received, even among non- • The learning objectives
technical users. • The actual content XML tool you use
You can think about the method of using InfoPath • The theme later.
in an instructional design and development project as • A description of the user interface
having two parts. In the first part, the instructional Once the mockup is complete and reviewed, it’s
designer creates and publishes a reusable template, time to start up InfoPath and create the “Form.” This
including views for each of the functional participants form, when completed, is the master template.
in the design and development processes. In the sec- Form creation begins with development of the data
ond part, the instructional designer uses the template source, the hierarchical structure of fields, groups,
and views to guide the project along the path from and repeating groups that store all the data in the
design to production. I’ll next give you snapshots of form. Think of these as files and folders that hold all
each of these two parts. Then I’ll go into detail on the information needed by the designer, the develop-
how to use InfoPath to create the template and views. ers (programmers), and the writers, graphic artists,
I’ll wrap up the article with some “gotchas” that you and animators. In the process of developing the data
will want to know about. source, InfoPath will guide you through definition of
the data structure, content types, and constraints that ì Figure 3 InfoPath pro-
Create and publish a reusable template
will become the basis for the InfoPath created XML vides a clear, simple path
You are probably anxious to solve all your design schema. for creation of reusable
problems and speed up your design process with a Once the data source is completed, InfoPath will XML templates.
LEARNING SOLUTIONS | January 22, 2007 6
Design Techniques
help you design the form layout. This provides the may decide to modify other content or information in In fact, transforma-
instructions for presentation of the data in the source. the XML data store. The instructional designer, and
It is the basis for the XSLT documents that InfoPath writers assigned to the project, will be able to add tion simply gives you
will create, and for the master template view. text, narrative, or directions to the data store as well. another view of the
Almost finished now, InfoPath guides you through Other contributors (for example, the animators, and
design of the views. Views are display settings, stored the voice talent) will be able to access that informa-
data in the original
within the template. This is where InfoPath applies tion as needed for their jobs. XML file, and you can
XSLT to create these multiple views, each a cus- In the yellow box in Figure 4 that outlines InfoPath’s
use XML and XSLT to
tomized layout for a particular function or audience. functionality, all of the documents, data, and views are
You can design as many of these as you need, but totally reusable. The schema that is behind the Master create as many differ-
here are some that I have found especially useful: Template is a separate document, and the instruction- ent views of any part
• SME view (often the default view) al designer can apply it to other projects. The XSLT
• Design document instructions that generate the views are separate doc- of that data as you
• Storyboard uments, and the designer can apply them to other need. The data in
• Voiceover script projects too. The XML data itself is editable, and the
Once you create the form, you can publish it to a designer can copy and paste elements that may be the original file is
shared location. The shared location can be a Web needed in another instructional product. unchanged.
server, a Microsoft SharePoint content server, or sim- Can you see how much time and effort this pro-
ply a shared network folder. cess will save you? Are you ready to get started? In
the next section, I walk you through the creation of
Design to production
the Form in InfoPath.
When you have published the form, you are ready
to begin moving through the rest of the design pro- The reusable template
cess and on to production. Figure 4 illustrates one The steps in this tutorial follow those in Figure 3 on
rather typical path. page 5.
In my organization, initial content usually comes
ì Figure 4 InfoPath auto-
Mockup with MS Word
from the subject matter expert(s) in the form of MS mates the path from de-
Word documents. The instructional designer inputs When thinking about a template form, consider the sign to production and
this information into the master template, with any design challenges as well as areas that you could greatly simplifies the com-
appropriate edits or clarification. The instructional streamline in the design process. Take into account munication and coordina-
designer also inputs key information in the categories your instructional design goals, the entire cycle of tion processes for the
identified during the form mockup process (i.e., goals, design and development, and the data you need to instructional designer.
objectives, themes, naviga-
tion, etc.)
At this point, InfoPath has
already set up the transfor-
mation instructions so the
views are available to con-
tributors. The instructional
designer need only tell the
contributors how to access
those views.
In some cases, contribu-
tors will be able to provide
additional information back
to the XML data. For exam-
ple, the SME will be able to
provide review comments
and the instructional design-
er will be able to read them.
Based on those comments,
the instructional designer
LEARNING SOLUTIONS | January 22, 2007 7
Design Techniques
create effective, engaging learning. Now you can begin adding data sources. The DNA
Involve the whole team in the process: designers, of the template form is its data source. The data
developers, and SMEs. You might not think the audi- source stores all the data in the form, and outlines the
ence description is important to the developer, but hierarchical structure of the data. It consists of fields
this information really affects the selection of media (elements and attributes), groups, and repeating
and interactivity involved. I highly recommend captur- groups. The overall data source is similar to folders
ing this data in Microsoft Word. Create a mockup of and files on a hard drive. Figure 6 shows this struc- ì
how you envision the form structure and the layout. ture within an actual completed form. Figure 5 The main
InfoPath interface consists
Then have all parties involved review the document. A field is an element or attribute in a data source
of the form layout area and
In designing a master template in InfoPath, you can that contains the data. If the field is an element, it can
the Design Tasks panel.
continue to add fields to the form. However, it is much contain attribute fields. (Remember the structure of an
easier to refine your form content in Word, where
everyone can review, add, and edit.
Here are some core fields to get you started in
your documentation.
• Description: Brief summary of the overall project,
content, technology
• Goals: The business or performance outcomes
that will result from students completing the pro-
gram
• Audience: The audience including, if applicable,
their prior knowledge, demographics, psycho-
graphics, and attitudes towards content and tech-
nology
• Content: Source materials and access to any
SMEs
• Objectives: Lesson and content objectives
• Metaphor/theme: The overall interface meta-
phor or creative theme which will be used
throughout the program ì
• User Interface: Narrative description, from the
Figure 6 The structure of
the data source is similar
user’s point of view, of how the program will be
to the “files and folders”
navigated
arrangement that you
Create the data source already know and use.
After finalizing your fields and structure, it’s time to
transfer that information into a data structure in Info-
Path.
To get started, choose File > Design a form from
the InfoPath menu. Select an option from the Design
a new form sub-menu on the right. Choose New
Blank Form when you are creating a form from
scratch. If you would like to customize a pre-built
Microsoft template, choose Customize a sample. If
you already have an XML document or schema that
you want to use as the structure, select the option
New from XML Document or Schema.
The main interface consists of the form layout area
and the Design Tasks panel. Any time you need to
return to the listing of options in the Design Task
panel, click the Design Tasks button to display the
panel. (See Figure 5.)
LEARNING SOLUTIONS | January 22, 2007 8
Design Techniques
XML tag.) A group is an element that can contain Design the form layout ... InfoPath is specially
fields and other groups. Groups can also contain field After finalizing your data sources, you can begin
controls such radio buttons and drop-down lists. designed for creating
designing and positioning your fields in the form lay-
When defined as a repeating group, a data field con- out area. Common design layout options that are forms with custom
tains fields and other groups that can be repeatedly available in Word are also available in InfoPath. The
used in the InfoPath document. Does this sound famil-
views. Imagine having
ability to format text, add color, insert hyperlinks, add
iar? Yes, that’s right, the data source in InfoPath is the images, and use layout tables are some of the design only one document
XML schema. (See, I told you InfoPath did all the hard features available. In addition, you can utilize the many that contained all the
stuff!) form-control options such as checkboxes, date picker,
To get started creating your data source, click the or rich-text boxes to control your data display.
content, and all the
Data Source link from the Design Tasks panel on the For the best organization and position placement information needed to
right. InfoPath will always name the first group myfields.
(See Figure 7.) You can rename this group by double- produce the design
clicking myfields in the Data sources list and typing document, storyboard,
in a new name.
When creating your data source fields, keep the and the voiceover
following in mind. Use descriptive names for your data script. InfoPath pro-
fields. For example, you should name a field for learn-
vides that functionality.
ing objectives Learning_Objectives or LearningOb-
jectives, not field1. Notice that I used an underscore
in the field name. The initial cap format in the second
word is another option. InfoPath cannot read spaces
in the field names — this is actually a restriction of
XML. Establish a punctuation standard before creat-
ing fields. One option is entering in all field names in
all lowercase or all uppercase. Consistency is key!
To continue adding more data fields, click the Add Figure 7 Open the Data
ì
button at the bottom of the panel, or right-click the Source panel (from the
group folder and select Add from the menu. After enter- Design Tasks panel) to
ing a name for the field or group, select the type (field begin creating the data
element, field attribute, or group). (See Figure 8.) source.
Remember that earlier I suggested designing the
form first in Word. Here’s why. Once you define a
type for the field, you cannot change its type later.
Although you can delete fields and start again, con-
sider the type of structure or hierarchy you envision
for your content before you begin to design.
For example, will you have more than one learning
objective? Most likely, you will. So the learning objec-
tives data field will need to be a repeating group.
Check the checkbox next to Repeating in the bottom
left corner. This will create a repeating group and will
enable the form user to add more learning objectives
in the form.
Finally, select a data type for the field. Carefully
consider the kind of data that the field will capture.
(See Figure 9 on page 9.) For versioning, you might
create a field called version and set the data type to
“Whole Number” (integer). However, if you plan to
enter version numbers as 1.1, the Whole Number
data type won’t be valid. Instead, use the Decimal
Number type. You must click OK to confirm the new
field after making your selections. Figure 8 InfoPath guides you with dialogs when you are adding data fields and groups.
LEARNING SOLUTIONS | January 22, 2007 9
Design Techniques
control, I recommend layout tables as the way to tion to this dilemma. A view is a defined form-specific
organize and position your data fields on the page. display setting that is saved within the form template,
After the table structure is in place, you can drag your and applied to the form data when the user fills out ì Figure 9 Select the most
data sources to the desired table cell position on the the form. The same data fields are available for each appropriate data type
form layout, and add controls, color, and other format- view; however, you can filter out fields for specific for your fields. This may
ting. To create the layout table, choose Table > Insert users. (See Figure 12 on page 10.) require some planning
> Layout Table or click the layout link from the De- Creating different views for each of the instructional and thought about your
sign Tasks panel to select a pre-defined table layout. design forms streamlines the process. An InfoPath development process,
For usability, break your form into sections with a document can have a design document view, a story- such as versioning.
separate layout table for each content section. Form
design best-practice suggests that users complete
forms more accurately if they are presented with
blocks of fields grouped together by relation. For
example, group your needs-analysis fields together
in one table. Place your learning content outline in
a separate layout table. The power of color will also
help separate information into defined groups. Choose
Format > Color Schemes to set up different colors
for layout tables. As you begin creating different lay-
out views for your form, color schemes will help differ-
entiate the document views. I’ve made a Captivate
movie available that illustrates this. See the Resources
section for more information.
Add Form Controls
After positioning fields in your table layout, review
your fields to determine if a form control might display
the information more efficiently. For example, I have a
field called contentType. This field describes the type
of interaction the e-Learning will be: demonstration,
exercise, video, or synchronous learning. To control
user data entry, it is best to display this field as a
drop-down list box. (See Figure 10.) Right-click the
field in the layout form, select Change To... from the
menu and select List Box. Right-click the field again
and select Properties. Here you can enter the values
for your list box. Click the add button in the bottom
right corner to add values. Use the arrow buttons to
reorder any values and click OK. Note that in the data
structure, you can convert only fields to form controls.
You cannot convert groups (the folder icons).
As you design your form, periodically preview it to
see how the form will function. Click the Preview
Form button to view and enter data into the form. To
return to the design view, click the Close Preview
button. (See Figure 11 on page 10 for the location of
these buttons.)
board view, and an SME view. If you need an audio InfoPath Gotchas!
script for your voiceover talent, just create a view that There are a few things to remember when using
displays only the voiceover text. To create additional InfoPath.
views, select the Views link from the Design Tasks • First, as with any Microsoft product, there are ì Figure 11 Use the
panel. From the Actions menu at the bottom select always Service Packs and updates. With InfoPath Preview Form button as
Add a New View and type in a descriptive name for 2003, you will want to make sure that you at least you design to see how your
the view. have SP1 installed as well. You can download form will function.
There is a shortcut for creating views. Since the
views share the same data source, after creating a
new view, copy the fields and layouts from another
view and paste into the new view. Modify the fields for
this view as needed, and change the color scheme
design of the table layout as well so that users can
easily tell one view from another.
There are also some tricks for using views. Give
your views descriptive names based on their purpose
— for example, design document, or SME review. You
may designate one view as the default by right click-
ing the view and selecting Set as Default. This is the
view that will automatically be visible when the form
opens. I usually designate the SME view as the de-
fault view. Other users can access the desired view
from the View menu in the published form. To prevent
editing of specific fields in a view, right-click the field,
select the Display tab and check the Read-only box.
this from Microsoft’s Web site. Choose Help > print format. PrimoPDF is free PDF software It is always a good
About Microsoft InfoPath to check that SP1 (http://www.primopdf.com) you can use if you
has been installed. Microsoft is now releasing don’t have Adobe Acrobat. The other option is to idea to start develop-
InfoPath 2007, so make sure everyone is using copy the picture from the InfoPath document by ment by creating a
the same version. selecting Edit > Copy and pasting it in the cor-
• All users must have InfoPath installed on their rect position in the Word document.
mockup of your tem-
computer to access InfoPath documents. In addi- plate. Please involve
Conclusion
tion, InfoPath documents have the restriction that
Harnessing the power of XML with InfoPath can in this mockup effort
they must publish to a shared directory or Web
site where everyone who uses the form has ac- expedite your design phase, through the creation of the key professionals
cess. The upside to this is that you only have reusable design documents. Remember to carefully
plan your data and structure with the entire team be-
who will be produc-
to make any new data elements or any layout
changes once in the source document. Once fore jumping into the InfoPath document design. By ing the content.
published, all previous versions of the document creating forms that employ usability and display audi-
These are the SMEs,
will update with the changes when the docu- ence-specific information, you can streamline your
ments are opened the next time. So, for example, design flow and tailor the process to meet the needs the graphic artists,
I received a request to change the font size in the of your team and learning programs. and the program-
documentation from 10 to 12 — after 20 XML Resources mers, at a minimum.
documents had already been created. I changed
Additional documents and Captivate tutorials are
the font size in the master template, republished Find out what infor-
available from http://www.id-webworks.com/docu-
it, and all the documents based on that template
ments/infopath.zip. mation they need in
updated to the size 12 font.
Books: order to produce
• If you are using graphics in your document, these
• Aitken, Peter, Powering Office 2003 with XML,
graphics will not export over when exporting a their best results.
Wiley Publishing, Inc., 2004.
document to a Microsoft Word version. Here are
• Robbins, Thom, Programming Microsoft InfoPath:
some solutions. If you have some kind of PDF
A Developer’s Guide, Charles River Media, 2004.
software, choose File > Print and choose PDF
LEARNING SOLUTIONS | January 22, 2007 12
Design Techniques
3 3 3 3
tives focused on training and learning
services, as well as e-Learning in- eLearning Insider
3 3 3 3
settings including corporate, govern-
Job Board — Access Jobs & Resumes
3 3 3 3
ment, and academic organizations.
Job Board — Post Resumes
8 3 3 3
Guild membership is an investment in
Job Board — Post Jobs
3 3 3 3
your professional development and in
Guild Research — Online Briefings
8* 3 3 3
your organization’s future success
with its e-Learning efforts. Your mem- Guild Research — Reports
bership provides you with learning Guild Research — Archives 8 3 3 3
opportunities and resources so that Learning Solutions e-Magazine 8* 3 3 3
you can increase your knowledge and Online Forums — Archive 8 8 3 3
$ $ 3 3
skills. That’s what the Guild is all
Online Forums
$ $ $ 3*
about ... putting the resources and
Face-to-Face Conferences
$ $ $
information you need at your finger-
tips so you can produce more suc- Pre-Conference Workshops 3*
cessful e-Learning. Event Fee Discounts 8 20% 20% 20%
The eLearning Guild offers four levels Other Event Site License Discounts 8 8 20% 20%