by cyborgsolution

Upload Multiple Files using a single Multiupload file field. Send Multiupload files as attachments with Email using Workflows.

Free 30 day trial
Try it Now

#4483 - AOR report link to file fails

Closed Bug? created by t Verified Purchase 2 years ago

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?

  1. cyborgsolution member avatar

    cyborgsolution Provider

    2 years ago

    Hi Can you please share how your report looks like and what action are you trying to accomplish

    • t member avatar

      t Verified Purchase

      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

      Screenshot 2022-09-21 154657.png

    • cyborgsolution member avatar

      cyborgsolution Provider

      2 years ago

      Do you have more than 1 file attached for the Certificate Field?

    • t member avatar

      t Verified Purchase

      2 years ago

      No this field will only have 1 file

  2. t member avatar

    t Verified Purchase

    2 years ago

    Hello , are there any updates on this issue?

  3. cyborgsolution member avatar

    cyborgsolution Provider

    a year ago

    We have received the instance details, would respond to that once the issue is fixed. Thank you

    • t member avatar

      t Verified Purchase

      a year ago

      Hi Have you made any progress?

  4. t member avatar

    t Verified Purchase

    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}

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "The add-on works great !! The install was very smooth and If you need support the team is very professional!!!" - Luis Landa

    Read More Reviews