Announcement

Collapse
No announcement yet.

Uploading Node.js Libraries (Axios and xml2js) to EspoCRM

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Uploading Node.js Libraries (Axios and xml2js) to EspoCRM

    Hello EspoCRM Community,

    I’m currently working on integrating some functionalities into EspoCRM using Node.js libraries, specifically Axios and xml2js. Could someone guide me on where to upload these libraries within the EspoCRM structure? Any detailed steps or documentation references would be highly appreciated.

    Thank you!
    ​Darja

  • #2
    Hi,

    Unfortunately, there's no documentation on this question. As extensions are installed without running build in CLI (they can be installed via UI), it's up to developer how to add a library to the extension.

    If a library is available as an UMD module, you need just place the file somewhere and register it in metadata https://docs.espocrm.com/development...a/app-js-libs/. Then you will be able to require/imprt it using AMD or ES6.
    Last edited by yuri; 05-24-2024, 11:03 AM.

    Comment

    Working...
    X