APPGINI HELPER

Topics related to AppGini plugins/add-ons go here.
Post Reply
User avatar
cesteban
Veteran Member
Posts: 52
Joined: 2018-04-18 09:56

APPGINI HELPER

Post by cesteban » 2022-12-01 17:23

Hi,

I'm trying to Add a button to table view with a table called customers, but I can't get the Open button to appear

This is my code in the customers-tv.js file

jQuery(function () {
let tv = AppGiniHelper.TV;
let customers = tv.getcustomers();
let href = customers + "_view.php?SelectedID=%CustomerID%";
tv.addLink(href, "search", "Open");
});

Of course, other APPGINI HELPER functions are working well for me

Regards

User avatar
cesteban
Veteran Member
Posts: 52
Joined: 2018-04-18 09:56

Re: APPGINI HELPER

Post by cesteban » 2022-12-01 17:36

Hi,

I already found the problem:

In tv.getTableName(); TableName must not be replaced by the name of the table with which we are working, it must remain the same

tv.getTableName();

Regards

Post Reply