Results 1 to 3 of 3

Thread: Import targets without Last name

  1. #1
    ysh's Avatar
    ysh
    ysh is offline Sugar Community Member
    Join Date
    Apr 2009
    Location
    Nice, France
    Posts
    91

    Default Import targets without Last name

    Hi

    Can anyone point me in the right direction concerning the
    possibility of disabling the requirement for 'last name' when
    importing Targets (via CVS) ?

    I've tried to apply the approach suggested for importing Leads
    without 'last name' which works in the case of creating Targets
    without this required field, but not when importing them.

    Thanks

    ysh

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Import targets without Last name

    Did you try creating an extended vardefs for Leads where you update the required to false?
    Go to Admin -> Repair -> Rebuild Extensions

    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.

  3. #3
    ysh's Avatar
    ysh
    ysh is offline Sugar Community Member
    Join Date
    Apr 2009
    Location
    Nice, France
    Posts
    91

    Default Re: Import targets without Last name

    Hi

    Thanks for the reply.

    I did indeed create a vardefs.ext.php for Prospects in order to
    state that the field was no longer required when importing
    targets within the Campaign module :

    sugarcrm/custom/Extension/modules/Prospects/Ext/Vardefs/vardefs.ext.php
    PHP Code:
    <?php
    $dictionary
    ['Prospect']['fields']['last_name']['required'] = false;
    ?>
    Is this modification still valid with version 5.2.0c ?

    Were you suggesting that I create one for leads as well ?
    Well, I tried anyway and the symptom is the same : I can manually create a lead, devoid of 'Last Name',
    but when I attempt to import leads from a CVS file, the 'Last Name' field remains required :
    Error => "Missing Required Fields: last_name'

    Thanks

    ysh
    Last edited by ysh; 2009-05-07 at 06:39 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to import 50'000 mailing targets ?
    By ybollati in forum Marketing/Campaign Management
    Replies: 10
    Last Post: 2010-06-01, 06:26 AM
  2. Import Targets Auto Email
    By ECRInternational in forum Help
    Replies: 1
    Last Post: 2009-02-11, 03:22 PM
  3. Import Targets Timing Out
    By jrhodes78 in forum Help
    Replies: 6
    Last Post: 2008-03-08, 08:03 PM
  4. Import targets does not work
    By korazy in forum Help
    Replies: 2
    Last Post: 2007-04-20, 12:17 PM
  5. Targets Import/Delete
    By revolve in forum Feature Requests
    Replies: 0
    Last Post: 2007-03-01, 12:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •