# Uploading photos, Temp storage then into database

**URL:** <https://forum.inductiveautomation.com/t/uploading-photos-temp-storage-then-into-database/59820>\
**Category:** Ignition\
**Created:** [May 20, 2022, 6:18am UTC](https://forum.inductiveautomation.com/t/uploading-photos-temp-storage-then-into-database/59820 "2022-05-20T06:18:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewbrown](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@andrewbrown](https://forum.inductiveautomation.com/u/andrewbrown)\
**Post date:** [May 20, 2022, 6:18am UTC](https://forum.inductiveautomation.com/t/uploading-photos-temp-storage-then-into-database/59820/1 "2022-05-20T06:18:00Z")

</div>

Hi All,

I was wondering if there was any way of using the Fileupload component, storing the data (.toBytes) in a parameter to pass through to the root view to do a group upload into an MSSQL server.

Reason being is the attachment needs to be inserted into the table along side other values the operator will enter during the checklist?

Any help would be great!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 20, 2022, 11:56am UTC](https://forum.inductiveautomation.com/t/uploading-photos-temp-storage-then-into-database/59820/2 "2022-05-20T11:56:32Z")

</div>

Send a message to that view with the bytes in the message payload. The view’s message handler will have access to the components.
