Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

File Upload Control on CRM 2011 Form

$
0
0

Hi

I added a file upload control inside an Iframe on form. I called a web-resource to do this.

HTML webresource has following source :

<html><head><meta><meta><meta><meta></head><body><table style="width:100%; background-color:white"><colgroup><col width="79%"><col width="1%"><col width="20%"></colgroup><tbody><tr><td><input type="file" onchange="setFormDirty();" id="userFileId" name="userFile" ></td></tr></tbody></table></body></html>

Now, when I select a file and click save button on form, I want to create a webresource. I will be uploading only Image files, so please let me know how I can do it.

Primarily, I am stuck at, how to read the file path, file and other file specifications which I can use in either jscript or a plugin to upload it as a webresource.


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>