Get Module Metadata

Get Module Metadata

This guide will help you with the following:
      1. Syntax
      2. Example
      3. Response Format

You can get a particular module's metadata using the zoho.crm.invokeConnector() deluge task.

Syntax

  1. <Response> = zoho.crm.invokeConnector("crm.modulemetadata", <module Map>);
where,
  1. <Response> is the task response returned as a Map.
  2. <module Map> is the map variable to hold the API name of the module whose metadata you want to fetch. For example, Price_Books is the API Name of Price Books module. Use the Refer Fields in the Deluge Script Editor to learn these names.

Example

Fetch the metadata of the Leads module.
  1. moduleMap = Map();
  2. moduleMap.put("module","Leads");
  3. modulemeta = zoho.crm.invokeConnector("crm.modulemetadata", moduleMap);
  4. info modulemeta;

Response Format

  1. {"status_code":200,"response":"{\"modules\":[\"global_search_supported\":true, \"deletable\":true,\"creatable\":true,\"filter_status\":true,
  2. \"modified_time\":\"2018-11-19T10:47:34+05:30\",\"plural_label\":\"Leads\",
  3. \"presence_sub_menu\":true,\"id\":\"2853142000000002175\",
  4. \"related_list_properties\":{\"sort_by\":null,\"fields\":[\"First_Name\",
  5. \"Last_Name\",\"Full_Name\",\"Company\",\"Email\",\"Lead_Source\",
  6. \"Lead_Status\",\"Phone\"],\"sort_order\":null},\"$properties\":[\"$converted\",
  7. \"$approved\",\"$converted_detail\",\"$currency_symbol\",\"$approval\",
  8. \"$process_flow\"],\"per_page\":10,\"visibility\":1,\"convertable\":true,
  9. \"editable\":true,\"profiles\":[{\"name\":\"Administrator\",
  10. \"id\":\"2853142000000026011\"},{\"name\":\"Standard\",
  11. \"id\":\"2853142000000026014\"}],\"filter_supported\":true,
  12. \"display_field\":\"Full_Name\",\"search_layout_fields\":[\"Company\",
  13. \"Owner\",\"Full_Name\",\"Email\",\"Phone\",\"Lead_Source\"],
  14. \"web_link\":null,\"sequence_number\":2,\"singular_label\":\"Lead\",
  15. \"viewable\":true,\"api_supported\":true,\"api_name\":\"Leads\",
  16. \"quick_create\":true,\"modified_by\":{\"name\":\"ZohoDemo\",
  17. \"id\":\"2853142000000131009\"},\"generated_type\":\"default\",
  18. \"feeds_required\":false,\"scoring_supported\":true,\"arguments\":[],
  19. \"module_name\":\"Leads\",\"business_card_field_limit\":5,
  20. \"custom_view\":{\"display_value\":\"All Leads\",\"shared_type\":null,
  21. \"criteria\":{\"comparator\":\"equal\",\"field\":\"$converted\",
  22. \"value\":false},\"system_name\":\"ALLVIEWS\",\"shared_details\":null,
  23. \"sort_by\":null,\"offline\":true,\"default\":true,\"system_defined\":true,
  24. \"name\":\"All Open Leads\",\"id\":\"2853142000000087501\",
  25. \"category\": \"shared_with_me\",\"fields\":[\"Full_Name\",\"Company\",
  26. \"Email\",\"Phone\",\"Lead_Source\",\"Owner\", \"Mobile\",
  27. \"Last_Activity_Time\",\"Prediction_Score\"],\"favorite\":null,
  28. \"sort_order\":null}, \"parent_module\":{}}]}"}

    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

                                                                                                      • Get All Module Metadata

                                                                                                        This guide will help you with the following:       1. Syntax       2. Example       3. Response Format You can get the metadata of all the modules using the zoho.crm.invokeConnector() deluge task. Syntax <Response> = ...
                                                                                                      • Get User Data

                                                                                                        This guide will help you with the following: Syntax  Example  Response Format Additional Example  Round Robin Assignment  The details about the users of an extension or vertical solution can be fetched using the zoho.crm.getRecords() deluge task. ...
                                                                                                      • Get URL

                                                                                                        The get URL Deluge task corresponds to a HTTP GET request. It is normally supported by services to perform read-only operations like fetching data from external websites. By default, it supports websites running in port 80 and 443. Syntax a. To get a ...
                                                                                                      • Get File Name

                                                                                                        Description The getFileName task is used to get the name of the specified file. Syntax <response> = <file_object>.getFileName(); where, Example The following script returns the name of the file that the variable - fileVariable holds.  // to fetch ...
                                                                                                      • Get File Type

                                                                                                        Description The getFileType task is used to get the type of the specified file. Syntax <response> = <file_object>.getFileType(); where, Example The following script returns the type of the file that the variable - fileVariable holds.  // to fetch ...
                                                                                                        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