I have been working in Module Builder to create some Custom Modules. In several cases I have One to Many relationships and am using Sub-Panels. In order to make the SubPanel records clickable I have been following the online instructions here which say to manually edit the PHP file to add the following line of code:
'widget_class' => 'SubPanelDetailViewLink'
This works, but is not very convenient because it gets stripped off each time you load the project into Module Builder via Module Loader and then Re-Export.
Has anyone come across a more sophisticated answer that would avoid the problem of having to merge these changes back in each time you Export from Module Builder? I was thinking that there might be a way to do it via a logic hook using the process_record event.
What is weird (in my opinion) is that if you use the OOB Name Field, that Field is link able to the Detail View from a regular ListView, but for some reason it appears to be behaving differently in a Sub Panel.
I am using SuiteCRM 7.2.4