attachment not getting download in workspace
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2024 12:20 AM
Hi,
i have a button to download the attachment. the sys_attachment table i added workspace view. but it is not downloading rather showling like this. plz help.
var attSysID;
var gr = new GlideRecord("sys_attachment");
gr.addQuery('table_sys_id', current.sys_id);
gr.query();
while (gr.next()) {
attSysID = gr.getValue('sys_id');
}
var URL = "/sys_attachment.do?sys_id=" + attSysID;
action.setRedirectURL(URL);
current.u_report_flag = 1;
current.update();
2 REPLIES 2

Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2024 12:43 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2024 01:43 AM
I checked that.. the glideAjax part is not mentioned.