You are viewing limited content. For full access, please sign in.

Question

Question

View HTML Documents Within Web Client

asked on May 30 Show version history

I've noticed that if I have an HTML document stored as an electronic document in the repository, the Web Client will either only display the text of the HTML document in its viewer or download the document, which then requires opening it from the downloads in order to be viewed in the browser.

I'm wondering if there is any way to configure the Web Client to open these documents directly since it is already running in the browser.

0 0

Replies

replied two days ago

What kind of html documents are you storing in the repository? Viewing untrusted html content is a bit of a security minefield, which is the reason it is implemented the way it is - by downloading it, the page is totally isolated from your current web client session. If we wanted to display it in the current browser window and served directly from the host, we would at a minimum need to remove all javascript from the page.

1 0
replied two days ago

Oh, I definitely understand the security issues.  I wonder if that could be addressed by displaying the item in a sandboxed iFrame with scripting disabled.

Nearly 100% of what I'm doing are simple HTML files that were created via Workflow - they have styling and normal HTML components but no scripting elements.  Most of them are archivals of information that was sent via email, so it's trying to document the styling that was done on the email without it being an actual email attached - which is why I'm doing them as HTML, since it's the same structure as what it is putting in the emails.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.