Autopopulate Zoho Creator field with Zoho People data | Zoho Creator Academy

Autopopulate Zoho Creator field with Zoho People data

Requirement

Autopopulate Zoho Creator field with employee information stored in Zoho People.

Use case

Let's assume an organization named Zylker has a private library. The regular users must purchase a membership in order to access the library, however, Zylker employees can use the library free of cost. Zylker uses Zoho People to manage their employees and a library management Zoho Creator app to manage the library. On entering the Zylker employee ID in the Borrow Resource form which is used to loan books from the library, the employee's name will be fetched from Zoho People and auto populated in the Zylker Member field.

Steps to follow

1. Create two forms with the following details:

Form

Form Link Name

Field Type

Field Name

Field Link Name

Add Member

Add_Member

Number

Member ID

Member_ID

Name

Name

Name

Phone Number

Phone Number

Phone_Number

Address

Address

Address

 

Borrow Resource

 

Borrow_Resource

Radio

Are you a Zylker employee?

 

Are_you_a_Zylker_employee

  • Yes

  • No

Lookup (Add Member)

 

Member

Member

Single Line

Employee ID

Employee_ID

Single Line

Zylker Member

Zylker_Member

Single Line

ISBN/Barcode

ISBN_Barcode

Date

From Date

From_Date

Date

To Date

To_Date


2. Create and authorize Zoho People connection with the following details. This connection will be used in step 8 in the Deluge integration task to fetch employees' information from Zoho People.




3. Create a workflow to execute on load of the the Borrow Resource form.



4. Click Add New Action and select Deluge Script. Add the below code:
  1. hide Employee_ID ;
  2. hide Zylker_Member ;
  3. hide Member ;
5. Create another workflow to execute on user input of the Are you a Zylker employee? field:



6. Click Add New Action and save the following Deluge snippet in the Deluge editor. This script dynamically shows/ hides Employee_ID, Zylker_Member, and Member fields.
  1. if(Are_you_a_Zylker_employee == "Yes")
  2. {
  3.  show Employee_ID;
  4.  show Zylker_Member;
  5.  disable Zylker_Member;
  6.  hide Member;
  7. }
  8. else if(Are_you_a_Zylker_employee == "No")
  9. {
  10.  show Member;
  11.  hide Employee_ID;
  12.  hide Zylker_Member;
  13. }
7. Create another workflow to execute on user input of the Employee ID.



8. Click Add New Action and save the following Deluge snippet in the Deluge editor. 
  1. // Fetch the Zoho People record that matches the inputted employee ID using Zoho People -Get Records integration task
  2. searchMap = Map();
  3. searchMap.put("searchField","EmployeeID");
  4. searchMap.put("searchOperator","Is");
  5. searchMap.put("searchText",Employee_ID);

  6. response = zoho.people.getRecords("P_Employee",0,1,searchMap,"people_connection");

  7. // Populate the Zylker_Member field with the fetched value
  8. Zylker_Member = response.get(0).get("FirstName") +" "+ response.get(0).get("LastName");

See how it works



  1. Zoho People integration task
  2. Show/Hide fields
  3. Disable fields
  4. Connections


        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

                                TypeformWCAG


                                    All-in-one knowledge management and training platform for your employees and customers.

                                              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

                                                                                                                                • Auto-populate subform data from a form based on lookup selection

                                                                                                                                  Requirements Streamline the process of retrieving and displaying relevant data by auto-populating a subform based on the value selected in a lookup field. Use Case Consider an IT asset management application used by organizations to conduct asset ...
                                                                                                                                • Understanding Zia features in Creator

                                                                                                                                  In a nutshell Zia brings GenAI-powered assistance directly into Zoho Creator to accelerate app development. Instead of manually designing forms, writing scripts, or defining logic from scratch, you can describe your requirements in a natural ...
                                                                                                                                • Understanding emailing data to form

                                                                                                                                  A form is the component of your app (that you’ve built using Zoho Creator), through which your users can submit data. In addition to the default method of data entry where users access your form, enter data in the fields and submit the form, you can ...
                                                                                                                                • Zoho Creator : Best practices to build better apps

                                                                                                                                  What does this page cover This page outlines recommended best practices for building efficient and scalable applications in Zoho Creator. It covers guidelines for designing apps, structuring forms and fields, organizing data, writing optimized Deluge ...
                                                                                                                                • Auto populate a field based on the selection from a lookup dropdown

                                                                                                                                  Requirement   When a value is chosen from a lookup dropdown, related values are populated in the other fields of the same form. Use Case   An order management app contains a form to store order details. When the admin chooses the customer name from ...
                                                                                                                                  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