Quantcast
Viewing all articles
Browse latest Browse all 2504

CPM: Trying to fetch the new Organization Name (2 Comments)

Topic by M K

Content

I have developed a CPM code for contact update where I am trying to fetch the label of the new associated org into a contact custom field. However, the custom field is still getting populated with the old org label.

Here is the code snippet in Apply method

$org = $obj->Organization;
if($org!=null) 
        { 
   $obj->CustomFields->testing=$org->ID;
  }
 

I am able to successfully get the updated First name/Last name of Contact in the custom field. However it is the org label that I need.

Please advice.

 

Version

August 2013

Viewing all articles
Browse latest Browse all 2504

Trending Articles