Hiding Table View
Posted: 2020-05-21 19:02
Hello,
I had the need to hide a table from a group of users, but needed to give them view access the get the DV to stay up after record insert so that they information that is the same could be reused and save as a copy could be used.
The way I did it was (after searching this forum) was to put the following in hooks.
Works great… but my quest now is what are the other parameters related to HideTableView = ($perm[2]==0 ? 1 : 0);
Thanks
Jim
I had the need to hide a table from a group of users, but needed to give them view access the get the DV to stay up after record insert so that they information that is the same could be reused and save as a copy could be used.
The way I did it was (after searching this forum) was to put the following in hooks.
Code: Select all
unction AAR_init(&$options, $memberInfo, &$args) {
if ($memberInfo['group'] == 'Agencies')
{
$options->AllowCSV = 0;
$options->RecordsPerPage = 1;
$options->HideTableView = ($perm[2]==0 ? 1 : 0);
}
return TRUE;
Thanks
Jim