To show the link to Task->Uploads for tasks with custom fields use the following task processing script:
if (task.hasAttachments()) return gran.app.Config.getInstance().getSiteURL() +"/jsp/task/viewtask/uploads/Uploads.jsp?TSSESSION="+task.getSecure().getId() +"&ID="+task.getId() +"\nDownload"; else return "";
Associated custom field properties:
Property |
Value |
Type |
URL |