cancel
Showing results for 
Search instead for 
Did you mean: 

Iframe in alfresco

malikaasen
Champ on-the-rise
Champ on-the-rise

I want to use another viewer for some specific file types in alfresco, and i wondered if it is possible to replace the preview with an iframe that takes the current file and sends it to the iframe so that the file can be viewed there. Is there a way to do this?

2 REPLIES 2

angelborroy
Community Manager Community Manager
Community Manager

Probably the safest approach is to build an FTL previewer like this one:

GitHub - cetra3/md-preview: Markdown Previews and Editing for Alfresco Share 

Hyland Developer Evangelist

Thanks for the quick reply! I'm making a temporary solution where if the file cant be previewed, the download button redirects to the site i want to view while i figure out the FTL previewer. Is there a way i can get the file by variable without adding any variables? Like simply " type="file" name="filetoupload" "?