Hi There!
We're trying to sync ES with our CRM DB user's profile, we did this before with one text field and it has been running perfectly fine for almost a year now using:
Since ES Address has multiple data in it like Address1, Address2... etc. How do I read from and write back to ES custom fields?
Thanks,
Jackson
We're trying to sync ES with our CRM DB user's profile, we did this before with one text field and it has been running perfectly fine for almost a year now using:
read:
$myUser->getFieldValue( $this->params->get( 'crm_id' ) );
write:
$myUser->setFieldValue( $this->params->get( 'crm_id' ), $crm_id );
Since ES Address has multiple data in it like Address1, Address2... etc. How do I read from and write back to ES custom fields?
Thanks,
Jackson