How to close the internet browser window after forms 11g is called

You will need to modify your main entry form procedure and place some javascript code to close the browser window.

1. Create a new html file i.e. “closeWindow.html”, under %ORACLE_HOME%\forms\java\ as below:

[html]<html>
<body onload=”closeWindow()”>
<script type=”text/javascript”>
function closeWindow() {
window.open(”,’_parent’,”);
window.close();
}
</script>
</body>
</html>[/html]

2. Modify the entry form’s POST-FORM Trigger

[sql]–Call the html file created
web.show_document(‘/forms/java/closeWindow.html’,’_self’);
EXIT_FORM(NO_VALIDATE)[/sql]

4. Add the following lines to your “formsweb.cfg” file under [your_cofiguration]
path = c:\Oracle\Middleware\user_projects\domains\<domain_name>\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.1\config\formsweb.cfg

[text]<SCRIPT LANGUAGE=”JavaScript”>window.opener = top;</SCRIPT>
<HTMLbeforeForm=<SCRIPT LANGUAGE=”JavaScript”>window.opener = top;</SCRIPT>[/text]

 

To open see post 1071

 

How to setup Webutil for forms 11g R1 (11.1.1.2.0)

Notes:
– frmwebutil.jar already exists/is signed on 11g
– tested with JRE version 1.6.0_25, webutil 1.0.6, jacob 1.10.1_b17
– windows 7, 32bit

1. Download webutil_1.0.6  (or from oracle’s index page) and jacob_1.10.1_b17 (or from project page) jar files.

2. Copy files:
=========
path = c:\Oracle\Middleware\as_1\forms\java
[text]d2kwut60.dll
ffisamp.dll
forms_base_ie.js
forms_ie.js
frmwebutil.jar
jacob.dll
jacob.jar
JNIsharedstubs.dll
sign_webutil.bat[\text]

*Create a folder “server” under forms\:
path = c:\Oracle\Middleware\as_1\forms\server\
[text]base.htm
basejpi.htm
forms.conf.backup
ftrace.cfg
webutil.cfg
webutilbase.htm
webutiljini.htm
webutiljpi.htm[/text]

*May also need the following folder:
path = c:\Oracle\Middleware\as_1\forms\webutil\
[text]d2kwut60.dll
ffisamp.dll
jacob.dll
JNIsharedstubs.dll
sign_webutil.bat[/text] (more…)

How to install Oracle Forms and Reports 11g on Windows XP 32bit

specs: Pentium Dual 2.2 64bit, 5 GB mem, Windows XP 32bit
reqs: WinXp SP2 or later, 1GB Memory,
time: Oracle Weblogic: 10 min,
Fusion Middleware: 40 min setup, 50 min config

  1. Download Weblogic Server 10.1.3.2 (11g) from here
    Tip: look for “Oracle WebLogic Server 11gR1 (10.3.2) – Package Installer” and select
    the i586 JVM installer package (about over 1/2 GB)
  2. Download Fusion Middleware – Portal, Forms, Reports and Discoverer (11.1.1.2.0) from here
    Tip: look for “Portal, Forms, Reports and Discoverer (11.1.1.2.0)” download link and select
    the i586 zip files (about 2.5 GB in chunks of ~500MB).
  3. Make sure you have at least
    • an i586 compatible CPU and Windows system
    • 1 GB of memory
    • 5 GB of free disk space for a typical install

If needed, download Java JDK 6u25 i586 (jdk-6u25-windows-i586.exe). (more…)

How to install Oracle Forms and Reports 11g on windows 7 64bit

specs: Pentium Dual 2.2 64bit, 5 GB mem, Windows 7 64bit
reqs: Win7 x64, 1GB Memory, Administrator
time: Oracle Weblogic: 5 min, Fusion Middleware: 23 min setup, 16 min config

  1. Download Java JDK 6u25 x64 (jdk-6u25-windows-x64.exe)
  2. Download Weblogic Server 10.1.3.2 (11g) from here
    Tip: look for “Oracle WebLogic Server 11gR1 (10.3.2) – Package Installer” and select
    the x64 JVM installer package (about 1 GB)
  3. Download Fusion Middleware – Portal, Forms, Reports and Discoverer (11.1.1.2.0) from here
    Tip: look for “Portal, Forms, Reports and Discoverer (11.1.1.2.0)” download link and select
    the x64 zip files (about 2.5 GB in chunks of ~500MB).
  4. Make sure you have at least
    • a 64bit CPU and Windows system
    • 1 GB of memory
    • 5 GB of free disk space for a typical install (more…)