Saturday, May 10, 2014

Create a hyperlink or HTML Link in oracle 10g forms


 1) Step 1: Download hyperlink.jar or demo.jar for add a hyperlink in your oracle forms.                 
           https://googledrive.com/host/0B5DZvtSmSXRITmREUTQ1ZmxYb0U/demo.jar
                                                                       or
                                                                  Click here

2) Step 2: Place the jar file into %ORACLE_HOME%/forms/java Directory


3) Step 3: Update the formsweb.cfg file. In the %ORACLE_HOME%/forms/server Directory add this jar file                                  
                                       Example:
                                       archive_jini=frmall_jinit.jar,......,demo.jar
                                       archive=frmall.jar,........,demo.jar


4) Step 4: Create or Open a sample form with form builder

5) Step 5: Create a manual block named control and take a bean item named hyperlink into it.


6) Step 6: Write the folloing code under WHEN-NEW-FORM-INSTANCE trigger

BEGIN
    FBean.Register_Bean('control.hyperlink',1,'oracle.forms.demos.beans.Hyperlink');
    FBean.Invoke('control.hyperlink',1,'setLabel','www.azizgroupbd.com');
    FBean.Enable_Event('control.hyperlink',1,'actionListener',true);
END;

7) Step 7: Write the folloing code in WHEN-CUSTOM-ITEM-EVENT trigger under bean item

                Web.Show_Document('http://azizgroupbd.com','_blank');

8) Step 8: Compile the form

9) Step 9: Run the form

10) You can watch this video tutorial from this link
https://www.youtube.com/watch?v=W1arSfH3nqw
or  Click here

3 comments:

  1. Can you put back your hyperlink.jar or demo.jar please ?

    ReplyDelete
  2. Interesting One.Hope can find most as these. Also check the website IGOFUSION One of the best online Oracle training institute.

    Fusion Cloud Financials Training

    ReplyDelete