All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
This component is used to render file upload UI based on the configuration passed for each module.
- It has a title, information banner with a relevant message, document name, and corresponding file input to upload doc. All these details can be configured via MDMS.
This component fetches below MDMS configuration by filtering modules to render the relevant UI.
If a new module is being added then the corresponding config should be updated in MDMS before using this component in the below format. (refer to Project module config below)
To show this in form, the config with type ‘documentUpload’ needs to be passed to FormComposer. (refer to below config)
Once these two configurations are added, the upload component will become visible within the form. Upon clicking the submit button, it will capture the data in the format specified below, which can then be modified in accordance with the API contract for each module.