Attachment - [Update] [Delete] action

SuryaS
Tera Contributor

Hi Guys, 
Do anyone have idea on, where do the highlighted UI action configured.
Screenshot_29.png

5 REPLIES 5

Kieran Anson
Kilo Patron

Hi,

They're not UI actions but baked into the way to the variable type displays. Do you have a question about their functionality 

Thank you for your response, Kieran Anson. Actually, I just need to know where they are being configured.

What do you mean by configured? What are you trying to achieve?

We are observing the following behavior when using a File Attachment field (u_icon) in ServiceNow:

  1. A File Attachment field is configured on the kb_knowledge table.
  2. A v2.01 record references a sys_attachment record.
  3. However, the sys_attachment record is actually associated with v2.0 (base_version), rather than the current v2.01 record.

As a result:

  • The attachment can be downloaded successfully.
  • However, the [Update] and [Delete] links are not displayed.

We would like to confirm the following points:

  1. What is the exact condition used to determine whether the [Update] and [Delete] links are displayed for File Attachment fields?
  2. Is it required that sys_attachment.table_sys_id == current record sys_id for these actions to appear?
  3. Is this logic implemented in a UI Macro, Client Script, or the platform internal renderer?
  4. Is there any official documentation describing this behavior?

We would greatly appreciate any clarification you can provide, as it will help us accurately explain this behavior to our customer and complete our RCA analysis. Thank you for any response.