Report Toolbar Option Show/Hide Conditionally

Stimulsoft Reports.PHP discussion
Post Reply
harshdeep
Posts: 20
Joined: Fri Nov 15, 2013 12:49 pm

Report Toolbar Option Show/Hide Conditionally

Post by harshdeep »

See we have single instance multitenant application, where we are sharing common stimulsoft report framework for all, I know we can control toolbar options from config.xml but as we are sharing common code for all if we apply something it will affect to all, Is it possible we can conditionally control report toolbar options for 1 or 2 customers? May be through php or via something else...
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Report Toolbar Option Show/Hide Conditionally

Post by HighAley »

Hello.

You code make changes in the header.php file for you needs. Here is a code that loads config file there:

Code: Select all

  case "LoadConfiguration":
    return sti_load_config("config.xml");
    break;
Thank you.
harshdeep
Posts: 20
Joined: Fri Nov 15, 2013 12:49 pm

Re: Report Toolbar Option Show/Hide Conditionally

Post by harshdeep »

You are awesome, I just didn't think in this way. We will surely give try and let you know the outcome. Thanks.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Report Toolbar Option Show/Hide Conditionally

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply