Linking field on subpanel from custom module

I created a custom module in suitecrm and am not using the name field but rather the address field as the module is for storing building (I work in real estate, I am associating the account to this module to track and maintain what buildings they own/manage).

I have successfully moved the link in list views to the address field in most cases, but the one area I am stumped on is in Accounts subpanel.

When I go to the account and create a new building association, after it is entered there is no link for the ‘address’ field to open the building record, but if course I can click ‘edit’ at the end of that line and get into the full edit page for the building, no problem.

I added the code

'link' => true, 

to the address field in:

custom/modules/CUSTOMMODULE/metadata/subpanels/Accounts_subpanel_accounts_CUSTOMMODULE_1.php

and did the repair and rebuild… but that did not do the trick.

Am I missing another place or step?

Thanks - much appreciated

I’m having a similar problem @tdipaolo. Have you been able to fix it yet? I’ve edited the correct files b/c I can easily change the label however the link doesn’t seem to do anything.

I know this is old, but for future reference this is what you need to add:

'widget_class' => 'SubPanelDetailViewLink'

see this knowledge base article for more info