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.

field setup

enter image description here

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

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -