SugarCRM SupportHelp ArticlesStudio and Module BuilderCreating a Relate Field

Creating a Relate Field

Overview

Linking various pieces of information together is a vital function of CRM. Sugar provides three different ways you can create connections between modules: relationships, relate fields, and flex relate fields. This article explains how to create a relate field in Sugar. For more information about each of these three types of connections, including a thorough description of relate fields, please refer to the article Introduction to Relationships and Relate Fields.

Note: Beginning with version 9.1.0, each user's license type (e.g. Sugar Serve) determines what functionality is available as described in the User Management documentation. The Cases module used as an example in this article is not available for Sugar Sell users, but creating a relate field works similarly for many other modules. 

Steps to Complete

The example below creates a Relate type field in the Cases module that we associate to the Contacts module. This will place a field on the case record that allows users to select a related contact.

  1. Navigate Admin > Studio > Cases > Fields and click "Add Field".
    add-field
  2. Set the Data Type as "Relate" and choose Contacts as the related module. Complete the remaining fields and click "Save" to create the field.
    save-field
  3. Add the relate field to the Case module's Record View layout and then click "Save & Deploy". 
    save-deploy
  4. Navigate to a new or existing case record and find the new relate field. Select a contact from the Related Contact field and then save the record.
    edit-record
  5. The related contact should now appear onthe case record.
    saved-record

Please note that the case record is not displayed on the related contact's record because relate fields are a one-way relationship.

PatrickM

 

 

 

 

Last modified: 2020-01-30 18:56:08