Get All Module Metadata

You can get the metadata of all the modules using the zoho.crm.invokeConnector() deluge task.

Syntax

<Response> = zoho.crm.invokeConnector("crm.modulemetadata", <parameterMap>);

where,
<Response> is the task response returned as a Map.
<parameterMap> is a mandatory argument for the zoho.crm.invokeConnector() deluge task. In this case, an empty map can be passed as the argument.

Example

map = Map();
modulemeta = zoho.crm.invokeConnector("crm.modulemetadata", map);
info modulemeta;

Response Format

The response below shows a snippet of the entire response. Details of modules can be fetched using the key modules. The value for the key modules is an array with the metadata details of all modules.

{"status_code":200,"response":"{\"modules\": [{\"global_search_supported\":false,
\"deletable\":false,\"creatable\":false,\"modified_time\":null,\"plural_label\":\"Home\",
\"presence_sub_menu\":false,\"id\":\"2853142000000002173\",\"visibility\":1,\"convertable\":false,
\"editable\":false,\"profiles\":[{\"name\":\"Administrator\",\"id\":\"2853142000000026011\"},
{\"name\":\"Standard\",\"id\":\"2853142000000026014\"}],\"filter_supported\":false,
\"web_link\":null,\"sequence_number\":1,\"singular_label\":\"Home\",\"viewable\":true,
\"api_supported\":false,\"api_name\":\"Home\",\"quick_create\":false,\"modified_by\":null,
\"generated_type\":\"default\",\"feeds_required\":false,\"scoring_supported\":false,
\"arguments\":[],\"module_name\":\"Home\",\"business_card_field_limit\":0,\"parent_module\":{}},
{\"global_search_supported\":true,\"deletable\":true,\"creatable\":true,
\"modified_time\":\"2018-11-19T10:47:34+05:30\",\"plural_label\":\"Leads\",
\"presence_sub_menu\":true,\"id\":\"2853142000000002175\",\"visibility\":1,\"convertable\":true,
\"editable\":true,\"profiles\":[{\"name\":\"Administrator\",\"id\":\"2853142000000026011\"},
{\"name\":\"Standard\",\"id\":\"2853142000000026014\"}],\"filter_supported\":true,\"web_link\":null,
\"sequence_number\":2,\"singular_label\":\"Lead\",\"viewable\":true,\"api_supported\":true,
\"api_name\":\"Leads\",\"quick_create\":true,\"modified_by\":{\"name\":\"ZohoDemo\",
\"id\":\"2853142000000131009\"},\"generated_type\":\"default\",\"feeds_required\":false,
\"scoring_supported\":true,\"arguments\":[],\"module_name\":\"Leads\",
\"business_card_field_limit\":5,\"parent_module\":{}},...
]}"}

Details of the Leads module have been extracted from the response and shown below:

{\"global_search_supported\":true,\"deletable\":true,\"creatable\":true,
\"modified_time\":\"2018-11-19T10:47:34+05:30\",\"plural_label\":\"Leads\",\
"presence_sub_menu\":true,\"id\":\"2853142000000002175\",\"visibility\":1,\"convertable\":true,
\"editable\":true,\"profiles\":[{\"name\":\"Administrator\",\"id\":\"2853142000000026011\"},
{\"name\":\"Standard\",\"id\":\"2853142000000026014\"}],\"filter_supported\":true,\"web_link\":null,
\"sequence_number\":2,\"singular_label\":\"Lead\",\"viewable\":true,\"api_supported\":true,
\"api_name\":\"Leads\",\"quick_create\":true,\"modified_by\":{\"name\":\"ZohoDemo\",
\"id\":\"2853142000000131009\"},\"generated_type\":\"default\",\"feeds_required\":false,
\"scoring_supported\":true,\"arguments\":[],\"module_name\":\"Leads\",
\"business_card_field_limit\":5,\"parent_module\":{}}