Skip to main content

Veritran Docs

Create or Edit an Interface

Once you created the module according to your project requirements, you have to follow several steps to then build the interfaces of the module, that will allow you to reuse the module content.

Before creating the interfaces, you must create the views and the screens of the module you are working on. You will require the view and screen information when you configure the interface.

In the module screens, you configure the appearance of the component or screens flow within it. Then, in the module interface, you configure the logic that will be associated to the visual elements configured in the screen, and that will allow you to connect with other entities when the module is invoked from the app or another module.

Once you created the previous elements, you can configure the new interface or interfaces you need. First, click Interfaces in the Overview page or go to Branch Edition > Interfaces.

For efficiency purposes, each section will be explained in videos using an example of a component-type interface. The configuration of all the sections applies to both screen-type interfaces and component-type interfaces. Refer to the instructions below to learn more.

CREATE_AN_INTERFACE-_FIRST_STEP.gif
  1. In the Interfaces page, click + New interface.

  2. The New Interface Configuration modal opens, where you complete the settings according to your needs. Go to the Functionality Name field. Enter a name that must be descriptive enough as to allow your team to identify the interface and its purpose. For this example, enter Login_component, that includes the functionality of the interface and which type of interface you are creating.

    The name is displayed when the interface is invoked from the screen of the parent app or module. For component-type interfaces, the name appears in the Components tab of the left panel. For screen-type interfaces, the name appears in the list of links available in the Actions tab of the right panel.

  3. Go to the Functionality Type field. Click the arrow and select Component if you want to create a component that can be reused or select Screen if you want to create a screen flow including the whole screen or more than one screen. For this example, click the arrow and select Component.

  4. Go to the Description field. Describe and explain what the interface will be used for. For this example, enter Reusable component for login purposes. It contains a welcome label, username and password inputs and a login button.

  5. Then, go to the Parameters section. You can complete data in the General, Input, Output, Message and Event tabs according to the purpose of the interface you are creating. Learn more about these sections below.

Edit an interface

If you or another team member need to make changes to one or more interfaces, find the interface you want to edit in the Interfaces page and click Edit. The Edit Interface Configuration page opens. You can modify the sections following the instructions given above.