Hello Expert,
How to create button in the list view in JS file?
I can create button in a “UserDoc”, but it appears in User form.
In User.js file:
frappe.ui.form.on('User', {
refresh: function(frm) {
...
frm.add_custom_button(__('Get User Email Address'), function(){
frappe.msgprint(frm.doc.email);
}, __("Utilities"));
...
}
});
Also I want to create a button in user list page. Please help me.
Regards.