Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » Forms/Reports Server (AS10g rel2 Solaris x86)
Forms/Reports Server [message #410300] Fri, 26 June 2009 01:05 Go to next message
smunir362
Messages: 294
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 #420399 is a reply to message #410300] Fri, 28 August 2009 17:32 Go to previous messageGo to next message
dlwixon
Messages: 92
Registered: September 2008
Member
I'd put it in the database and then call it from the forms.

Then you could change it anytime you want without having to change the code in the forms.
Re: Forms/Reports Server [message #431621 is a reply to message #420399] Wed, 18 November 2009 10:14 Go to previous messageGo to next message
smunir362
Messages: 294
Registered: September 2007
Senior Member
But if i want to use some configuration on App server side and not on DB server side. Then is it possible. If yes then how to
Re: Forms/Reports Server [message #433940 is a reply to message #431621] Sat, 05 December 2009 06:32 Go to previous messageGo to next message
smunir362
Messages: 294
Registered: September 2007
Senior Member
Hi I have got the solution but only for report server name. We can define report server name in key map file i.e. cgicmd.dat.

But address "http://host:port/report/rwservlet?" is still left.
Please tell me how to define variables for report server.
Re: Forms/Reports Server [message #434204 is a reply to message #433940] Mon, 07 December 2009 12:45 Go to previous messageGo to next message
joy_division
Messages: 4618
Registered: February 2005
Location: East Coast USA
Senior Member
Thanks. I did not know about that file. Hopefully it will help someone else too.
Re: Forms/Reports Server [message #439015 is a reply to message #434204] Wed, 13 January 2010 10:59 Go to previous message
smunir362
Messages: 294
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.
Previous Topic: How to get Client IP from stored Procedure/Function
Next Topic: forms displaying arabic in locapc but not in OAS
Goto Forum:
  


Current Time: Fri Sep 30 08:56:10 CDT 2016

Total time taken to generate the page: 0.08818 seconds