Hello, I have many tables with the same “caption”. When I setup the userlevelpermissions list page th user has multiple lines in the userpriv table with the same table name. I need to show the two fields: caption and tablename. I do this with a custom template, but is there any way to modify the rendered userpriv code thru the server/client code, so that I don’t have the needign to modify the template at every update?
You need to customize GetTableCaption in userpriv.cs to return both caption and table name.
Hi I need to do the same thing in ANM 2025: in Userpriv.js there is the following function, but in the generated code there isn’t any tooltip:
// Get display table name
function displayTableName(cell, formatterParams) {
let row = cell.getRow();
return `<span data-bs-toggle="tooltip" data-bs-title="${ew.htmlEncode(row.getData().name)}">${row.getData().table}</span><input type="hidden" name="table_${row.getIndex()}" value="1">`;
}
why it doesn’t run as expected and there isn’t any span tag in the userpriv?