Attachment Button is not showing in Incident Form

SurapureddyD
Tera Contributor

Attachment Button is not showing in Incident Form, what are the best ways to check and enable that attachment button. Please give me step by step process

1 ACCEPTED SOLUTION

Anand Kumar P
Giga Patron
Giga Patron

Hi @SurapureddyD ,

 

Dictionary Attribute

 

Go to the Dictionary record for the attachment relationship on the Incident table (type = Collection).See if it has the no_attachment attribute if so, remove it. 

 

Client Scripts:

Look for any client script that uses g_form.disableAttachments() or removes the paper clip via DOM methods.  

If my response helped, please mark it as the accepted solution and give a thumbs up👍.
Thanks,
Anand

 

View solution in original post

5 REPLIES 5

Chaitanya ILCR
Kilo Patron

Hi @SurapureddyD ,

OOB there is a client script

(BP) Hide Attachment Link when Closed

ChaitanyaILCR_0-1751643852802.png

which hides the button on closed incidents

 

if that's not the one

check for other client scripts or UI policies which might be hiding the button 

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

 

Chai Maddula
Giga Guru

There is an option to Hide the clip icon. Check in your instance if some one has done that and reverse it


Below is the procedure to hide actually.

Add the attribute no_attachment and set it to true on the respective table's sys_dictionary record (of type 'collection').

To hide the activity stream icon from a particular table, create the system property glide.ui.stream_icon.<table_name> of true|false type and set the value to false.

NOTE: Replace <table_name> in the system property with the name of the table on which you need to hide the activity stream icon.

 

To hide the icons in the incident table:

  • Navigate to the sys_dictionary record of the incident table
  • Find the record with Type: Collection
  • Add the attribute "no_attachment"

To hide the activity stream icon, create a new system property:

  • Name: glide.ui.stream_icon.incident
  • Type: true|false
  • Value: false
  • Save the system property and reload the incident form. 

The incident form will now will not have icons.

 

 

Also Check if any UI Policy or Client Script hides or disables attachments
Check if any ACLs, The user has read/write/create permission to attachments on the incident table.

 

Please mark my answer as helpful/correct if it resolves your query

GlideFather
Tera Patron

@SurapureddyD And the incident is in what state.


———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Anand Kumar P
Giga Patron
Giga Patron

Hi @SurapureddyD ,

 

Dictionary Attribute

 

Go to the Dictionary record for the attachment relationship on the Incident table (type = Collection).See if it has the no_attachment attribute if so, remove it. 

 

Client Scripts:

Look for any client script that uses g_form.disableAttachments() or removes the paper clip via DOM methods.  

If my response helped, please mark it as the accepted solution and give a thumbs up👍.
Thanks,
Anand