Below code is used to get all id of listview Of Module.
This function should be used in the view.list.php of custom/modules/<module_name>/views/
function display() {
global $db;
parent::display();
$ids=$this->lv->data[‘pageData’][‘idIndex’];
print_r($ids);
}
Note :
1. Here, <module_name> means the module name you see in the URL, for example, Contacts, Leads, Accounts, etc.
Hope you find this blog post helpful.
Feel free to add comments and queries, that helps us to improve the quality of posts.
You can contact us at info@infotechbuddies.com
Thank you.