added support for explicitly coding inputtemplate in url on file upload