Hello everyone,
Since version 12 was updated, the following warning is shown in the log.
"Usage of "link_file" in vardefs has been deprecated. This code will stop working from the next release."
I would like to know if there is a possible solution or any comment on how I could modify the code so that the log message stops appearing.
The code that would have to change would be this:
$dictionary['Lead']['fields']['archived_emails']['link_file'] = 'custom/modules/Emails/CustomArchivedEmailsLink.php';
$dictionary['Lead']['fields']['archived_emails']['link_class'] = 'CustomArchivedEmailsLink';
Located at : custom\Extension\modules\Leads\Ext\Vardefs\emailsLink.php
A recommendation on this would help us a lot since I was reviewing it to change it and I still haven't found a solution.
Within the php CustomArchivedEmailsLink a native CRM function is modified (ArchivedEmailsLink.php is the file).
Best regards.