Task#338 chore: Ability to select the Cluster before importing UCM Data #339
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem:
Adding Cluster name for each in a row in the CSV will be a difficult task. User may make spell mistakes while adding Cluster name.
Expectation:
As a Site User, I should be able to see the Cluster Dropdown & import that data against the selected Cluster.
Steps for Implementation
Add configuration at UCM type level as 'Import By Cluster' with 'Yes' & 'No' values
The default value should be No.
Based on cluster extension install/exist this will appear in UCM type creation form (backend)
Using this configuration bring a cluster selector on the import window
To display logged-in user cluster list in that dropdown
Add check before uploading csv by using import feature as cluster selected or not if required(Means if a configuration is enabled)
Need to Remove the cluster field column from exported CSV (sample file)
Need to modify the file upload save logic