Modal Boxes

Modal Boxes

Besides the main widgets, you can also display information or fetch user input through modal boxes. Modal boxes are UI elements in which users must perform a particular action as part of the overall process. As a result, users will be able to continue using the app on the main window only after performing the said action on the modal box. 

To configure a modal box in your extension, write the necessary code in the modal.html file in the project folder, and reference this file where required in your extension. 
Below is a sample code for a widget that invokes a modal box. 
  1. App.instance.modal({
  2. url: '/app/modal.html',
  3. title: "Modal box"
  4. }).then(function(modalInfo) {
  5. var modalInstance = App.instance.getWidgetInstance(modalInfo.widgetID);
  6. modalInstance.on('modal.opened', function(data) {
  7. console.log('modal opened ++++++++++++++++++')
  8. });
  9. }).catch(function(err) {
  10. console.log(err, "Modal error");
  11. })

You can configure a modal box to appear in a smaller size when invoked first and then expand to display more information. You can make this possible through the resize command.

 To include this resizing option in the modal box, use the following command in the modal.html file:
  1.  ZOHODESK.invoke('RESIZE');




    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








                                    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

                                          Zoho Desk Resources

                                          • Desk Community Learning Series


                                          • Digest


                                          • Functions


                                          • Meetups


                                          • Kbase


                                          • Resources


                                          • Glossary


                                          • Desk Marketplace


                                          • MVP Corner


                                          • Word of the Day


                                            Zoho Marketing Automation

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

                                                                                                      • Invoke APIs

                                                                                                        Below are some extra APIs that you can use in your extension.  ROUTE_TO INSERT MODAL_CLOSE RESIZE ROUTE_TO This command navigates between the multiple subtabs on the ticket detail page. Listed below are the different routes supported: ...
                                                                                                      • Setting up your CRM Application

                                                                                                        The first step in building your vertical CRM is to configure certain basic settings and choose the application modules you'd like to include. To create and setup a new application: Log in to your Zoho Developer account and click CRM for Verticals. In ...
                                                                                                      • Setting up Fields & Links Permissions

                                                                                                        Set Access Permissions for Fields With the field-level security, you can allow your customers to control the access rights of CRM fields for various profiles. This will ensure smooth security at the field-level, allowing users to access the fields ...
                                                                                                      • Customization - Working with Custom Modules

                                                                                                        This guide will help you with: Add Custom Modules  Edit Custom Modules  Link Custom Modules With Other Modules  Manage Modules  Delete Custom Modules  Zoho Developer offers more than 10 standard modules for Sales, Marketing, Customer Support and ...
                                                                                                      • Portals

                                                                                                        This guide will help you with the following: Create a Portal Configure the Portal Settings Preview the Portal Send Portal Invite to Users A Portal enables you to share selective data in the Vertical Solution with your customers. For example, consider ...
                                                                                                        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