I am running form 12c (12.2.1) on windows 8.1 64 bit.
I have a form in which I used custom toolbar. Gif Icons on buttons are not showing
when I run form from form builder OR directly from browser on same system where form is installed or from client.
I set
default.icons.iconpath=E:\images\icons
default.icons.iconextension=gif
in %domain_Home%\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_12.2.1\config\oracle\forms\registry\registry.dat file
In formsweb.cfg file I comment
#imageBase=codebase
In E:\images\icons I have gif icons, gif and jpeg images.
In form I also have two image items which shows gif and jpeg images by READ_IMAGE_FILE built in
gif and jpeg images in image items is shown but gif icons does not show.
I take care of case of file names. I tried both only file name and full path in icon file name property of button but icon does not show at runtime
At design time icon show
1= There are lots of thread in this forum and articles on internet that discuss this issue in older versions by using jar file mostly
But i can not use jar file as images are in hundreds and often new images are added and client needs only few of them at a time.
2= In forms documentation it is stated
Table 3-22 Icon Location Guide
Registry.dat Applications with custom icons that are stored in a different location as the Oracle Forms install (can be another server).
and
To modify icon mappings:
- From the Font and Icon Mapping region, select the mapping you want to modify.
- Change the name and value of the mapping. For example,
- Modify the
iconextension
parameter:default.icons.iconextension=gif
or default.icons.iconextension=jpg
- Modify the
iconpath
parameter specifying your icon location:default.icons.iconpath=/mydir
(for an absolute path)ordefault.icons.iconpath=mydir
(for a relative path, starting from the DocumentBase
Directory)
- Click Apply to save and activate the changes.
I can not understand how /mydir
(for an absolute path) is mapped to physical directory on system.
I want to use custom icons and images that are stored in a different location as the Oracle Forms install.
Pls help
regards