How to upload and store attachments from Service Portal widget to custom table

Sneha KH
Tera Guru

Hi Community,

I am building an application and have a Service Portal requirement and need guidance.

I have created a custom table and a Service Portal widget with a form that includes a file upload option. When the user submits the widget form from the portal, I want to:

  • Create record in table

  • Upload and store the attached file against that same record (visible in the attachment section of the custom table record)

Currently, the widget submits but the record and/or attachment is not getting saved in the custom table.