how to save uploaded by user file in database


Home Forums Bot Building & Training how to save uploaded by user file in database

Viewing 2 reply threads
  • Author
    Posts
    • #4754
      [email protected]
      Participant

      I am creating a journey in which i need to save the uploaded file in database. please help me in how this can be achieved.

    • #5017
      Rangarajan
      Participant

      Hi Bhagyashree,

      There are a couple of ways to achieve this.

      * All uploaded files are by default stored in azure cloud and you’ll get the uploaded file’s url.

      * If you want to save the file in a different database/store, you can use the file’s url to fetch it and upload it to your database using validator functions on that step.
      Code snippet for this
      app.getFile(url)

      Let me know if anymore help is needed.

    • #5024
      [email protected]
      Participant

      Have you tried this. if possible can you share me more info on azure clous and how it can be acessed?

Viewing 2 reply threads
  • You must be logged in to reply to this topic.