...
Step 4:- Creation of documents logic is implemented in RequiredDocuments->reqDocs file for further in the information please refer to this file.
Required Documents popup implementation from Menu tree.
Usually the Required Documents popup will come before creating an application ie. from search screen new application button.
if the popup is required from the menu tree then , we need to add the following piece of code and use dialog container from the common framework.
reRouteURL is used to navigate to search screen on click of back button.
Code Block |
---|
adhocDialog: {
uiFramework: 'custom-containers',
componentPath: 'DialogContainer',
props: {
open: getQueryArg(window.location.href, "action")==='showRequiredDocuments'?true:false,
maxWidth: false,
screenKey: 'search',
reRouteURL:'/tradelicence/search'
},
children: {
popup: {}
}
}
} |