08-19-2013 07:35 AM
I would like to display the PDF stored into the file:content field directly in my tab, not the link to download it. How can I do that ?
08-19-2013 07:41 AM
Dear me,
In your tab designer, you can add a template fragment with the following parameters:
Add 2 fields
add the following properties
Look the following screenshot:
And I attached the following xhtml fragment to the widget:
<div xmlns:nxd="http://nuxeo.org/nxweb/document">
<embed src="#{nxd:fileUrl('downloadFile', field_0, widget.properties.file_property_name, field_1)}" max-width="600" height="600" width="100%"/>
</div>
08-19-2013 07:41 AM
Dear me,
In your tab designer, you can add a template fragment with the following parameters:
Add 2 fields
add the following properties
Look the following screenshot:
And I attached the following xhtml fragment to the widget:
<div xmlns:nxd="http://nuxeo.org/nxweb/document">
<embed src="#{nxd:fileUrl('downloadFile', field_0, widget.properties.file_property_name, field_1)}" max-width="600" height="600" width="100%"/>
</div>
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.