Search This Blog

Tuesday, March 12, 2013

Need to create link from OAF Page in Oracle Applications

1. On Apps Server , Navigate to $OA_MEDIA
2. Put your files in this location
3. Test if the files are accessible, by logging in to application and then chaning the URL in address bar to
   /OA_MEDIA/<personId>.pdf
4. In the page where you want the link to show , Extend the Controller for that page
   write code

OAMessageAttachmentLinkBean lnk = new OAMessageAttachmentLinkBean(true);
lnk.setDestination('/OA_MEDIA/PDF_'+personId+'.pdf');

Find appropriate Parent Bean to add this link
parentBean.addIndexedChild(lnk);

 

No comments:

Post a Comment