Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Mapping attachment data from the record producer to the User field in a form

Chethan R
Tera Contributor

Hello  All ,

I have a  requirement  for uploading User data records  from an Attachment attached  in record Producer  .  Can i map  attached Fields  from a attachment to  the  import-set /Transform Map , If yes  , please  help me  how can we do that  

 

Thanks  for  your  support  ..... 

 

 

Regards  

Chethan R

1 REPLY 1

Not applicable

Hi @Chethan R ,

You'll be able to do it using REST API to the custom file attachment fields.

- Create a file using Attachment API. This will create a record in Attachments (sys_attachment), or Attachment Documents (sys_attachment_doc).

- Upload an attachment 

- Set a custom table name

- Set a table sys_id to the record sys_id

- Under Request body, place the attachment data

Lastly, populate the attachment sys_id in the field of type attachment on the record. After updating the field with that sys_id, it should display on the target record.

Referred from this thread.

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep