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

    This guide provides information on using HCL Domino Designer 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
  • HCL Domino Designer Basic User Guide and Reference

    This guide provides information on using HCL Domino Designer and programming language reference information.

    • What's new in Domino Designer 12?

      The following features are new for developers in HCL Domino® Designer 12.

    • 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.

    • Application Design

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

    • Application Management

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

    • Domino® Query Language

      Domino® Query Language (DQL) is a facility running on a Domino server that provides a terse, shorthand syntax for finding documents. It supports a wide variety and complexity of search terms. It leverages existing design elements, avoiding the need to write detailed code to access them. DQL consolidates all methods in Domino for searching document contents.

    • 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.

    • Connectors

      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.

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®.

  • 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:
Related information
  • LotusScript Classes Coding Guidelines
  • Share: Email
  • Twitter
  • Disclaimer
  • Privacy
  • Terms of use
  • Cookie Preferences