Forms/Reports Server [message #410300] |
Fri, 26 June 2009 01:05 |
smunir362
Messages: 310 Registered: September 2007
|
Senior Member |
|
|
Hi,
I have many more custom configurations in formsweb.cfg.
like [abc], [aaa],[ewrw] that would be open config=abc etc.
I want to save report server name eg. "rep_server" and report server path eg "http://server:port/report/rwserver" in some file/variable on server which is accessible from forms/reports. because when developer write code they should use predefined setings and not define all these setting in their calling report mechanism.
Regards,
|
|
|
|
|
|
|
Re: Forms/Reports Server [message #439015 is a reply to message #434204] |
Wed, 13 January 2010 10:59 |
smunir362
Messages: 310 Registered: September 2007
|
Senior Member |
|
|
Yes I got the solution.
define variable in default.env like rep_server=rep_hst report_path=/myapp/payroll/forms
and in developer user
TOOL_ENV.GETPARAM('rep_server',:rep_srv);
I hope it will be helpfull forother developers too.
By using TOOL_ENV function which is avaliable in (Developer 9i) we can get values of any variable from environment file.
|
|
|