Table of Contents

Creating New Methods

Methods are the workhorse of a solution. Every action requires a method to read, update or insert data, back and forth between back end systems and portals. They are stored in objects, which behave as a kind of container to group related methods together.

Add a New Method

Follow the steps below to create a new method.

  1. Select the object to add the new method to.

  2. Click on the button New Method (or use the shortcut CTRL+N, M).

  3. Provide a method type and a name for the new method and click Create:

    Fill In Method Name and Type

    Following method types are available, descriptions of each type can be found in Method Type Descriptions:

    Select Method Type

    Note

    Pay attention to the casing of the new name. Creating a new method in which the name only differs in casing, e.g. Get Data vs Get data will result in an error message. This is done to avoid confusion between methods later on.

    Adding a pre- or postfix to an existing name is sufficient to make the new name unique.

  4. Click Cancel to cancel the method creation.

  5. The method is added to the object but not yet saved.

Right now the only actions left to complete the new method definition, are:

  • Selecting the proper template(s);
  • Adding input and/or output fields. For more information about available types, see Field Types;
  • Fill in the interface scripts.

Optional Items

Extra items can also be enabled on the new method if needed for the solution: