Associating a custom function as a message handler in a device model

Associating a custom function as a message handler in a device model

You can create multiple message handler custom functions for a device model and then choose the one that you require for it. This ensures that all devices based on that model will automatically include the message handler.

Prerequisite:  You must have already created one or more message handler custom functions for this required device model.

To associate a custom function to a device model,
  1. Access the Developer Application.
  2. Click Devices in the left pane.
  3. Click on the name of the device model for which you want to add the message handler. For this illustration, the device model DG Gateway is selected.



  4. Scroll down on the left pane of the device model's information page and select Message Handler.



  5. Click Configure Message Handler.



  6. Click Associate Custom Function.



  7. Select the custom function you want to use as the message handler and click Associate.



    Note: Make sure the current device model was selected in the Model/Module field when the custom function was created; only then will the custom function appear in the list.

  8. Click Save.

 
The selected custom function will be associated as the message handler for the device model.

See Also
Change message handler custom function for a device model
Adding and managing message handlers
 


    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 Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          Offline Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal

                          Form Designer HR

                          Card Forms Food
                          Assign Forms Photography

                          Translate Forms Real Estate
                          Electronic Forms

                          Notification Emails for Forms Alternatives
                          Holiday Forms Google Forms alternative 
                          Form to PDF Jotform alternative





                                            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

                                                                                                              • Disassociating a message handler custom function from a device model

                                                                                                                You can remove a message handler custom function from a device model. To disassociate a message handler custom function, Access the Developer Application. Click Devices in the left pane. Click on the name of the device model for which you want to ...
                                                                                                              • Adding a message handler to a device model

                                                                                                                A message handler can be configured in a device model as a custom function. This ensures that every device instance derived from that specific model will automatically include the message handler. To add a message handler to a device model, Access ...
                                                                                                              • Reassigning a message handler for a device model

                                                                                                                You can change the custom function selected as a message handler for a device model. Prerequisite: Message handler custom functions already created must have the same device model as the one you want to reassign. To reassign a custom function, Access ...
                                                                                                              • Save and Execute a message handler custom function

                                                                                                                While creating a message handler custom function, you can Save and Execute the provided code to see if it works properly.You can execute the code and provide an input JSON object and check if the desired JSON output is generated. If you have any ...
                                                                                                              • Understanding message formatter and message handler

                                                                                                                In Zoho IOT application, data sent from the gateway/smart device can be enhanced further. This includes decoding raw payload into a usable JSON format and performing additional computations and enrich by calling external API's. This is achieved using ...
                                                                                                                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