Jump to main content
HCL Logo Product Documentation
Customer Support HCLSoftware U Community Forums Customer Idea Portal
IBM Domino Designer
  • IBM Domino Designer Basic User Guide and Reference
  • Designer XPages User Guide
  • JavaScript and XPages reference
  1. Home
  2. IBM Domino Designer Basic User Guide and Reference

    Basic product usage information and programming language reference information.

  3. LotusScript/COM/OLE Classes
  4. LotusScript® Classes Coding Guidelines

    The following topics cover some general guidelines for writing LotusScript® code using Domino® objects:

  5. Accessing items in LotusScript® classes
 Go to Feedback
  • IBM Domino Designer Basic User Guide and Reference

    Basic product usage information and programming language reference information.

    • Application Design

      Welcome to the Application Design section of Domino® Designer Help.

    • Domino® Designer templates

      The templates described in the following table are available with Domino® Designer and are specifically intended for use by application developers.

    • Importing to and exporting from views
    • Developing applications using MAPI

      Domino® Designer Release 6 and later supports the messaging application program interface (MAPI), which allows mail integration between Domino and a MAPI-compliant messaging application, such as Microsoft™ Outlook, Microsoft Office applications, or user-written C++ programs.

    • Features to avoid using in Web applications

      Developers creating applications specifically for the Web, or for the dual purpose of serving Notes® and Web clients, should review the following tables for features that are not supported on the Web.

    • URL commands for Web applications

      You have a variety of options for programming a Web site. You can directly manipulate objects such as documents or views in an application using Domino® URL commands. Adding Domino URL commands as HTML in forms gives users shortcuts for navigating databases and performing other tasks quickly.

    • Application Management

      Welcome to the Application Management section of Domino® Designer Help.

    • Composite Applications - Design and Management

      Composite applications are a key element in a service-oriented architecture (SOA) and contextual collaboration strategy. The ability to create and edit composite applications lets you easily integrate different types of components and technologies.

    • DB2® Access views

      Domino® Designer includes two types of design elements to assist you in managing data contained in DB2® enabled Notes® databases:

    • Programming Overview and User Interface

      This section contains general guidelines and examples that show where to use Java, LotusScript, and the formula language.

    • Formula Language

      This section documents the formula language.

    • LotusScript® Language

      Welcome to the LotusScript® Language section of Domino® Designer Help.

    • LotusScript/COM/OLE Classes
      • LotusScript® Classes Coding Guidelines

        The following topics cover some general guidelines for writing LotusScript® code using Domino® objects:

        • Using the Domino® classes

          Domino® Designer defines LotusScript® classes that allow you to access Domino structures on two levels:

        • Using LotusScript® features in Domino®

          All LotusScript® features work in Domino® exactly as specified in generic LotusScript, with the following exceptions and clarifications:

        • Accessing Domino® databases
        • Accessing views and folders
        • Accessing documents in LotusScript® classes
        • Accessing items in LotusScript® classes
          • Accessing item properties in LotusScript® classes
          • Getting an item and its values in LotusScript® classes
          • Creating an item and assigning values in LotusScript® classes
          • Copying an item in LotusScript® classes
          • Removing an item in LotusScript® classes
          • Working with a MIME entity in LotusScript® classes
          • Working with custom data

            You can store data of your own format in items. Use the following methods in the Document and Item classes:

        • Accessing rich text items in LotusScript® classes
        • Accessing sessions
        • Accessing supporting Domino® objects
        • Handling run-time errors
        • Accessing the Domino® Objects through COM
        • Using OLE

          The Notes® client is an OLE automation controller and server.

        • Using OLE custom controls

          You can embed OLE custom controls in Domino® Designer forms and write scripts for them just as you can for a native object. When a control is active (has focus), the menu is a combination of Domino Designer (File, Applet, and Window) and control items. The control menu items may include one for itself (for example, "Spreadsheet" for a spreadsheet control) and Help--the control help is substituted for Domino Designer help.

      • LotusScript® Classes A-Z

        This documentation lists each class, property, and method in the Domino® class library. Each class is followed by an alphabetical listing of the properties for that class and an alphabetical listing of the methods for that class. To find the property or method you want, turn to the class to which the property or method belongs.

      • LotusScript® Classes Tutorial

        Welcome to LotusScript® and Domino®. "LotusScript Classes Tutorial" consists of three lessons designed to introduce you to using the LotusScript language in Domino. Each lesson includes:

    • Java/CORBA Classes

      This section documents the Java/CORBA classes.

    • Lotus® Connectors

      Lotus® Connectors provide native access to a wide variety of DBMS products, ODBC, the platform File system, Enterprise Resource Planning systems, and Transaction Processing systems.

    • Javadoc™ for Domino® Designer related APIs

      As part of providing additional Java™ reference documentation, Domino® Designer ships with a help plugin that contains Javadoc™ for additional Domino Designer related APIs.

    • Accessibility and keyboard shortcuts

      Accessibility features assist users who have a disability, such as restricted mobility or limited vision, to use information technology content successfully.

Accessing items in LotusScript® classes

The NotesItem class lets you examine and manipulate item properties and contents. You gain access to a NotesItem object through various methods in the NotesDocument class. You can:

  • Access item properties
  • Get an item and its values
  • Create an item and assign values
  • Copy an item
  • Remove an item
  • Work with a MIME entity
  • Work with custom data

For rich text items, see Accessing rich text items in LotusScript®.

Related information
  • LotusScript Classes Coding Guidelines
  • Share: Email
  • Twitter
  • Disclaimer
  • Privacy
  • Terms of use
  • Cookie Preferences