Tiger

How to change mass edit limit in Vtiger 6.5

Sometimes you need to make mass operation on houndreds of records in Vtiger. Well in this case it’s 500 ones maximum… Well this is kinda stupid because it can surely handle up to thousands. How do I know? I’ve hacked the code and successfully converted 2000 leads 🙂 Well it takes some time but it definitely works!

Let us return to the merits. You need to edit a file from root folder of your Vtiger 6.5 CRM, placed here /layouts/vlayout/modules/Vtiger/resources/List.js. Simply find the code below and edit number according to your needs:



File: List.js
-------------

		var selectedCount = this.getSelectedRecordCount();
		if(selectedCount > 2000) {
		    var params = {
			    title : app.vtranslate('JS_MESSAGE'),
			    text: app.vtranslate('JS_MASS_EDIT_LIMIT'),
			    animation: 'show',
			    type: 'error'
		    };
		    Vtiger_Helper_Js.showPnotify(params);
		    return;
		}

Published by

Konrad Fedorczyk

Konrad Fedorczyk

I'm interested in programming and gamedev. I especially luv HTML5 and everything connected to web technologies.

2 thoughts on “How to change mass edit limit in Vtiger 6.5”

  1. Hi, thanks for the tip. I have vtiger running on apache2 server, I needed to update 20,000 records, so I updated the mass edit limit and for good measure changed the php max execution time both in vtiger php.ini and apache. I tried running a mass edit on roughly 1000 records and it got a loading screen and let it run for an hour to no avail. tried again with 350 records and again no changes took place. any ideas?

    1. Hi,
      In my case it was quite long but it worked like a charm (about 1500 leads). You can debug that by using your browser’s developer tools. Enable PHP error reporting (display_errors = on in your php.ini). If you’re using Chrome press CTRL+SHIFT+I and go to Network tab. Now with developer opened run import in Vtiger, at the bottom you should see your request. Check it’s status, if something went wrong you should see 500 status and error response after clicking. Let me know if it works. In worst case scenario I can write tool to import data in batches.

Leave a Reply

Your email address will not be published. Required fields are marked *