Programmatically upload a file into Appian from an external site ?

Hi,

Is there a way to programmatically upload a file into Appian to a specific application document folder?

All capabilities available within Appian deals with documents within Appian.

Is there a way systematically push files into Appian's document/content management system from an external web-site?

The use case is, a user from another system is pushing pdf/image/doc files to our Appian application.

How to achieve this task in Appian? Is this possible?

 

Thanks.

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Thank you very much for your response.
    Kindly note that my scenario is the following:
    Different users will post their cases to that external site with different number of files e.g. 2 files, 3 files , 5 files and upto 20 files and the external site administrator dont want to store those files to their site. External site admin just want to POST those files as a stream to our Appian site..
    Now advice me how to cater this scenario Please

    Regards,
  • Hi Asif,

    I hope you have implemented this already. However I think the best way to implement this is as follows:

    1. A Web API is created in Appian which will be exposed to external sites.
    2. Since Web API doesn't accept document as such, the document has to be passed either as a URL(Appian process can perform HTTP Document Download with this URL) or as Base64 String.
    3. If the external site can provide Appian the URLs that would be the ideal way to handle as there is less load on the API call.
    4. If external System can provide you the Base64, you could write a utility plugin that converts base64 to Appian Document. However Please be aware that the process which holds base64 string in a variable is heavy when the document size is large and hence plan for optimized data management policies for such instances.

    Please let us know if you had taken any other approach in your solution.

    Regards,
    Arjun.