EIEIOTECHNOVATION
← Training programmes

EIEIO / AUTOMATION & EMERGING TECHNOLOGY

N7D540-Using LotusScript® in IBM® Lotus® Domino® 7 Applications

Reference course outline

3 days

Course Description

Students will learn the techniques of programming in LotusScript while they learn to access and work with objects in the Domino Object Model. This workshop starts by introducing students to the LotusScript language. Students learn to retrieve database properties, use NotesDatabase methods, and navigate the Document Object Model to access ACL classes. The course continuously reinforces how to navigate the Document Object Model as students learn to work with front-end and back-end classes. Students are introduced to error checking and the LotusScript debugger early in the course, so that they use it throughout the course.

Course Objective

You will perform basic Help Desk troubleshooting tasks to resolve second-level support issues for users running

IBM® Lotus Notes® 7.

Target Student

The target audience for Using LotusScript® in IBM® Lotus® Domino® 7 Applications is application developers who will be using LotusScript® in their Domino® applications.

Prerequisites

The prerequisite for this course is the IBM e-learning course entitled Fundamentals of IBM Lotus Domino 7

Application Development or the equivalent knowledge and skills.

Delivery Method

Instructor led, group-paced, classroom-delivery learning model with structured hands-on activities.

:: Course N7D540 ::

Hardware Requirements

The following list identifies the minimum hardware necessary for the setup of primary classroom server.

At least 512 MB of RAM per CPU. However, for optimal performance, you might need to use 1024 MB or more.

A Pentium class (or higher) processor and compatibles. A Pentium 4, 2.6 GHz processor is recommended.

An SVGA (or better) video card and monitor with support for 256 colors, 800 x 600 resolution.

At least 1.6 GB (per partition or machine) of free hard disk space. 40 GB of free disk space is recommended.

For disk swap space, at least twice the amount of installed RAM.

A mouse or other pointing device.

A CD-ROM drive or access to a network file server for installation.

The following list identifies the minimum hardware necessary for the setup of the optional Sametime server.

At least 512 MB of RAM per CPU. However, for optimal performance, you might need to use 1024 MB or more.

A Pentium class processor.

An SVGA (or better) video card and monitor with support for 256 colors, 800 x 600 resolution.

At least 275 MB of free hard disk space; 300 MB is recommended.

A mouse or other pointing device.

A CD-ROM drive or access to a network file server for installation.

The following list details the minimum hardware necessary for the setup of the instructor and student client computers.

At least 128 MB of RAM, 1024 MB is recommended.

A Pentium class processor.

An SVGA (or better) video card and monitor with support for 256 colors, 800 x 600 resolution.

At least 275 MB of free hard disk space; 300 MB is recommended.

A mouse or other pointing device.

A CD-ROM drive or access to a network file server for installation.

Synchronize system time with all classroom machines.

Software Requirements

The following software is required for the primary classroom server. Please note that proper licensing for all software is required and is the responsibility of the training organization.

Microsoft® Windows® Server 2003 (Standard or Enterprise Edition) (Service Pack 1 is not required but recommended) or Microsoft® Windows 2000 Server (or Advanced Server) with Service Pack 4.

Lotus Domino Enterprise Server 7.

:: Course N7D540 ::

The following software is required for the optional Sametime server. Please note that proper licensing for all software is required and is the responsibility of the training organization.

Microsoft® Windows® Server 2003 (Standard or Enterprise Edition) (Service Pack 1 is not required but recommended) or Microsoft® Windows 2000 Server (or Advanced Server) with Service Pack 4.

Lotus Domino Enterprise Server 7.

Sametime Limited Edition.

The following software is required for the instructor and client computers. Please note that proper licensing for all software is required and is the responsibility of the training organization.

Windows XP Professional or Windows 2000 Professional, with all applicable Service Packs. The course activities are written assuming the operating system is Windows XP Professional.

Lotus Domino Administrator or Designer 7.

Microsoft® Internet Explorer® 6.0 or above, with all applicable Service Packs.

Sun Java Runtime Environment (JRE), Java 2 v1.4.2 or higher, such as the display of topologies.

TCP/IP using either a Hosts file, or DNS with server and domain names defined in the TCP/IP protocol configuration, for name resolution.

Performance-Based Objectives

Upon successful completion of this course, students will be able to:

Write LotusScript code that navigates the Domino Object Model and retrieves object data.

Write LotusScript code that modifies and adds data in Domino applications.

Select the best mechanism for executing LotusScript code.

Use the LotusScript debugger and error trapping to debug code.

Use Script Libraries to reuse code efficiently.

:: Course N7D540 ::

Day 1

Start: 9.00 a.m – 5.00 p.m

Breakfast: 10.15 a.m

Tea break: 3.15 p.m

MODULE A: Using LotusScript to Access and Modify Databases

Lesson 1: Introducing LotusScript

Introducing LotusScript

Declaring Variables in Lotus Script

Assigning Variables in LotusScript

Commenting Code

Using the LotusScript Debugger

Lesson 2: Accessing Database Information

Exploring the Domino Objects

Creating Objects in LotusScript

Accessing Object Properties

Adding Simple Error Checking to Code

Accessing the Current Database

Creating a Database Based on Another Database

Lesson 3: Navigating the User Interface Classes

Retrieving the Access Level of an ACL Entry

:: Course N7D540 ::

Day 2

Start: 9.00 a.m – 5.00 p.m

Breakfast: 10.15 a.m

Tea break: 3.15 p.m

MODULE B: Navigating the User Interface Classes

Lesson 4: Working with NotesUIWorkspace

Programming the Notes User Interface

Adding a Database to the Workspace

Gathering User Input

Lesson 5: Working with NotesUIDocument

Accessing the Current Document

Composing a New Document with LotusScript

Retrieving Field Values from the Current Document

Changing Field Values on the Current Document

Accessing the Current Document Through NotesUIDocument Events

MODULE C: Creating and Modifying Documents

Lesson 6: Accessing Data in Documents

Accessing Documents with LotusScript

Retrieving Documents Properties

Retrieving Item Values from a Document

Looping Through Documents in a View

Accessing Data Directly from the View

Lesson 7: Writing Data to Documents

Adding and Replacing Items

Saving the Document

Synchronizing with the User Interface

Adding Author and Reader Items

Creating New Documents

:: Course N7D540 ::

Lesson 8: Using ViewEntry and Document Collections

Building Arrays

Building Dynamic Arrays

Using the NotesViewEntryCollection Class

Using the NotesViewNavigator

Using the NotesDocumentCollection Class

Day 3

Start: 9.00 a.m – 5.00 p.m

Breakfast: 10.15 a.m

Tea break: 3.15 p.m

MODULE C: Creating and Modifying Documents

Lesson 9: Reusing Code

Defining the Scope of a Variable

Setting Global Variables

Building Functions

Building Subroutines

Building Script Libraries

Using Script Libraries

Lesson 10: Processing Run-Time Errors

Processing Run-Time Errors

Processing Individual Errors

This is a version-specific reference outline. Confirm the current syllabus and delivery arrangements with EIEIO.