Updating attachments in the list type field

vivek110
Tera Contributor

Hi all,
We have a requirement to update attachments that are added in the form. For this we have updated the dictionary of that particular field by refering it to attachments table and added script " javascript: 'table_name=' + current.getTableName() + '^table_sys_id=' + current.sys_id; " in the advanced reference qualifier with this we are able to see the attachments only if we update any other field but the attachments should be visible immediately after the attachment is added to the form.
Can anyone help me so that the attachments are updated in the field immediately after we add attachments to the form.
Thank you,
Viveksai

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@vivek110 

after user adds the attachment and then searches in that reference field does it not show immediately?

share your screenshot and why to have a reference field to sys_attachment table?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

Here the requirement is to select the attached files in the list field which we have added in the form.

Regards,

Viveksai