Trying display pdf file in server using WEB.SHOW_DOCUMENT in custom Form (EBS)
Hi,
I am trying display pdf file in server using WEB.SHOW_DOCUMENT in custom Form
Code in the Form-trigger "When-button-pressed"
begin
WEB.SHOW_DOCUMENT('xpriceletter/MYPDF.pdf');
end;
Now the issue is in creating the "virtual directory" where the PDF file resides.
I have followed steps as per the Doc ID 848138.1
STEP 1.
Creating a virtual directory to be used with Forms Builder :
<virtual-directory virtual-path="/priceletter" real-path="%FORMS_ORACLE_HOME%/forms/xpriceletter" />
STEP2.
Restart OC4J Instance
STEP 3.
Creating a virtual directory to be used on OAS with forms :
AliasMatch ^/forms/priceletter/(..*) "/apvol/devstg/apps/pmcdev/apps/tech_st/10.1.2/forms/xpriceletter/$1"