Upload Multiple Files using a single Multiupload file field. Send Multiupload files as attachments with Email using Workflows.
#4483 - AOR report link to file fails
Hello We have used the plugin on SuiteCRM and created a report in AOR and linked to the multi upload field but the link fails to invalid file reference
Can this be reviewed?
2 years ago
Hi Can you please share how your report looks like and what action are you trying to accomplish
2 years ago
Hi
It is a simple report with the date and field inside AOR gives a link, but any time click on it white page with invalid reference
2 years ago
Do you have more than 1 file attached for the Certificate Field?
2 years ago
No this field will only have 1 file
2 years ago
Hello , are there any updates on this issue?
a year ago
We have received the instance details, would respond to that once the issue is fixed. Thank you
a year ago
Hi Have you made any progress?
a year ago
Fix has been made by end user. AOR_Reports that uses aow_utils for generating field value html from field templates sets the record_id as a paramer when executing the smarty template.
within the template the variable is reset to a variable that doesn't exist from the context of a report but would normally if the template was executed from the original module view (grabs it from the $fields variable)
wrapping the variable declaration for record_id with a check to see if it exists within custom/include/SugarFields/Fields/Multiupload/DetailView.tpl fixes the problem
{assign var="record_id" value=$fields.id.value} to {if !isset($record_id)} {assign var="record_id" value=$fields.id.value} {/if}