vorige | volgende

N7D540 - Using Lotuscript in IBM Lotus Domino 7 Applications




Duur:

3.0 dagen

Kosten:

1,320 euro

Aanvangsdata:
Bel +31 33 432 31 85

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

Korte omschrijving:
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.

Deelname-voorwaarde(n):
The prerequisite for this course is the course N7D510 - Fundamentals of IBM Lotus Domino 7 Application Development or the equivalent knowledge and skills.

Duur:
3 days

Doel:
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.

Inhoud:
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

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

Lesson 8: Using ViewEntry and Document Collections
  • Building Arrays
  • Building Dynamic Arrays
  • Using the NotesViewEntryCollection Class
  • Using the NotesViewNavigator
  • Using the NotesDocumentCollection Class

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