Skip to main content

Build Your First Custom Interface

Once you understand how custom item interfaces help support the users in your process and how to add one, it's time to build your first custom interface. This topic guides you through building a simple interface for a module in a New Employee Onboarding solution.

In this use case, we have a module that orchestrates new employee equipment requests, including an interface form for the initial request, creating a new purchase order, and sending the requester an interface to track their request:

build_sample_module_overview.png

We need an interface that's useful for the new employees ordering the equipment, so we'll add widgets to display the most important fields, allow users to add comments, and even enable users to take relevant actions directly from the interface.

In order to follow this walkthrough, you should have a working module that has at least one module item—this ensures your fields will have values to populate your interface.

Create the Custom Interface

  1. Navigate to the module you want to create the custom interface for and select Editor. The module builder displays.

  2. Select the Interfaces button in the module builder toolbar. The Interfaces panel displays.

    build_select_interfaces_button.png
  3. Select Create a new interface. The Create New Interface window displays.

    build_select_create_new_interface.png
  4. Enter a Name and a brief Description for the interface. We'll title our interface "Equipment Order" and include a description to provide context for new employees using it. When finished, select Create. The interface builder displays.

    build_create_new_interface_name.png

Add and Configure Widgets

Now that we have a new custom interface, we can add and configure the widgets.

  1. Because one of the users of our interface is new employees, we want them to be aware of the equipment ordering policy to avoid confusion or denied order requests. The best widget for this purpose is the Rich Text widget, which allows us to provide a brief summary of the policy as well as link them to the complete document.

    Select the Rich Text widget in the right panel. The Rich Text widget is added to the interfaces and displays in the interface builder and the configuration panel.

    build_select_rich_text.png
  2. In the configuration panel, enter a new Title for the widget. We'll title ours "Equipment Policy".

    build_rich_text_title.png
  3. In the interface builder, select the rich text field and enter the desired text. We'll add a brief reminder of the company equipment policy and provide a link to the complete document. When finished, select Save.

    In addition to rich text, select the insert field button, insert_field.png, to include fields from your module.

    build_rich_text_enter_text.png
  4. Next, we want to add the most important details of the order request to enable users to track the order as it moves through the module workflow. This will be the core of the interface.

    For this information, we'll need to display the main fields from the module, so the Fields widget is best option.

    Below the Rich Text widget, select Add Widget. The Add Widget panel displays.

    build_select_add_widget.png
  5. Select the Fields widget in the right panel. The Fields widget is added to the interfaces and displays in the interface builder and the configuration panel.

    build_select_fields_widget.png
  6. In the configuration panel, enter a new Title for the widget. We'll title ours "Request Details".

    build_fields_widget_title.png
  7. Next, we need to add the specific fields we want to display in the widget. In the Fields section of the configuration panel, select the dropdown. The available fields display.

    build_fields_widget_select_field.png
  8. Choose the field you want to include in the widget. The field is added to the Fields widget.

    We'll select Employee Name as the first field to display in the widget.

    build_fields_select_field_dropdown.png
  9. Repeat steps #7 and 8 for each field you want to display in the Fields widget. For our Request Details widget, we'll add a total of five fields:

    build_fields_complete.png

    To edit the label for, rearrange, or remove any field, select the options icon, three_dots.png, beside the field in the configuration panel.

    build_edit_field_button.png

    With all our fields added, this Fields widget is complete.

  10. In addition to simply monitoring the important information about equipment requests, we want users to be able to take relevant actions to update or cancel their order. For this, we'll include an Actions widget.

    Below the Fields widget, select Add Widget. The Add Widget panel displays.

  11. Select the Actions widget in the right panel. The Actions widget is added to the interfaces and displays in the interface builder and the configuration panel.

    build_select_actions_widget.png
  12. In the configuration panel, enter a new Title for the widget. We'll title ours "Order Actions".

    build_actions_title.png
  13. Next, we must determine which actions from the module we want to display in the interface. In our case, we want to include all the actions from the module, so we don't need to make any changes. If you do want to exclude any actions from your interface, you can uncheck the relevant box beside the action in the Actions section of the configuration panel:

    build_actions_action_checkbox.png

    Now, users can take relevant module actions directly from the interface.

  14. Whenever there are multiple users or groups of users participating in a process, it's helpful to enable them to leave comments on an interface. This can allow them to add relevant context to a module item. For this, we'll add a Comments widget.

    Below the Actions widget, select Add Widget. The Add Widget panel displays.

  15. Select the Comments widget in the right panel. The Comments widget is added to the interfaces and displays in the interface builder and the configuration panel.

    build_select_comments_widget.png

    The Comments widget requires no additional configuration, so we can leave it as it is.

  16. Lastly, we can personalize the interface to make it fit our organization's colors.

    Select anywhere in the interface header. The Theme configuration panel displays.

    build_theme_select_header.png
  17. Select Upload to add your company logo and turn on the Show company logo toggle to display it on your interface. We'll upload the Tonkean logo.

    theme_logo.png
  18. Next, select colors for the header background by selecting from the color picker. You can also choose the header text alignment. We'll change our header background to Tonkean purple and leave the text center-justified.

    build_theme_colors.png

    That's it! Our interface has the content, functionality, and design we want. Next, we'll set the custom interface as the default.

  19. To set the custom interface as the default view for items in the business report, select the Set as default checkbox in the top right. This ensures all users with access to the business report see our curated view.

    build_set_as_default.png
  20. To view a preview of the interface, select Preview in the top right.

    build_preview_button.png

    Below is the preview of the "Equipment Order" interface we created:

    build_preview.png

View the Interface

Now that we've created the custom interface, we're ready to view it live.

  1. Publish the solution that contains the module with your new interface.

  2. Navigate to the relevant business report and select an item in the report. The custom interface displays.

    build_preview_prod.png