This topic is locked

Is it possible to add Manage Access to a table through Webreports thro

1/13/2009 2:47:17 PM
PHPRunner General questions
hichem author

I have a large table that I dont wish to offer the user to build a webreport for it as it would exceed the configured php timeout.

I know I can tick the box view in the admin area for the corresponding table but that would hide the list from the user as well.

I would like to only hide the table when teh user accesses webreports. I am assuming that we need an additional access mask to manage visibility of tables/views visibility through the enterprise web module. Is this something that can be included in future releases or does anyone knwo a workaround?
many thanks

J
Jane 1/14/2009

Hi,
to remove table from list of tables for web reports edit generated webreport0.php file manually.

Find following line:

$tables .= ( strpos($tbl, "admin_") === 0 ) ? '' : '<option ' . $selected . ' value="' . $tbl . '">' . $tbl . '</option>'."\r\n";



and replace it with this one:

if ($tbl!="TableName")

$tables .= ( strpos($tbl, "admin_") === 0 ) ? '' : '<option ' . $selected . ' value="' . $tbl . '">' . $tbl . '</option>'."\r\n";

hichem author 1/14/2009

Hi,

to remove table from list of tables for web reports edit generated webreport0.php file manually.

Find following line:
and replace it with this one:


Thanks Jane, your trick works perfect! realyl appreciate your prompt and great support.