TOPIC: Getting Record ID in DetailView.tpl of Custom Field Type
Getting Record ID in DetailView.tpl of Custom Field Type
6 months 1 week ago #75457
Thank you received: 46
Sugar Fields folder include/SugarFields/Fields/* does not show any example where the DetailView.tpl of any field type can show the Current Record on which the field is shown. In the getDetailViewSmarty function for the field, i have tried to set Record ID like
$displayParams['record_id'] = $_REQUEST['record']
but when i access this in the DetailView.tpl of the field like
i only get record ID of the first record which is access after Repair/Rebuild. For the rest of the records, it stays the same.
Is there any way in SuiteCRM where i can get Record ID in the field DetailView.tpl?
Everything seems impossible, until its done.
Skype : cherubchum
The administrator has disabled public write access.