today I tried to render PDF Blob , using render:satelliteblob .I am able to render image file without any issue using render:satelliteblob
but I'm not sure which table and what service using render for PDF in render:satelliteblob tag.
Take a look at this manual: http://docs.oracle.com/cd/E29495_01/doc.1111/webcenter_sites_11gr1_bp1_developer_guide.pdf
a) the trick seems to be not in SERVICE, but in BLOBHEADER="application/pdf"
b) as for BLOBTABLE, I assume it depends on where your PDF is stored; but you can also create your own table as described in the example:
<ASSET NAME="HelloImage" DESCRIPTION="HelloImage"
A PDF is not an image. The default service for <render:satelliteblob .../> is an image tag. If you want to render a pdf link you should add service="a href" to the <render:satelliteblob .../> parameters. Note however that this doesn't generate any link text or closing </a>. You'll have to create those yourself.
It's probably cleaner to use <render:getbloburl outstr="myUrl" .../> instead. This gives you the URL in a variable (in this case variable myUrl). You can then use that link in your page however you want.
I hope this helps.
Edited by: Stephan da Silva on 20-May-2013 00:02
Thanks for response , now it is working as expected . but I have one concern , this output URL is very ugly and very lengthy .
how can i customize the output URL to like http://localhost:19001/fordoutput/userdetails.pdf .
In fatwire have any tag/class to handle this custom URL creation ?