Results 1 to 4 of 4

Thread: Adding custom Indexes for Duplicate Importing

  1. #1
    tomtommorrow is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    10

    Default Adding custom Indexes for Duplicate Importing

    I created a custom index in mysql labled "idx_lead_adr_all". The columns I indexed in the "leads" table are "primary_address_city", "delete", and "primary_address_postalcode". I want to check duplicates at import, based on address.

    After adding the index "idx_..." , that index does not display on the "verify duplicate entries..." window on the import mapping page. I am no expert in php, but it appears in the php library "tbl_indexes.lib.php" that this file should be referencing the entire "idx_collection". Any ideas? Thanks.

    tom

    Sugar bitrock 4.5.0c

  2. #2
    tomtommorrow is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    10

    Default Re: Adding custom Indexes for Duplicate Importing

    Answered my own question. This link is very helpful.

    http://www.sugarcrm.com/wiki/index.p...#Indices_Array

  3. #3
    cbakop is offline Junior Member
    Join Date
    Jan 2008
    Posts
    1

    Default Re: Adding custom Indexes for Duplicate Importing

    How this can be applied when you want to use custom fields to check duplicates on import? for example and concerning the Leads module, can you create a vardefs.php file in custom/modules/Leads and define fields and indexes for the Leads_cstm table (apart from creating the corresponding indexes in the db table Leads_cstm, of course)?

  4. #4
    saradhinc is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    13

    Default Re: Adding custom Indexes for Duplicate Importing

    I also require the solution for the above query asked by "cbakop".

    Pleaseee..any solutions, clues or pointers would be of great help.

    Thanks in advance.

Thread Information

Users Browsing this Thread

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

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
  •