I want to use CRM.api3('Email', 'create', { ... call in my javascript. But the object CRM doesn't exist on my website. Which js file do I need to load to access that CRM object? I thought I'd load it with html tag <script src="...">

  • Which CMS and is this a "front-end" page or on a civi page? The civi resources don't always load on front-end pages and it seems to even be different for different CMS's.
    – Demerit
    Feb 24 at 15:48

Your Answer

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

Browse other questions tagged or ask your own question.