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:
Is the non-db _name field mandatory for a Flex Relate field to display properly in List View?
Could you share an example of the correct “dynamic_module / id” mapping inside listviewdefs.php?
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
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:
opened 04:43AM - 04 Nov 25 UTC
Type: Bug
### Issue
I've added a flex relate field to my event module.
In edit & detail v… iew it's working as expected.
However, in the list view, I can't see any data. (in the standard Calls flex related it's working though)
<img width="1509" height="280" alt="Image" src="https://github.com/user-attachments/assets/2331069f-4e64-4553-84f7-5f782245175d" />
<img width="1630" height="822" alt="Image" src="https://github.com/user-attachments/assets/7ec6491d-ac89-4688-be6c-0762e2060eab" />
### Possible Fix
_No response_
### Steps to Reproduce the Issue
```bash
1. Add a flex relate to edit, detail & list view
2. Pick a related record
3. Look at the list view
```
### Context
Initially spotted on the forums:
https://community.suitecrm.com/t/flex-relate-field-appears-blank-in-list-view/100410
### Version
8.9
### What browser are you currently using?
Firefox
### Browser Version
_No response_
### Environment Information
MariaDB, PHP 8.3
### Operating System and Version
Ubuntu 24
1 Like