Create a New Infor LN Software Component wizard

Use this wizard to create a software component.

In this wizard, you can create these software components in your local workspace:

  • Session
  • Report
  • Table
  • Domain
  • Library
  • Function
  • Menu
  • Label
  • Message
  • Question
  • Additional File

After you create the component, it is displayed in your Activity Explorer view. Edit the component using a component-specific editor.

In the first window of the wizard, specify the software development activity. Then, select the type of component you want to create for this activity.

In the second window of the wizard, fill in some component-specific properties to initialize the new component. Some of these properties, such as the name of the component, can only be set when you create the new component using the wizard, and cannot be changed afterwards.

Creating a component

To create a software component:

  1. Start the wizard

    To start the Create a New Infor LN Software Component wizard, on the File menu of LN Studio, select New > Infor LN Component.

  2. Select activity

    Specify the activity in the Activity field. This is the software development activity in which you create the new component.

  3. Select component type

    Specify which type of component you want to create in the Component Type field.

  4. Specify component properties

    To continue in the following page of the wizard, click Next. This second window is specific to the component you previously selected and used to set some required properties for the new component.

    Fill in the required properties and click Finish to create the component in your local workspace.

    The created component appears in the Activity Explorer view of the Application perspective. You can now edit the new component in the corresponding editor.

    Note: Some of these properties, such as identifying attributes and references to labels, can only be set when you create a new component. For components already created, these properties cannot be changed.

    For more information, see the Help topic on the concerned component.

LN Software Component
Activity
The name of the software development activity for which you create the component.
Behind the activity, the involved software development project is indicated between square brackets.
Allowed values
You must select one of the activities from the drop-down list. This lists contains all activities that are currently open in your workspace.
Component Type
The component type.
Allowed values
This table shows the component types you can select from the list:
Component Type Description
Session Sessions are the basic functional elements of LN applications and are used to perform actions or tasks.
Report LN reports are used to output data from the database to a variety of devices, such as printers, displays, and files. One or more LN reports must be linked either to an LN print session or to an LN SQL Query.
Table Tables are data structures that are used to store data and that consists of a list of records, each entry being identified by a unique key and containing a set of related values.
Domain A domain specifies the data type, the value range, (default) display format, length and so on. Domains can be linked to table fields, form fields, and program variables.
Library A library is a collection of files, programs or subroutines that is used to perform specific tasks for other libraries, program scripts or sessions of LN applications.
Function A function is a self-contained software routine that can perform a task for the program in which the function is written, or for another program. With the #include statement you can include a function in a program script.
Menu An LN menu is a list of options from which a user can make a selection to perform a desired action, such as starting sessions, other menus, and queries.
Label An LN label is code that is used instead of language-dependent text in forms, reports, and menus. A label consists of a name and a content description.
Message LN messages are language independent software components used to show situation-dependent information to the user.
Question LN questions are language independent software components that are used to ask situation-dependent questions to which the user must respond.
Additional File A generic component, such as an XML schema file, a GIF image, and so on.