Attachment Macro on UI page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2015 08:35 AM
Dear community,
I am working on an UI page that will ultimately create or update records. One part of the requirements for this is the ability to:
1) Upload attachments when creating a record
2) View current attachments and upload new attachments when updating a record
I have looked within the UI macro section but have not found anything that would do this for me. Also I am wondering how an attachment upload would even work when the record is not even created yet.
Does anyone have an idea of how this can be achieved in a straightforward manner??
Best,
Chris
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016 05:59 AM
We have a similar requirement to pull attachments from the case record and send them to the UI page. The UI page is serving as an approval interface for the public that need access to these attachments. We don't want to use a record producer because we don't want to add them as users to the application. Any insights on how to send attachments to a UI page?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2025 10:15 AM - edited 07-07-2025 10:16 AM
Dear @straightforward,
var attachmentGuid = gs.generateGUID();
g_form.setValue('u_temp_attachment_guid', attachmentGuid);
// Gemerate GUID (acting placeholder) for the attachments during record creation.
//Then move those attachments to the record once insert is over (record sys_id is generated.
If that leads you to the solution, kindly mark this as helpful and Correct answer.
Regards,
Anish Reghu