0

Does anyone here know about CRM? Accessing lookup field data (composite address field) using JavaScript? Lookup field is on Contact form. Trying to access address of Account entity

  • Welcome Giles! It's not entirely clear what you're trying to do - for instance, CiviCRM doesn't have an "Account" entity, and I'm not sure what the "composite address" fields refers to, and there are many "Contact" forms. Could you please edit your question (including screenshots if you're not sure the name of a form) and hopefully someone will be able to answer! – Jon G - Megaphone Tech Apr 30 at 12:23
0

I'm not sure I understood exactly what you try to access, but pretty much every entity in civicrm is accessible via an API, and you can easily use it from javascript.

https://docs.civicrm.org/dev/en/latest/api/interfaces/

you can use the api explorer and experiment, once you have succeeded fetching the data, you can copy paste the generated javascript code and add it in your own extension, or wherever you want to put your custom code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.