Document Upload Container
Overview
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.
MDMS Configurations
This component fetches below MDMS configuration by filtering modules to render the relevant UI.
How to use the component?
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 below config)
Once these 2 configs are added this upload component will be displayed in form. It will capture the data in below format on click of submit button which can be manipulated as per API contract for each module
Last updated