Wednesday, January 5, 2022

How to display icons in oracle forms 11g , 12C

How to display icons in oracle forms 11g , 12C

 

 

1.       Make a "icons" folder in any convenient location and save all picture files inside. e.g *.gif (C:\icons).

 

2.       From the command prompt, navigate to C:icons and then Create a jar file with all of the gif pictures from this location:

jar -cvf icons.jar *.gif 

                                I.            (Example) C:icons >  D:\Oracle\Middleware\Oracle_Home\jdk\bin\ jar -cvf icons.jar *.gif

 

                             II.            a jar file containing named icons In C:icons, a jar will be generated.

 

3.       This jar (icons.jar) should be copied into D:\Oracle\Middleware\Oracle_Home\forms\java

 

4.       By using the following instructions, you may sign this jar file:

 

                                I.            cd D:\Oracle\Middleware\asinst_1\bin

 

                             II.            sign_webutil.bat D:\Oracle\Middleware\Oracle_Home\forms\java\icons.jar

 

5.       In formsweb.cfg, make the following changes.

(Located In)

 

                                I.            “D:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config

 

                             II.            codebase=/forms/java
imageBase=codebase
archive=frmall.jar,icons.jar

 

6.       In Registry.dat, make the following changes.

(Located In)

                                I.            D:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config\forms\registry\oracle\forms\registry

 

(Open browser type the URL:http://I.P or Hostname:Port/forms/java/any_image_name.gif)

                             II.            default.icons.iconpath= http://192.168.3.139:8888/forms/java/logo.gif

default.icons.iconextension=gif

 

7.       Restart your Oracle Forms Server and browser too.


I hope it's helpful for you. If you have any queries, don't hesitate to contact me.

Name : Muhammad Sahal Qasim
E-mail : s.m.sahal789@gmail.com
Thank you.

0 comments:

Post a Comment

If you have any doubts, please let me know. I will help you.