Iconic file in oracle 10g forms
hii,,
i am a new user in oracle 10g form,,,here i am running a form & placing all the icons in a folder,after that i changed the iconic file path in the default.env file,the path is same where the icons are kept,,but still i am unable to see the icons at the run time,,,,,
do i need to modify some other file or the icons will be kept at some particaular place????
plzzzz help.....
hi
1 How to Display Iconic Images Using Forms 9.0.x/ 10.x?
When running an Oracle Forms 9i/10g application the icon files used must be in a web enabled
format such as JPG or GIF (GIF is the default format) (This is unlike older versions of forms running in client-server mode when the file format is .ico.)
Icon image files can either be retrieved by Forms as individual files on the filesystem or from a Java Archive (JAR file).
If an application uses lots of icon images it is recommended that they are stored in a JAR file to reduce the number of HTTP round trips.
Reference:Note 232413.1 How to Deploy Iconic Images via a JAR File in Forms 9i/10g?
The example below details steps to configure iconic images as individual gif or jpeg files.
It is a first approach recommended for initial testing and understanding.
Example:
========
This document has been written for use with both Windows and UNIX operating systems: Windows will use the "\" character to delimit directories and UNIX uses the "/" character. Any other differences are noted in the document.
1) Determine the physical location of the icons on your web server. For this example, assume that the icons are stored in D:\Myfiles\icons.
2) Create the virtual directory in the forms90.conf file that point to the location of your Forms 9i/10g icons. This file is located in:
$ORACLE_HOME\forms90\server\forms90.conf
To define a virtual directory forms90/icons, use the following syntax:
# Virtual path for ICONS (used to show icons in a form ) AliasMatch ^/forms90/icons/(..*) "D:\Myfiles/icons/$1"
Below is an example of the forms90.conf after it has been modified to include the /forms90/icons virtual directory.
# Virtual path mapping for Forms Java jar and class files (codebase) AliasMatch ^/forms90/java/(..*) "E:\IASR2\APP/forms90/java/$1" # Virtual path for JInitiator downloadable executable and download page AliasMatch ^/forms90/jinitiator/(..*) "E:\IASR2\APP/jinit/$1" # Virtual path for runform.htm (used to run a form for testing purposes) AliasMatch ^/forms90/html/(..*) "E:\IASR2\APP/tools/web90/html/$1"
# Virtual path for ICONS (used to show icons in a form ) AliasMatch ^/forms90/icons/(..*) "D:\Myfiles/icons/$1"
( For 10g use instead of "forms90" -> "forms")
3) Direct forms to use the /forms90/icons or /forms/icons virtual directory when running on the web by modifying the Registry.dat file in the $ORACLE_HOME\forms90\java\oracle\forms\registry or $ORACLE_HOME\forms\java\oracle\forms\registry
directory. Note that for UNIX, both the path name and file name are case sensitive. You must specify "Registry.dat".
Modify the default.icons.iconpath entry as follows: default.icons.iconpath=http:///forms90/icons/ or default.icons.iconpath=http:///forms/icons/
If the URL used to bring up forms on the web is: http://abc.oracle.com:7778/forms90/f90servlet or http://abc.oracle.com:7778/forms/frmservlet
Then the entry required for the Registry.dat will be: default.icons.iconpath=http://abc.oracle.com:7778/forms90/icons or default.icons.iconpath=http://abc.oracle.com:7778/forms/icons default.icons.iconextension=gif
4) Now use EM Website to: a) Restart the OC4J-BI-Forms Instance b) Restart the BI-FORMS HTTP Server Instance.
5) Verify that the virtual directory has been defined properly and that the icons can be viewed in a browser.
Assuming that exeqry.gif exists in the D:\Myfiles\icons directory, the following URL should show the icon:
http://abc.oracle.com:7778/forms90/icons/exeqry.gif or http://abc.oracle.com:7778/forms/icons/exeqry.gif
6) Check the form : http://abc.oracle.com:7778/forms90/f90servlet?form=D:\Testcases\F90\ICON_CHECK_IASR2.fmx or http://abc.oracle.com:7778/forms/frmservlet?form=D:\Testcases\F10g\ICON_CHECK_IASR2.fmx
CHECKLISTS
=============
Icons do not appear in the browser using the URL:
o Verify that you are using the correct machine name and port for the OC4J_BI_Forms object.
o Check the virtual directory name to make sure that there are no typographical errors. o Check for typographical errors in the forms90.conf or forms.
conf for the virtual directory. o Check the name of the icon on the file system. If the file is saved as Exeqry.gif, then it will not be found using the URL http://abc.oracle.com:7778/forms90/ Close all your browser sessions and open a new browser window.
Execute the URL to bring up from the Form Builder runtime or from the browser.
( For 10G use "forms" instead of "forms90")USEFUL REFERENCES:==================
[PDF] Oracle9iAS Forms Services Deployment Guide (P/N B10170-01)Configuring Oracle9iAS Forms Services ->
Deploying Icons and Images Used by Oracle9iAS Forms Services http://otn.oracle.com/products/forms/pdf/B10170_01.pdf
[PDF] Oracle9iForms Services - How to Deploy Iconshttp://otn.oracle.com/products/forms/pdf/webicons.pdf
sarah
Similar Messages
-
Creating trace file in oracle 10g forms
hii there,
I have developed an application in oracle 10g. but it's too slow . Now i have to trace forms . How can trace oracle forms.
please send it in details as early as possible. I don't know about this trace file generation.
-----SachinHi,
To run SQL trace for a form :
a. Get to the point in the form where you want to turn trace on.
For example, if the problem occurs on the commit, wait until you are
ready to commit, THEN turn trace on.
b. Turn tracing on. In GUI versions: Help - Tools - Trace, enable tracing.
c. Execute the steps you want to trace.
d. Turn tracing off. In GUI versions: Help - Tools - Trace, disable tracing.
The trace file will be written to the subdirectory specified in the
'user_dump_dest' parameter in the INIT.ORA file. -
Not able to merge files in oracle 10g forms using webutil
Hi,
i ahve developed an application in oracle forms 10g in which i am generating xls file by report and saving on server. now i want to merge header file to file generated by reports and save on server and then trasfer it to client using webutil. but i am not able to do so. please help
---sachindo you have a solution for merging the headers ?
for example a batch file, which does the work?
then run this batch from forms with webutil on your client. -
Cannot read image file in oracle 10g forms, getting error frm-47100
I'm unable to read the image from the file location. But If I do re-save via MS-Paint the same image then I'm able to load successfully. I want to load image directly instead of re-save. Error getting like "frm-47100 Cannot read image file".
Need your co-operation to solve this issue.
Thanks in advance!
declare
tiff_image_dir varchar2(80):=('D:\IMAGE\');
photo_filename varchar2(80);
begin
photo_filename:=tiff_image_dir||:IMAGE_NO||'.JPG';
if :image_no is null then
:Image_no :=:UID_NO;
end if;
read_image_file(photo_filename,'JPG','image');
WRITE_IMAGE_FILE('output.tif','TIFF','g_image_info.image',maximize_compression,original_depth)
end;Hi Sindhu,
By default any operating system file extension starts after the dot. So in this case when it says 2 dots it will think there is something wrong.
RajeshALex -
How to run a report from oracle 10g form in .csv format
dear all,
how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
i'm using
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
Please Help..i have already tried.
but the report show in htm or html format. that file will not save into csv. please help. -
Kindly suggest oracle automation testing tools supporting oracle 10g forms
Hi,
We would like to automate oracle 10g forms in our company. kindly suggest oracle automation tools supporting oracle 10g forms other than OATS.
If only OATS tool is available in Oracle, please suggest user guide for OATS.
Regards,
SairamHi Sairam,
You can find OATS docs in OATS installation package itself. You can find separate pdf files for each OATS product(OpenScript Programmer Preference, OFT, OLT, OTM, Administrator etc).
Regards,
Deepu M -
Oracle 10g Forms Builder in Windows 7
Oracle 10g Forms Builder crashes whenever we try to open existing 10g fmb files.
is Windows 7 certified to run Oracle Dev Suite 10g and/or are there patches required to run this in the said OS?Hi,
Thanks a lot for using our community.
Please note that your posting has been moved to the "Oracle Developer Suite (Forms、Reports、Designer)" Community to better deal with your topic.
Thank you and best regards,
Saravanan - Database Administration Community Moderator -
TEXT.IO in Oracle 10g Forms
Is TEXT.IO function applicable to Oracle 10g Forms? Is there any other way to upload text files to a database table using Oracle 10g Forms? the procedure is that the user should be able to select text file from his station and upload the contents to a table.
Thanks in advance.WebUtil comes preinstalled with Forms 10g R2, but you will need to perform some configuration changes to enable webutil. Check out the Oracle Forms Webuitil - Production Release and follow the configuration steps in the Webutil Doc. It shouldn't take more than about 15-30 minutes to configure. Hint: Don't take any shortcuts in the the configuation steps. If you follow the steps exactly everything should work just fine.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
Configure Oracle 10g Forms 9i for XML
How do I configure Oracle 10g Forms 9i to compile XML code? Is there a particular configuration file I need to update with .jar files that references XML processing or parsing?
Thanks!There is a java utility that can take an XML file that you have generated from an fmb file previously and compile it back to an fmb file.
Its called frmxml2f.bat. You'll find it in $Oracle_home/bin -
Calling report on oracle 10g forms
hi to all,
how can call oracle10g reports to oracle 10g forms? using a parameter..e.g: employee id.
Please i need a sample code...
note : report will not run on internet explorer.
thanks.
Edited by: baguhan on Jul 1, 2009 6:06 AMHai Baguhan,
Try this.
DECLARE
RO_Report_ID REPORT_OBJECT;
Str_Report_Server_Job VARCHAR2(100);
Str_Job_ID VARCHAR2(100);
Str_URL VARCHAR2(100);
PL_ID PARAMLIST ;
BEGIN
PL_ID := GET_PARAMETER_LIST('TEMPDATA');
IF NOT ID_NULL(PL_ID) THEN
DESTROY_PARAMETER_LIST(PL_ID);
END IF;
PL_ID := CREATE_PARAMETER_LIST('TEMPDATA');
RO_Report_ID := FIND_REPORT_OBJECT('REPORT_OBJ');
ADD_PARAMETER(PL_ID, 'EMP_ID', TEXT_PARAMETER, <value to EMPID parameter>);
--FOLLOWING PARAMETERS ARE MANDATORY PARAMETERS TO SET REPORT OBJECT
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, '<report_full_path>');
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, FILE);
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'PDF');
SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER, <report_server_name>);
Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH(<report_server_name>) + 2, LENGTH(Str_Report_Server_Job));
Str_URL := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=' || <report_server_name>;
WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
DESTROY_PARAMETER_LIST(PL_ID);
END IF;
END;And add a report object in the form. ( in the above code, its REPORT_OBJ ).
Regards,
Manu.
If this answer is helpful or correct, please mark it. Thanks. -
Un-embed applet on oracle 10g forms from web browser
Hi all,
I want to ask how can i seperately open my applet from web browser in oracle 10g forms. To be more precise to my question, i dont want to use my applet in web browser. It should be opened in new window i.e. applet window.
Regards,
Qasim Javaid MalikIf you want to run forms without the IE browser (hidden)
Try this
To open web forms just like client server with a hidden IE window, I have invented two methods.
****** make seperateFrame = True on formsweb.cfg ******
Method 1
<job id="SYMA">
<script language="VBScript">
Const SW_HIDE = 0
Const High = 128
strComputer = "."
strCommand = "C:\Program Files\Internet Explorer\IEXPLORE.EXE http://symphony-devl.atradiusnet.com/forms/frmservlet?config=syma"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
' Configure the Notepad process to show a window
Set objStartup = objWMIService.Get("Win32_ProcessStartup")
Set objConfig = objStartup.SpawnInstance_
' Create Notepad process
Set objProcess = objWMIService.Get("Win32_Process")
intReturn = objProcess.Create _
(strCommand,Symphony, objConfig, intProcessID)
If intReturn <> 0 Then
Wscript.Echo "Process could not be created." & _
vbNewLine & "Command line: " & strCommand & _
vbNewLine & "Return value: " & intReturn
Else
Wscript.Echo "Process created." & _
vbNewLine & "Command line: " & strCommand & _
vbNewLine & "Process ID: " & intProcessID
End If
</script>
</job>
Method 2
<job id="SYMA">
<script language="VBScript">
dim objShell
set objShell = CreateObject("InternetExplorer.Application")
objShell.ShellExecute "C:\Program Files\Internet Explorer\IEXPLORE.EXE", "http://ws-79767.atradiusnet.com:8890/forms/frmservlet?config=localJpi", "", "open",0
</script>
</job>
Change the URL as appropriate, it's fantasitic .... !!!!!!
Any questions let me know ...... ! -
How to upload a file in Oracle 9i forms !!!!
How can we upload a file in oracle 9i forms. GET_FILE_NAME does not work in Oracle 9i forms
Have you looked at the functionality provided by webutil?
http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm
The 1.0.6 release has been certified with 9.0.4 and 10.1.2.0.2 of Oracle Forms. -
Ctrl+Z fuctianlity is not working in oracle 10g Form
Hi
I am using oracle 10g form and using
Edit_TextItem to invoke Text Editor
When i using CTRL+Z to undo things in editor it is not working but it works when i used Form6i.
Please help me to solve this issue. i need to this functinality to be work.
BR,
SPSThis works for me in 10.2.0.2
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from tab;
TNAME TABTYPE CLUSTERID
LOAN_DETAIL TABLE
PLAN_TABLE TABLE
... -
Can not configure Oracle 10g form on oracle 11g client
Hi
I need to install oracle 10g form in my system .
Here is my system
1. OS --XP
2. 32 Bit
4. Already oracle 11g release client installed ( I think that create the problem )
I tried to install oracle 10g form , it installed but can cont configure net manager for it , Always it point to 11g client and hence I could not configure .
Also I tried install Oracle Forms first then 11g client , But I got same issue .
I think if I created multiplr home one for 11g client and other for forms , it may work out .
Please help me
DebashisWhile deploying the example 'VacationRequest' in the oracle complete guide for 11g, i got an exception like this
"12:08:15 PM] Deploying Application...
[12:11:16 PM] [Deployer:149191]Operation 'deploy' on application 'VacationRequestTaskFlow' is initializing on 'soa_server1'
[12:11:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application VacationRequestTaskFlow on soa_server1.: [Deployer:149145]Unable to contact 'bam_server1'. Deployment is deferred until 'bam_server1' becomes available.; nested exception is:
java.rmi.UnknownHostException: Could not discover administration URL for server 'bam_server1'.
[12:11:24 PM] [Deployer:149193]Operation 'deploy' on application 'VacationRequestTaskFlow' has failed on 'soa_server1'
[12:11:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application VacationRequestTaskFlow on soa_server1.: Failed to load webapp: 'VacationRequestTaskFlow.war'.
[12:11:24 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'VacationRequestTaskFlow.war'
[12:11:24 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
[12:11:24 PM] See server logs or server console for more details.
[12:11:24 PM] weblogic.application.ModuleException: Failed to load webapp: 'VacationRequestTaskFlow.war'
[12:11:24 PM] #### Deployment incomplete. ####
[12:11:24 PM] Deployment Failed"
Can anyone help in this. -
Can i get any reading material on Oracle 10g Forms to prepare for OCP?
Need help.
Thanks in advance.
AGhttp://download-west.oracle.com/docs/cd/B14099_19/index.htm
Maybe you are looking for
-
How many Accounts we can clear By using F.13 And F-03
HI All, I want to clear all open accounts using F.13 or F-03 But some gl are not getting square off except GR/IR Account. How can i Clear Ecess clearing, Fright clearing Service tax Clearing....Accounts. I am unable to clear this accounts please give
-
Template properties not reflecting in some iviews based on that template
Hi , I have a template which is based on a PAR .I have some drop down in this template which has three values .Now there are around 40 iviews which are based on this template in these iviews i get only 2 values in the drop down .Also in PAR i hav
-
Hi, could someone provide me information about the best way to import originals into a DMS? The DIR will be created by a DOCMAS IDOC. From a migration-project i know that it's possible to send the original-content with the DOCMAS idoc (ALE). In my ca
-
How do I install Bluetooth module on i Mac G5 17 " 1.6Ghz M9248LL/A 2 GB Ram
How do I install BlueTooth Module in 2004 i Mac G5, 17 in, 1.6 Ghz, 2GB Ram, M9248LL/A. I found one to buy on ebay for this I Mac G5 model for about $13 and before I order I wanted to know if anyone has installed Blue Tooth on this i Mac G5 model.
-
I am going through tutorials and they are talking about Lessons folder which is consist of lesson wise .psd files and which comes with Adobe DVD , I need to download it , please let me know the place