Mapping attachment data from the record producer to the User field in a form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2022 12:14 AM
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
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2022 12:20 AM
Hi
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