Advanced Fields | Online Help | Qntrl

Advanced Fields

Lookups

Lookups are fields used to obtain a subset of options from available values in fields, tables, webhook API responses, or database query responses. Existing data available in the organization can be reused using lookups. Lookups usually return multiple options that are displayed to the end-user using Dropdown or Multi Select fields.
 
Lookups help organizations maintain consistent data through all modules. As lookups reuse data that is already available, it eases the task of mapping and managing data in the organization.
 

Benefits of lookups

  1. Compile and reuse data from various modules
  2. Maintain consistency in available data
  3. Populate values dynamically
  4. Improve data entry
  5. Reduce storage space
 

Types of lookups in Qntrl

Qntrl currently supports 4 types of lookups.
  1. Field Lookup
  2. API Lookup
  3. Table Lookup
  4. Database Lookup

Field lookup compiles a particular field’s value from different cards in a form and populates the compiled data in a dropdown or multi select field.
 
API lookup generates webhook responses and filters the responses using a data path. The result data obtained is displayed in a dropdown or multi select field.

Table lookup fetches an entire column’s data from a selected table and populates the data in a dropdown or multi select field.

Database lookup fetched data from remote databases and lists them in Qntrl.  

A total of five lookups and relation fields can be used per Organization. 

Field Lookup  

Field Lookup can be used to populate field values from different cards in a form into a dropdown or multi select field. For example, every time a new employee joins the company, a card is created in the Employee Onboarding Form, that records employee details like Name, Position, Experience, and so on. Every such value available in different cards can be compiled and listed as a common dropdown or multi select field using Field Lookup. 

  1. Navigate to   and select Orchestration from the menu.
  2. Select an orchestration name from the list.
    1. You will land in Step 1: Create Form.  
  3. Drag and drop Field Lookup from the New Fields tray onto the right panel.  
  4. Enter a Field Title . This field is mandatory and must be unique in each form.  
  5. Click Set field label hyperlink to add field label.  
    1. The field is displayed with the label name in the form. 
  6. Configure the lookup details:
    1. Form: Select a form to list its fields.
    2. Field: Select a field to populate lookup values.
      1. Note that all users are allowed to view the selected field’s values even if they do not have the required field level permission.
    3. Display Type: You can choose to display lookup values in either a dropdown or multi select field format.
  7. Set the field-level validations:  
    1. Mandatory: Toggle YES to make the field mandatory.
    2. Visibility: Toggle YES to make the field visible while creating cards.





  • A maximum of five Field lookup and Relation fields can be created.

  • Field lookup options are updated whenever new cards with different field values are created.

  • If the field linked to a field lookup has no value, the lookup options will be rendered empty.

  • On modifying either the form or field in field lookup properties, the field lookup values already selected in existing cards will not change. However, you can change these manually with the newly populated lookup values.

  • Only Single-Line, Dropdown, User Dropdown, Date & Time, Decimal, Integer, and Email Address fields can be configured for field lookup.

  • Once a form is deleted, field lookup mapping with other forms will also be deleted.

  • Field lookup is not supported in Qntrl's mobile app yet.  


Check out the detailed business case on ' Field Lookup'.

API Lookup 

API lookup enables you to look for specific information among a bulk of API response data. Using API lookup, you can run an existing webhook, obtain the response data in your preferred format of JSON/XML/Text, and filter the response using a data path to fetch only the required result data.
 
For example, if you have a webhook configured to fetch the real-time weather details from a third-party website, the API response data will comprise many parameters, such as date, time, place, weather in Celsius, and weather in Fahrenheit. Among all these details, if you want to fetch a single detail— say, weather in Celsius— it can be filtered using the data path and listed as a dropdown or multi select field to the end-users using API lookup.

  1. Navigate to     and select  Orchestration from the menu.
  2. Select an orchestration name from the list.
    1. You will land in Step 1: Create Form.  
  3. Drag and drop  API Lookup  from the  New Fields  tray onto the right panel.  
  4. Enter a Field Title. This field is mandatory and must be unique in each form.  
  5. Click Set field label hyperlink to add field label.  
    1. The field is displayed with the label name in the form.
  6. Configure the lookup details:
    1. Webhook: Select an existing webhook from the dropdown.
    2. Response Data Format: Select a repose format from the available options— JSON, XML or Text—and click Apply.
    3. Data Path: Enter the data path to filter the response, then click Check . This is applicable only for JSON and XML response formats. Learn in detail about the data path to be entered <link>.
    4. Result Data: This field will be auto-populated with the filtered data once we check the data path. Choose the result data from the dropdown.
    5. Display Type: You can choose to display lookup values in either a dropdown or multi select field format.
      1. On choosing dropdown, each option will be trimmed to display only 200 characters.
  7. Set the field-level validations:  
    1. Mandatory: Toggle YES to make the field mandatory
    2. Visibility: Toggle YES to make the field visible while creating cards.
  8. Click Ok.



  1. Only five lookup and relation fields can be created.
  2. If a webhook associated with API lookup is deleted or disabled, the lookup will not render any value. 

