hi,
when i import a csv files in contact, lastname is required and if it is empty,i have error in import.
In admin/studio/contact/field this is not possible change.
Help me.
Thanks
hi,
when i import a csv files in contact, lastname is required and if it is empty,i have error in import.
In admin/studio/contact/field this is not possible change.
Help me.
Thanks
I have resolved..
i have custom imprt/views/viw.step4.php
thanks.
Last name is a required field on system, so to accomplish this feature you need to:
- Create an extended vardefs for Contacts: custom/Extension/modules/Contacts/Ext/Vardefs/vardefs.ext.php;
- Add into this file the following lines:
Then go to Admin -> Repair -> Quick Repair and Rebuild.PHP Code:<?php
$dictionary['Contact']['fields']['last_name']['required'] = false;
$dictionary['Contact']['fields']['last_name']['importable'] = true;
?>
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks