08-07-2019 04:06 AM
When I drag and drop an HTML file with base64 images in a Workspace, nuxeo automatically creates a note file. Unfortunately the base64 encoded images are removed.
<img alt="django" />
<img alt="django CMS" />
<img alt="Flask" />
The only process to work with such files is currently to upload them to 'File' document type and download them each time for editing.
Any chance I can preserve the image content for online editing?
08-07-2019 11:37 AM
You can preview the HTML file with base64 images through the API. Just substitute your nuxeo server and your File document UID in the following link: http://localhost:8080/nuxeo/site/api/v1/repo/default/id/5222d245-255b-43dd-8e33-adedb16872a6/@blob/f...
You'd have to customize the View layout to display this on the document directly, for example using an iframe.
Also, just fyi, it is possible to use drag and drop to create File documents; just use the "Properties" button on the import popup screen to choose File instead of the html default (Note).
08-07-2019 11:37 AM
You can preview the HTML file with base64 images through the API. Just substitute your nuxeo server and your File document UID in the following link: http://localhost:8080/nuxeo/site/api/v1/repo/default/id/5222d245-255b-43dd-8e33-adedb16872a6/@blob/f...
You'd have to customize the View layout to display this on the document directly, for example using an iframe.
Also, just fyi, it is possible to use drag and drop to create File documents; just use the "Properties" button on the import popup screen to choose File instead of the html default (Note).
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.