Configure data path in API lookup

When the response obtained from webhooks are of JSON or XML formats, the data path must be included to filter the obtained response data. Data path helps to identify and group similar values in the result dropdown.
 
Generic data path format
For JSON response: $.<JSONArrayName>[].<JSONObejctName>.key
For XML response: /RootElement/Element/@Attribute/Type
 
Examples
We’ve compiled a set of sample responses and their corresponding data paths below.

JSON response 1

{

    "id": 1,

    "name": "Leanne Graham",

    "username": "Bret",

    "email": "Sincere@april.biz",

    "address": {

       "city": "Gwenborough"

    },

    "phone": "1-770-736-8031",

    "website": "hildegard.org"

}

Data path
Here ‘$’ represents overall (root) response
 
To fetch the name: $.name
Result data: Leanne Graham
 
To fetch the city: $.address.city
Result data: Gwenborough
 
To fetch the address: $.address (Returns a string)
Result data: { "city" : "Gwenborough" }
 
JSON response 2

[

  {

    "userId": 1,

    "name": "Leanne",

    "title": "quidem molestiae enim"

  },

  {

    "userId": 2,

    "name": "Ervin",

    "title": "sunt qui excepturi placeat culpa"

  },

  {

    "userId": 3,

    "name": "Clementine",

    "title": "omnis laborum odio"

  },

{

    "userId": 4,

    "name": "Patricia",

    "title": "eaque aut omnis a"

  }
]

Data path
Here ‘$[*]’ represents overall (root) response and index starts from 0.
 
To fetch all the names: $[*].name 
Result data: [Leanne , Ervin , Clementine, Patricia]
 
To fetch the second name: $[1].name 
Result data: Ervin
 
To fetch the first 3 users: $[0-2].name or $[-2].name
Result data: [Leanne , Ervin , Clementine]
 
To fetch last 3 users: $[1-].name
Result data: [Ervin , Clementine, Patricia]

XML response

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<employees>

 

    <employee id="1">

        <firstName>Lokesh</firstName>

        <lastName>Gupta</lastName>

        <department>

            <id>101</id>

            <name>IT</name>

        </department>

    </employee>

 

    <employee id="2">

        <firstName>Brian</firstName>

        <lastName>Schultz</lastName>

        <department>

            <id>102</id>

            <name>HR</name>

        </department>

    </employee>

 

    <employee id="3">

        <firstName>Alex</firstName>

        <lastName>Kolenchisky</lastName>

        <department>

            <id>103</id>

            <name>FINANCE</name>

        </department>

    </employee>

 

    <employee id="4">

        <firstName>Amit</firstName>

        <lastName>Jain</lastName>

        <department>

            <id>104</id>

            <name>HR</name>

        </department>

    </employee>

 

    <employee id="5">

        <firstName>David</firstName>

        <lastName>Beckham</lastName>

        <department>

            <id>105</id>

            <name>DEVOPS</name>

        </department>

    </employee>

 

</employees>


Data path
To fetch all employee names: /employees/employee/firstName/text()
Result data:[Lokesh, Brian, Alex, Amit, David]
 
To fetch all employee IDs: /employees/employee/@id
Result data: [1,2,3,4,5]
 

Troubleshooting steps

  1. Check if you are able to generate the webhook response by clicking Apply.
  2. Check if your data path displays result data by clicking Check.
  3. Check if data path complements the response data and its format.

Table Lookup

Qntrl's tables store and organize data in an easy-to-interpret tabular format. Table lookup fetches data from a table’s column and populates it in a dropdown or multi select field for the end-user.
 
For example, if you have a table to store your employee details, each column will contain details like employee ID, employee name, age, salary, and other information. If you want to fetch a list of all your employee names, you can use table lookup and get all the entire column details.

  1. Navigate to       and select   Orchestration  from the menu.
  2. Select an orchestration name from the list.
    1. You will land in  Step 1:  Create Form.  
  3. Drag and drop Table Lookup from the New Fields tray onto the right panel.  
  4. Enter a Field Title. This field is mandatory and must be unique in each form.  
  5. Click Set field label hyperlink to add field label.  
    1. The field is displayed with the label name in the form.
  6. Configure the lookup details:
    1. Table: Select a table to lookup data.
    2. Column: Choose a column from the table.
    3. Display Type: You can choose to display lookup values in either a dropdown or multi select field format.
      1. On choosing dropdown, each option will be trimmed to display only 200 characters.
  7. Set the field-level validations:  
    1. Mandatory: Toggle YES to make the field mandatory.
    2. Visibility: Toggle YES to make the field visible while creating cards.



Note:
  1. Only five lookup and relation fields can be created.
  2. If the table associated with lookup is deleted, the lookup will not render any value. 

DB Lookup

Database Lookup allows organizations to fetch data from their remote databases and list them in Qntrl. DB lookup uses Bridge and Connectors to establish a secure connection with external databases and queries for response.
 
