How to isolate multiple Attachment components on a single UI Builder page (without duplicating files

Rohitp484
Tera Contributor

Hi everyone,

I am currently working on a custom page in UI Builder (built on the Next Experience Framework) for a Playbook Experience.

On this page, I have added four separate Attachment components (now-attachments) under four different headers:

  1. Charge Slip
  2. Service Report
  3. Terminal & Accessories
  4. Other

All of these sections need to relate to the same parent record (e.g., a Work Order Task or an Incident).

The Issue:

Currently, when I pass the parent record's sys_id to all four attachment components, they all execute the same query on the sys_attachment table. Because they share the same record context, every component displays the exact same files. If I upload an image under "Charge Slip", it immediately displays in the other three sections as well.

I need each of the four sections to act as an independent upload/view zone without duplicating files.

0 REPLIES 0