1 Reply Latest reply on Jan 31, 2018 11:44 PM by pushpendra.paliwal

    Upload a local attachment with a document using Javascript API

    romainpaillas

      Hello,

       

       

      We're creating a tile containing a form which create a jive document. For the moment, it's working well.

       

      We want to attach a file to this document, so after a look to osapi.jive.corev3.attachments, we seen Attachments are created by providing the URL of a publicly available file (e.g. a file on a server you manage or publicly available on the internet).

      We have tested our form with mentionning an public url of an image, and it work fine.

       

      But our final objective is to upload a local file. So we need to find a way to upload the attachment somewhere to get a public url of this attachment, to join it in the document creation...

       

      Any ideas or recommandation on which service use to do it ?