Results 1 to 3 of 3

Thread: Export or convert Target List

  1. #1
    racassel is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    20

    Default Export or convert Target List

    Hi, I want to move all my target list, to contacts or leads. Can this be done? I see an option to do it 1 at a time...... Otherwise, I can export the list, but it does not include the company name. Is there a way I can get the export function to export the company name? Which file would I edit..... Thanks so much.
    Rick

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Export or convert Target List

    What version of sugar? In 5.5 when targets are exported then account_name is exported.... but you need to export the target list ... not the target.

    So, add your targets to a target list and export the target list ... this will create a .csv with account_name.

  3. #3
    racassel is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    20

    Default Re: Export or convert Target List

    Where can I find the version info? I looked around and it is not apparant. I believe it is 5.0x.

    I was able to extract the data I needed using the script below found in the forum:

    ================================================== ===========================

    /// this one gets all prospects in a prospect list but doesn't extract email addresses
    SELECT *
    FROM prospects as p
    INNER JOIN prospect_lists_prospects as plp
    ON plp.related_id = p.id
    LEFT JOIN email_addresses as ea
    ON p.id = ea.id
    WHERE
    plp.prospect_list_id = "3bbc3834-9d28-dc77-440b-4851544f7454"


    /// this one gets all targets from all prospect lists and their emaill addresses
    SELECT prospects. * , email_addresses.email_address
    FROM prospects
    LEFT JOIN email_addr_bean_rel ON prospects.id = email_addr_bean_rel.bean_id
    AND email_addr_bean_rel.bean_module = 'Prospects'
    AND email_addr_bean_rel.primary_address =1
    LEFT JOIN email_addresses ON email_addresses.id = email_addr_bean_rel.email_address_id
    LIMIT 0 , 30

    /// get all the prospects with email addresses for a certain prospect list only
    SELECT prospects. * , email_addresses.email_address
    FROM prospects
    INNER JOIN prospect_lists_prospects as plp
    ON plp.related_id = prospects.id
    LEFT JOIN email_addr_bean_rel ON prospects.id = email_addr_bean_rel.bean_id
    AND email_addr_bean_rel.bean_module = 'Prospects'
    AND email_addr_bean_rel.primary_address =1
    LEFT JOIN email_addresses ON email_addresses.id = email_addr_bean_rel.email_address_id
    WHERE
    plp.prospect_list_id = "3bbc3834-9d28-dc77-440b-4851544f7454"

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2010-03-14, 11:50 PM
  2. Export contacts from a Target List
    By alexvf in forum Help
    Replies: 2
    Last Post: 2009-08-27, 11:29 AM
  3. Export Target List?
    By jaimesteele in forum Help
    Replies: 6
    Last Post: 2009-03-16, 01:27 PM
  4. I need help with script to export Target List
    By darrencliff in forum Help
    Replies: 0
    Last Post: 2008-12-15, 04:45 PM
  5. Export target-list as CSV
    By hheckner in forum General Discussion
    Replies: 0
    Last Post: 2006-12-04, 10:19 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
  •