Como para referenciar un registro por un campo personalizado y no por el nombre en la vista de lista?
En la carpeta metadata del modulo buscar el archivo listviewdefs.php y editarlo, luego hay que ubicar el campo por el cual deseamos referenciar el registro y debemos colocar la opción 'link' => true como se ve en el siguiente ejemplo:
<?php
$module_name = 'cpp_Redemption';
$listViewDefs [$module_name] =
array (
'CONTACT' =>
array (
'width' => '10%',
'label' => 'LBL_CONTACT',
'default' => true,
'link' => true,
),
'DATE_ENTERED' =>
array (
'width' => '10%',
'label' => 'LBL_DATE_ENTERED',
'default' => true,
),
'POINTS' =>
array (
'width' => '10%',
'label' => 'LBL_POINTS',
'default' => true,
),
'DESCRIPTION' =>
array (
'width' => '10%',
'label' => 'LBL_DESCRIPTION',
'sortable' => false,
'default' => true,
),
'STATE' =>
array (
'type' => 'enum',
'default' => true,
'studio' => 'visible',
'label' => 'LBL_STATE',
'width' => '10%',
),
);
?>
Ultima actualización el 2010-08-24 por Software en Línea.

