Joget DX Available for Download
Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.
This Amazon S3 File Upload field is a sample plugin to showcase on how you can develop a plugin to integrate with third party service like Amazon S3 storage.
This Amazon S3 File Upload field is a combination of Form Field Element Plugin, Form Store Binder Plugin and Web Service Plugin implementations which contains 2 classes "AwsS3FileUpload" and "AwsS3FileBinder".
This class extends FileUpload class in the Joget Workflow product so that we can reuse the template, properties and some of the methods in FileUpload class. It also implements Web Service Plugin to provide link to download the files. This element set its store binder to "AwsS3FileBinder" to handle the file storing to Amazon S3.
This class implements Form Store Binder Plugin to upload file to the AWS S3 in form storing event.
Source Code: amazon_s3_upload_field_src.zip
Amazon S3 Configuration File: awsS3.properties (put this properties file in your wflow folder)
For Java 11:
Source Code: amazon_s3_upload_field_src_java11.zip
In form builder, when the AWS S3 configuration file is missing.
In form builder, when there are error connecting to AWS S3 server.