DB lookup can only be used to READ external databases. Other actions like update or delete are not allowed. This ensures that the customer’s external database is secure and intact at all times.
 
For example, the customer might maintain a remote database to store all the vendor details. If the customer wants to populate this data in Qntrl, without having to replicate the data again, DB lookup can be used. DB lookup connects with the customer’s database, queries the database, and lists the response in a dropdown or multi select field in Qntrl.

  1. Navigate to       and select   Orchestration  from the menu.
  2. Select an orchestration name from the list.
    1. You will land in  Step 1:  Create Form.  
  3. Drag and drop  DB Lookup  from the New Fields tray onto the right panel. 
  4. Enter a Field Title . This field is mandatory and must be unique in each form. 
  5. Click Set field label hyperlink to add field label. 
    1. The field is displayed with the label name in the form.
  6. Configure the lookup details:
    1. Connector: Select an existing connector or create a new one for the database.
    2. Mid Server: Select an existing mid server or create a new one.
    3. Display Type: You can choose to display lookup values in either a dropdown or multi select field format.
      1. On choosing dropdown, each option will be trimmed to display only 200 characters.
    4. Database Query: Type the command to query the database.
      1. If no limit is specified in the query, only 20 results will be listed.
  7. Set the field-level validations: 
    1. Mandatory: Toggle YES to make the field mandatory.
    2. Visibility: Toggle YES to make the field visible while creating cards.



Note:
DB lookup lists only 20 results at a time if no limit is specified in the database query. 

Relation Fields 

Relation fields can be used to establish connections between cards of same or different orchestration in Qntrl.

While linking cards of different blueprints, the relationship can be: 
  1. Dependent cards - One workflow leads to another to complete the process.
  2. Linked cards - Brings in information from one workflow to another making cards more intelligent.
  3. Parent-child cards -  The main workflow is distributed into sub-flows and these sub-flows, in turn, go back to the main workflow for the process to be completed.

To create a new relation field,
  1. Navigate to  and select Orchestration from the menu.
  2. Select an orchestration name from the list.
    1. You will land in Step 1:  Create Form .  
  3. Drag and drop the Relation field from the New Fields tray onto the right panel.  
  4. Enter a Field Title . This field is mandatory and must be unique in each form.  
  5. Click Set field label hyperlink to add field label.  
    1. The field is displayed with the label name in the form.
  6. Set the relation details:
    1. Form: Select a form to list its cards.
    2. Relation title: Enter a title for the relation.
    3. Display Type: You can choose to display the cards in either a dropdown or multi select field format.
  7. Configure the field-level validations:  
    1. Mandatory: Toggle YES to make the field mandatory.
    2. Visibility: Toggle YES to make the field visible while creating cards.



Create a new card in the above used orchestration. Select cards in the relation field to establish a relation.



Now, visit the selected cards to view the related cards table. You can also click on the card name right from the relation field, in the card details page, to navigate to the related card. 

  • A maximum of five Field lookup and Relation fields can be created.

  • Cards connected using relation fields can be viewed under Related Cards .

  • Once a form is deleted, relation field mapping with other forms will also be deleted. 

  • Relation field is not supported in Qntrl's mobile app yet. 


Cards connected using relation fields are displayed under Related Cards.  

     

      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 FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              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

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

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

                              Wufoo alternativeSecure 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


                                                                • Desk Community Learning Series


                                                                • Digest


                                                                • Functions


                                                                • Meetups


                                                                • Kbase


                                                                • Resources


                                                                • Glossary


                                                                • Desk Marketplace


                                                                • MVP Corner


                                                                • Word of the Day


                                                                • Ask the Experts


                                                                  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

                                                                                                                          • Manage Tables

                                                                                                                            Tables help you store reference data in a tabular format within  Qntrl . You can store data vital to support your business processes here. Also, the data in tables can be listed in cards using Table Lookup .   For example, Zylker-- a manufacturing ...
                                                                                                                          • Export Field Details Extension

                                                                                                                            Using this extension, you can download the details of all or specific fields of individual Cards in Qntrl.    Business Scenarios Analyze the cards easily by gathering and organizing data Plot graphs using the exported field details to analyze trends ...
                                                                                                                          • Manage Fields

                                                                                                                            Fields are individual elements in a form that classify user data. Qntrl provides a variety of field types that represent different kinds of user data in forms. We've complied all the fields created in forms under the Fields module. You can create new ...
                                                                                                                          • Business case 1: Use client scripts to perform mathematical calculations and validations on data

                                                                                                                            While designing forms to replicate finance related documents like purchase order, invoice, or reimbursement bills, our workflows might require the calculation of total cost or sum of expenses incurred. To automate such mathematical calculations and ...
                                                                                                                          • Business case 3: Use client scripts to fetch data from third party applications or websites

                                                                                                                            While designing forms, we might sometimes want to display data from other websites or applications like stock rates, flight status, freight details, weather updates, and so on. To fetch such information from third party websites or applications and ...
                                                                                                                            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