Ajax view for rendering html and pdf, temporary media storage, and import to SmartFile API