Results 1 to 2 of 2

Thread: set_relationships in 5.2.0c

  1. #1
    RevKev is offline Junior Member
    Join Date
    Apr 2009
    Posts
    2

    Default set_relationships in 5.2.0c

    I just upgraded from 5.2.0a to 5.2.0c (before I realized that PHP 5.2.9 isn't supported) and the soap call "set_relationships" no longer works.

    Here's the effected call:

    SoapClient->__call("set_relationships", array(0 => "mavg28soju7armqq1faqto72r0", 1 => array(0 => array(module1 => "ProspectLists", module1_id => "cbd01a83-ed84-0eb4-c454-49de4adda31a", module2 => "Campaigns", module2_id => "ea5969e4-732b-e872-2e2c-49de0ae041e3"), 1 => array(module1 => "Prospects", module1_id => "6601d66d-13ad-095e-3400-49de4e2c26c2", module2 => "Campaigns", module2_id => "ea5969e4-732b-e872-2e2c-49de0ae041e3"), 2 => array(module1 => "ProspectLists", module1_id => "cbd01a83-ed84-0eb4-c454-49de4adda31a", module2 => "Prospects", module2_id => "6601d66d-13ad-095e-3400-49de4e2c26c2"))))

    and the __getLastResponse():

    Fatal error: Call to a member function add() on a non-object in */soap/SoapSugarUsers.php on line 1200

    On a similar note, you can see above I'm linking a Prospect to a ProspectList. This works (prior to the update) but I can't link a Lead or Contact to a ProspectList.

  2. #2
    RevKev is offline Junior Member
    Join Date
    Apr 2009
    Posts
    2

    Default Re: set_relationships, target lists and campaigns

    Well, I've figured out this problem and it lead me to a wider problem (alluded to before)...

    I can't relate a prospect to a campaign, and I can't relate leads or contacts to a target list.

    Here's the scenario...

    I have 500 new names that I want to import. I want them related to a campaign. In this case, the campaign indicates where the names came from (the source campaign).

    I also want these names in a target list so it is easy to run further email campaigns to these names.

    This is impossible through the soap interface. If the names are imported as prospects (targets) they can be related to a target list but not to a campaign. If they are imported as leads or contacts, they can be related to a campaign but not a target list.

    Since a prospect doesn't appear to have any ties to a (source) campaign (i.e. a "lead source"), the most logical way to import these names would be as leads. However, to create a target list from these leads, I would have to manually add each one to a list. The UI for target lists allows targets, leads, and contacts to be added but soap does not.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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
  •