Domo Custom App and Node.JS module

Hi to all,

there is a way to add a Node.JS module (e.g. crypto) to my Domo Custom App?

Answers

  • @StefanoG your custom app cannot require a backend server / backend functions. It must all 'run in Domo'.


    You could try sending requests to serverless functions hosted in Azure or similar.

    Jae Wilson
    Check out my 🎥 Domo Training YouTube Channel 👨‍💻

    **Say "Thanks" by clicking the ❤️ in the post that helped you.
    **Please mark the post that solves your problem by clicking on "Accept as Solution"
  • StefanoG
    StefanoG Member
    edited July 2021

    i simply wish make an hashlib of a string a don't want send it not hashed on the net....

    e.g.:

    let k = 'abcdEFGhilMNO'
    let token = crypto.createHash('sha512').update(k, 'utf-8').digest('hex');
    


  • jaeW_at_Onyx
    jaeW_at_Onyx Coach
    edited July 2021

    can you use libraries that just run in the front end?

    Domo does have "Domo Actions" which theoretically was developed to use the Domo Accounts objects in apps to support saving and storing credentials.

    Jae Wilson
    Check out my 🎥 Domo Training YouTube Channel 👨‍💻

    **Say "Thanks" by clicking the ❤️ in the post that helped you.
    **Please mark the post that solves your problem by clicking on "Accept as Solution"
  • I don't know "Domo Actions" where can I find documentation about it?

    I have this issue not only with hashlib but also with other libs as moment

    g.e: How can I use moment inside my DCA?

  • just google it! https://developer.domo.com/docs/domo-actions/start


    your CSM should be able to get you additional information via support but it, addmitedly, is not the easiest to find resource. if it were me, i would try to find another solution than domo-actions.

    Jae Wilson
    Check out my 🎥 Domo Training YouTube Channel 👨‍💻

    **Say "Thanks" by clicking the ❤️ in the post that helped you.
    **Please mark the post that solves your problem by clicking on "Accept as Solution"