:How to creating an attachment file or file upload button in html and save it in backend?

Manu32
Giga Contributor

Dear Devlopers, 

I need to create an attachment or file upload option in service portal where i have written in HTML as below


<div class="row">
<label>Select a file: <input type="file" name="myFile"><br><br>

</div>

find_real_file.png

 

find_real_file.png

Now when i wll select any file, it is showing there as above one but i need to attache this file in backend table?

could anyone suggest how to achieve this?

As i am new to portal, learning simple simple things. so any code will be helpful to me?

 

Regards,

Manmath

 

3 REPLIES 3

Sushant Kadam1
Kilo Guru

abhi56
Tera Contributor

Have you any answer to this post?

soumyagupta
Tera Contributor

any update? I am working on same thing!