Flex Relate field appears blank in List View

SuiteCRM version: [e.g. 8.8.0]
Module:Quotes

I created a Flex Relate field in Studio:

  • Field name: quotes_detail_c
  • type_name / id_name are configured (quotes_detail_c_type / quotes_detail_c_id)

In the Record View, the field works perfectly — I can click the link and it correctly opens the related record based on the Parent Type and ID.

However, in the List View, the same column appears blank.
Here’s what I’ve already checked:

  • I added the field to listviewdefs.php (type => ‘parent’, etc.)
  • There is no non-db “_name” field automatically created — do I need to add one manually?
  • I ran Quick Repair & Rebuild and cleared cache.

My questions:

  1. Is the non-db _name field mandatory for a Flex Relate field to display properly in List View?
  2. Could you share an example of the correct “dynamic_module / id” mapping inside listviewdefs.php?
  3. Is there any way to solve this without writing custom code (for example, using only Studio + Workflow)?

Thank you in advance for your help!
Best regards,
Emre
image

Hello Emre,

That seems to be a bug - it has been working in earlier versions of SuiteCRM.
Additionally, it works in Calls.
(if you wanted to go down the debugging / fixing / pull request route, check out how it is implemented in Calls vs. quotes / your module).

I’ve taken the liberty to create an issue, since I was able to reproduce this locally as well:

1 Like