Workspace: Attachment Related list issue

kashifansari07
Tera Expert

We have been facing issue with our Attachments Related List on a Case on Agent Workspace which correctly shows all attachments on the table, however when i click on the attachment it opens up the record details in a new tab while i dont see the attachment can be opened or saved locally on the system

find_real_file.png

When i click on the File name, i see the below screen, can someone suggest how can i open the file in a new tab or save locally the file on the system, On Native UI it seems to work fine?

find_real_file.png

5 REPLIES 5

Mohith Devatte
Tera Sage
Tera Sage

HELLO @kashifansari07 ,

YOU NEED TO CLICK ON THREE DOTS BUTTON FOR DOWNLOADING IT WHICH I HIGHLIGHTED BELOW IN BLACK BOX 

find_real_file.png

hope this helps 

please mark my answer correct if this helps you

@kashifansari07 did this solve your issue ?

if yes please close the thread by marking the answer correct so that it helps future readers

soumyagupta
Tera Contributor

This would solve your issue. An onload client script on sys_attachment table.

 

function onLoad() {
	
	openUrl("sys_attachment.do?sys_id=" + g_form.getUniqueValue());
	g_form.addInfoMessage('Attachment downloaded');
}

function openUrl(url) {

	this.open(url);
}

 

Thanks,

Soumya.

Hi this is working so thank you. However, is there a way to prevent it from going/showing the attachment record?

I would like for it to download the attachment but stay on the list of attachments instead of it navigating to the attachment record, which would confuse users.