Related List in Zoho Vertical Studio | Vertical Studio Help Guide

Related List

Related Lists are customizable components that allow you to associate a record with other records in your vertical application. They provide contextually relevant data from other modules or third-party integrations, displayed directly within a record's detail page. This provides a holistic view of a record by consolidating all relevant information in one place, which improves user experience and decision-making. 

In addition to the pre-defined Related Lists available in a module, you can create custom Related Lists in two ways:
  1. Using a custom Deluge Function
  2. Embedding a widget into the Related List as an iframe.
You can create a Related List using a custom Deluge Function to map a module and display specific data. To create a Related List using function,
  1. Log into your application and navigate to Build > Components
  2. Shift to the Related Lists tab and click Add Related List.
  3. In the Deluge code editor, define the following in the top bar:
    1. Related List Name: The name of your Related List.
    2. Module: The module to which you want to map the Related List.
  4. Write your custom Deluge function logic to fetch and display the desired data.
  5. Click Save and Close.
Check the Functions help page for additional guidance and packaging behavior. 

Example

Below is a sample Deluge function code to create a Related List named Similar Customers in the Vehicles module. This Related List displays customers who own the same vehicle model as the parent record.

vehicleId = vehicle.get("Vehicles.ID");
vehicleRecord = zoho.crm.getRecordById("Vehicles",vehicleId.toLong());
vehicleName = vehicleRecord.get("Name");
crmResp = zoho.crm.searchRecords("Vehicles","(Name:equals:" + vehicleName + ")",1,10);
//info crmResp ;
responseXML = "";
rowVal = 0;
if(crmResp.size() > 1)
{
responseXML = responseXML + "<record>";
for each  vehicle in crmResp
{
data = vehicle.get("Vehicle_Contact_1");
contactId = data.get("id");
contactRecord = zoho.crm.getRecordById("Contacts",contactId);
contactPhone = contactRecord.get("Phone");
contactName = contactRecord.get("Last_Name");
responseXML = responseXML + "<row cnt='" + rowVal + "'><FL val='Customer Name'>" + contactName + "</FL><FL val='Customer Phone'>" + contactPhone + "</FL></row>";
rowVal = rowVal + 1;
}
responseXML = responseXML + "</record>";
}
else
{
responseXML = responseXML + "<error>=><message>No other customer has a vehicle with the same model.</message></error>";
}
return responseXML;
A Widget-Related List allows you to embed custom widgets within the Related List as an iFrame. These widgets can embed external applications or display dynamic content directly within the application. 

Refer to the Widgets help page for more details. 
Packaged Related Lists are created in the developer console and deployed to subscriber organizations during signup or through upgrades. Any new Related list that is created in the developer console will be included in the next version of the application.

To know more about packaging, please refer to our guide on Components Packaging in Zoho Vertical Studio.

The following table explains the upgrade behavior of an existing packaged Related List already deployed in the subscriber's organization.

Property
Upgrade Type
Modify Access
Related List Name
Upgradable
Developer Only
Module
Non-Upgradable
Non-Editable
Function Code
Upgradable
Developer Only
Connected App
  1. Sanbox URL
  2. Height
Upgradable
Developer Only

Changes and Impacts 

When a packaged Related List is modified, published, and pushed as an upgrade to the subscribers' accounts, the impacts to the existing records in the subscriber organization are explained below.
Changing the Related List name does not affect the associated records. The related records will still appear, but under the updated name.
Modifying the function code or widget code can impact the related records displayed, depending on the extent of the changes made.
Deleting a Related List can result in the loss of visibility to relevant data for the parent record. Once deleted, the associated data will no longer be accessible through the Related List.

Warning
Caution! 

Deleting a Related List is a destructive change. It can have lasting effects on your subscriber data and configurations. Please consider the consequences carefully before proceeding, and only move forward if absolutely necessary.


      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsRetailOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceForms for Solopreneurs
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Forms for Government
                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic FormsInsurance
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsWufoo alternativeEncrypted Forms
                              Accessible FormsSecure Forms

                              WCAG

                                        Create. Review. Publish.

                                        Write, edit, collaborate on, and publish documents to different content management platforms.

                                        Get Started Now






                                                          You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                              Manage your brands on social media

                                                                Use cases

                                                                Make the most of Zoho Desk with the use cases.

                                                                 
                                                                  

                                                                eBooks

                                                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho Desk.

                                                                 
                                                                  

                                                                Videos

                                                                Watch comprehensive videos on features and other important topics that will help you master Zoho Desk.

                                                                 
                                                                  

                                                                Webinar

                                                                Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                                 
                                                                  
                                                                • Desk Community Learning Series


                                                                • Meetups


                                                                • Ask the Experts


                                                                • Kbase


                                                                • Resources


                                                                • Glossary


                                                                • Desk Marketplace


                                                                • MVP Corner



                                                                  Zoho Sheet Resources

                                                                   

                                                                      Zoho Forms Resources


                                                                        Secure your business
                                                                        communication with Zoho Mail


                                                                        Mail on the move with
                                                                        Zoho Mail mobile application

                                                                          Stay on top of your schedule
                                                                          at all times


                                                                          Carry your calendar with you
                                                                          Anytime, anywhere




                                                                                Zoho Sign Resources

                                                                                  Sign, Paperless!

                                                                                  Sign and send business documents on the go!

                                                                                  Get Started Now




                                                                                          Zoho TeamInbox Resources





                                                                                                    Zoho DataPrep Demo

                                                                                                    Get a personalized demo or POC

                                                                                                    REGISTER NOW


                                                                                                      Design. Discuss. Deliver.

                                                                                                      Create visually engaging stories with Zoho Show.

                                                                                                      Get Started Now









                                                                                                                          • Related Articles

                                                                                                                          • Widgets

                                                                                                                            Widgets help you extend your vertical application's functionality by embedding or integrating third-party applications. It enables you to pull real-time data from external resources to improve decision-making and streamline workflows within the ...
                                                                                                                          • Functions

                                                                                                                            Functions are custom scripts in Vertical Studio that help address complex business requirements in your application. They are written using Deluge (Data Enriched Language for the Universal Grid Environment). The Deluge scripts can be used for a wide ...
                                                                                                                          • Components and Packaging in Zoho Vertical Studio

                                                                                                                            Components are fundamental building blocks of Vertical Studio applications, comprising functionalities, configurations, and customizations. These components, such as fields, modules, blueprints, widgets, and templates, work together to create a ...
                                                                                                                          • Managing List Views

                                                                                                                            A List View is grouping of records based on a defined set of criteria in your application. They are beneficial for displaying customer specific data according to your business requirements. Vertical Studio provides a set of pre-defined standard list ...
                                                                                                                          • Zoho Vertical Studio - Overview

                                                                                                                            Zoho Vertical Studio is a robust low-code platform designed to help developers and businesses create, customize, and deliver SaaS applications tailored to the unique needs of specific industries. By offering an extensive suite of pre-built tools, ...
                                                                                                                            Wherever you are is as good as
                                                                                                                            your workplace

                                                                                                                              Resources

                                                                                                                              Videos

                                                                                                                              Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                              eBooks

                                                                                                                              Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                              Webinars

                                                                                                                              Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                              CRM Tips

                                                                                                                              Make the most of Zoho CRM with these useful tips.



                                                                                                                                Zoho Show Resources