LinkedIn
Copied!

Table of Contents

Configuring fields

Applicable to Cosmos React applications

Fields model data in your application UI and define what information you need to provide to reach your business goals.

For example, in a process of hiring new employees, you can create properties that correspond with the personal details of a candidate, such as a name, a surname, and an address.

You can adjust the type of your field to match the data that you want to collect, and pair the field automatically with a control in the UI. For example, if you want the candidate to provide an email address, you can set up a field with the type email. In the user interface, the system renders the field as an Email control. To make the development process more efficient, each field type defaults to the most intuitive control, such as a check box for a Boolean expression.

Configure fields by performing the following tasks:
  • Configuring a data model for a case

    Configure a data model to define the data that you want to use in a case. For example, to include a user email address in a case, add an email address field to the data model.

  • Configuring field behavior

    Ensure that users complete the fields that are relevant to their case by defining the conditions that govern the fields' behavior. Depending on your business needs, you can mark fields as required, disable them under certain circumstances, or hide them completely.

  • Configuring a Date Time field

    Standardize date and time formats and reduce the number of input mistakes by using a Date Time field. When you set up a Date Time field, you ensure that users enter scheduling information in the right format.

  • Configuring a Currency field

    Collect and display monetary information in a field that automatically formats the amount by adding language-specific separators and a currency-specific symbol, such as the dollar sign.

  • Configuring a single-record reference field

    Simplify the structure of your application by reusing data in different contexts. Case and data reference fields help you efficiently reuse resources without detailed knowledge about how the system stores data.

  • Configuring a list of records field

    Help users access complex data in a convenient way. Case and data reference lists help you source data from your application and display it in a table where every column represents a field in a record.

  • Configuring cascading drop-down lists

    Reduce the time that is needed to complete a form by creating a group of drop-down lists that take cues from each other, and adjust the available options depending on choices that the user makes in the interface.

  • Using conditional logic in Cosmos React

    Define the logic that governs the behavior of fields in your application more intuitively with the condition builder. By creating conditions, you can link the visibility and availability of certain parts of your UI to your business needs, and build a cleaner, less cluttered application.

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.