How do I Make other field in Listview as a link to Detailview. I am looking to make a custom field shown in the contact listview as a link to the detailview of that record in contacts.
How do I Make other field in Listview as a link to Detailview. I am looking to make a custom field shown in the contact listview as a link to the detailview of that record in contacts.
Jean-Paul,
At this time, I believe the only way to do this is via code-level customizations. In your example, you will want to navigate to the SugarCRM file system and go to the following directory:
./custom/modules/Contacts/clients/base/views/list
Make a backup copy of the list.php file, then edit the list.php file to add the following line to the array of your custom field:
'link' => true,
For example, in my instance, I changed:
1 => array ( 'name' => 'testlink_c', 'label' => 'LBL_TESTLINK', 'enabled' => true, 'default' => true, ),
to
1 => array ( 'name' => 'testlink_c', 'link' => true, 'label' => 'LBL_TESTLINK', 'enabled' => true, 'default' => true, ),
I then went to Admin > Repairs > Ran a Quick Repair & Rebuild. Please note that my custom field was a text field.
If you do not have access to the file system, then you will need to build a module loadable customization and then upload the module package via Admin > Module Loader. Here are some package examples for reference.
Hope this helps,
Lori
Thank you this worked nicely.
Jean-Paul Lupori
Vice President of Information Technology
Captive Resources, LLC
201 East Commerce Drive
Schaumburg, IL 60173
Direct Phone: 847-944-9885
Office Number: 847-781-1400
Visit our new website www.captiveresources.com
Glad to hear!!! Have a great day!
Lori
Thank you this worked perfect.
Jean-Paul Lupori
Vice President of Information Technology
Captive Resources, LLC
201 East Commerce Drive
Schaumburg, IL 60173
Direct Phone: 847-944-9885
Office Number: 847-781-1400
Visit our new website www.captiveresources.com
Hello Lori Arce
I am trying to make text area field clickable. I managed to achieve this for text field and it works like a charm.
But setting the link property to 'true' for a text area isn't working for me. Is there anyway we could achieve this?
Thanks,
Abhay