How do I Configure Function Attribute in the Master Layout?

Updated on November 19, 2020 06:15AM by Admin

Master Layout is a common feature in all apps. These are like business attributes that support you to customize your business with custom fields. One of the important and useful custom fields in the Master Layout is the Function Attribute. Function Attribute allows you to create a custom calculation based on the value of other fields and displays this calculation on the Creation page. We can use the Function attribute for six types of use which includes:

  • Numerical Formula
  • Date Formula
  • String Formula
  • Date & Time Formula
  • Time Formula
  • Summary

For instance: Let’s take “String Formula”. You can enter the texts manually in the function editor. Consider you would like to view the Designation of your Employees in a single field. By using String Formula you can concatenate the Department and Job Title. Apptivo is manually entered.

Lets now go through the steps of how to configure Function Attribute in Master Layout with String Formula.

Steps to Configure Function Attribute in Master Layout

  • Login and access to the Employees App from the Universal navigation menu bar.
  • Click on “More → Settings” from the App header bar.
Emloyees

  • You will be redirected to the Settings page. Move to “Customize App → Master Layout” from the left navigation panel.
  • The master Layout page will be opened. Drag the “Function” field from the “Attributes” section and drop in the Master Layout.
Master Layout

Note: Now, the function attribute can also be used in the table section. You can Drag and Drop the function attribute in the Line level.

Table Section

  • You can rename the field by clicking on the field name. The Inspector tab will be opened and you can change the name of the field as you like(Designation).
Inspector Tab

  • Select the type as “String Formula” and scroll down until you reach the “Create Function” option.
  • On clicking that option, the “Function Editor” popup will appear where you can create your own functions.
Create function

  • Insert the required function from the “Insert Attribute”. Select Insert Attribute → Function Attribute → Employee Details → Department.
  • Then click on the “+” icon to add the next attribute (Job title). These two are function attributes.
Function Editor

Note: You can choose to include the visible or all fields to create the function attribute in the layout.

Include Attributes

  • You can enter the text manually if needed. Here the text “Apptivo” is entered manually.
  • Then tap on the “Create” button to complete the process of creating a string function.
  • Update the changes by clicking on the “Save” button.
Save

  • Move on to the Employees Overview page and you can view the “Designation” field with the created string attribute.
Overview

Related Links