Wednesday, March 7, 2018

How to display icons in oracle forms 11g

How to display icons in oracle forms 11g

1. Create a "icons" folder in any location and place all image file like *.gif (Example: cd C:\ icons)

2. Go to C:\icons from command prompt and then From this location, make a jar file of all gif images:jar -cvf icons.jar *.gif (Example: C:\ icons >D:\Oracle\Middleware\Oracle_FRHome1\jdk\bin\ jar -cvf icons.jar *.gif)
(a jar file with named icons.jar will be created in C:\icons)

3. Copy this jar(icons.jar) into "D:\Oracle\Middleware\Oracle_FRHome1\forms\java "
4. sign this jar file by following commands:
   4.1 cd D:\Oracle\Middleware\asinst_1\bin
  4.2 sign_webutil.bat D:\Oracle\Middleware\Oracle_FRHome1\forms\java\icons.jar

5. Change the following parameters in formsweb.cfg (Location: D:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config):
codebase=/forms/javaimageBase=codebasearchive=frmall.jar,icons.jar
6. Change the following parameters in Registry.dat (Location: D:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config\forms\registry\oracle\forms\registry):
default.icons.iconpath=icons/
default.icons.iconextension=gif

7. Restart your browser

No comments:

Post a Comment

To generate a PDF using JavaScript in Oracle APEX from a collection

  To generate a PDF using JavaScript in Oracle APEX from a collection, you can follow these steps: 1. Create a button or link on your APEX p...