
I have a custom entity in the form of which I have an embedded websource (html\javascript). I am using the input "file" to browse a local file.
Now I want to be able to read the content of the chosen file as byte array and store it - which later will be used by an external system ( written in C# code). FYI- the file could be of any kind -txt,pic, pdf .....
Could some one kindly tell me the simplest java script code to achieve at least the reading part.
I think I will be able to take care of the storing part (I am planning store the bytes as "space" separated string in multiline text field)
PLEASE DO NOT TELL ME TO USE NOTES AND ATTACHMENTS - as it's not going to serve my need.
*This post is locked for comments
I have the same question (0)hi..
Check this
www.html5rocks.com/.../dndfiles
developer.mozilla.org/.../Using_files_from_web_applications
This is showing how to read uploaded file bytes.. then you can easily store this information into CRM.
Hope this will help..