html - Showing content of a PDF in an iFrame (path to file) -
i have stored pdf , want display in iframe. appropriate way calculate src?
i used did not work me:
<set field="resourcereference" from="ec.resource.getlocationreference('dbresource://mantle/content/cv/100000/content_100006/161107_hs.pdf')"/>
then, in html added:
src="${resourcereference.geturl()}"
without success.
a url resourcereference internal url (starting dbresource:// in example) , not valid url web client. you'll need add screen transition or streams file web client (using ec.web.sendresourceresponse(string location) method). there various examples of transitions using method in framework, simplescreens, etc.
Comments
Post a Comment