Show TOC

Procedure documentationCreating a Static Method Call Expression Locate this document in the navigation structure

Procedure

  1. Open the application in the Object Manager panel.

  2. Under the Detail section, choose the Contained Objects tab.

    The Contained Objects page appears.

  3. Choose Expression from the Type field and choose Create Object.

  4. In the Object Creation dialog box that appears, choose Static Method Call in the Type field.

  5. Enter the following data:

    • Name

    • (Optional) Short Text

    • (Optional) Text

  6. Choose Create and navigate to object.

    The newly created static method call expression appears in the Object Manager panel.

    Note Note

    If you choose Create the static method call expression appears under the Contained Objects tab.

    End of the note.
  7. Assign result data object. You can select a standard type, an existing data object or create a new data object.

    • Select a Standard Type

      1. Choose Graphical Access (Graphical Access).

      2. In the context menu, choose Default Objects and choose the data object type.

    • Select an Existing Data Object

      1. Choose Graphical Access (Graphical Access).

      2. In the context menu, choose Select....

      3. In the Object Query dialog box that appears, select the data object.

        The data object is added as the result data object.

    • Create a New Data Object

      1. Choose Graphical Access (Graphical Access).

      2. In the context menu, choose Create....

      3. In the Object Creation dialog box that appears, create the data object.

        For more information, see Creating Data Objects

  8. Enter the name of the class or choose Advanced (Advanced) in the Class Name field.

  9. In the list that appears, select a relevant class and choose OK.

    The selected class is added.

  10. Add sub-expression to the expression. You can choose an existing expression or create a new expression.

    • Select an Existing Expression

      1. Choose Select Expression.

      2. In the Object Query dialog box that appears, select the expression.

    • Create a New Expression

      1. Choose Create Expression.

      2. In the Object Creation dialog box that appears, create the expression.

        For more information, see Creating Expressions

  11. Activate the expression.

  12. Save the expression.