Domo Custom App and Node.JS module

StefanoG
StefanoG βšͺ️

Hi to all,

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

Answers

  • jaeW_at_Onyx
    jaeW_at_Onyx Budapest / Portland, OR 🟀

    @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.

  • StefanoG
    StefanoG βšͺ️
    edited July 26

    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 Budapest / Portland, OR 🟀
    edited July 27

    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.

  • StefanoG
    StefanoG βšͺ️

    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?

  • jaeW_at_Onyx
    jaeW_at_Onyx Budapest / Portland, OR 🟀

    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.