Mass updater used with other batch actions

Topics related to AppGini plugins/add-ons go here.
Post Reply
balfons
Veteran Member
Posts: 91
Joined: 2018-10-22 15:27

Mass updater used with other batch actions

Post by balfons » 2020-04-15 18:00

Dear all,

I'm trying to learnt how to create additional batch actions in paral·lel with the usage of the mass updater.

I'm trying to follow this tutorial: https://bigprof.com/appgini/help/advanc ... ch-actions

As the usage of the plugin implies to work a little bit different I'm not sure if I'm doing right.

In the edited by plugin tablename.php file I've added this code above the edited part of the file

$custom_actions_top = array(
'custom_actions_top' => array(
'title' => "Cerrar NCs",
'function' => 'mifuncion',
'icon' => 'random'
),
);

I've added to the tablename-tv.js the definition of mifuncion as follows

function mifuncion(table_name, ids){
alert("IDs selected from " + table_name + ": " + ids);
}

It is the same function than in the tutorial but renamed.

the code is not executed... can anybody tell me where could be the error...

Thanks in advance

Post Reply