Bulk User Create

Overview

The Bulk Upload Users feature allows the System Administrator / Microplan Admin to create multiple users across different microplan roles by uploading a structured Excel template.

Steps

Step 1: Access Bulk Upload Users

  1. Log in as MICROPLAN_ADMIN.

  2. Navigate to User Management.

  3. Click on Bulk Upload Users.

This opens the bulk user upload interface.

Step 2: Download the User Template

Before uploading users, download the official Excel template.

  • Click Download Template.

  • The template is created by using the api call to /project-factory/v1/data/_generate

  • Save the .xlsx file locally.

Only the system-generated template should be used for upload.

Step 3: Fill the Template Correctly

Open the downloaded Excel file and complete the required details.

Required User Information

For each role sheet:

  • Name

  • Contact Number

  • Email ID

  • Role-specific details (if applicable)

Important Role Validation Rules

While filling the template, ensure:

  • A user is not assigned to both:

    • Microplan Estimation Approver and National Microplan Estimation Approver

  • A user is not assigned to both:

    • Facility Boundary Assigner and National Facility Boundary Assigner

  • A user is not assigned to both:

    • Population Data Approver and National Population Data Approver

Violating these rules will cause validation errors.

Save the file after completing all entries.

Step 4: Upload the Completed File

  1. Click Browse.

  2. Select the completed Excel file.

  3. Supported formats:

    • .xlsx

    • .xls

  4. Upload only the system template (modified with user data).

Once selected, the system automatically starts validation.

Step 5: File Validation Process

After upload:

  • The file is sent for validation.

  • The system checks:

    • File structure

    • Mandatory fields

    • Role conflicts

    • Data format consistency

The below hook is used to validate the template file.

Validation Outcomes

  • Completed → File passes validation.

  • Error → Validation errors are displayed in the error details section.

If errors are shown:

  1. Download the processed file (if provided).

  2. Review error messages.

  3. Correct the Excel file.

  4. Re-upload the corrected file.

Once the status from the validation is "Completed", the processedFileStoreis extracted from the response and sent to the following hook.

This hook returns fileUrl, which contains the URL attribute. For example, the URL might look like:

This is a pre-signed URL generated by Amazon S3 (Simple Storage Service), which provides temporary access to a specific file stored in an S3 bucket.

When the fileUrl is set, the file can be downloaded by clicking a button that uses the following hook:

Step 6: Submit the File

Once the validation status is completed:

  1. Click Submit.

  2. The system processes the file.

  3. Users are created and mapped to their respective microplan roles.

After successful submission:

  • The system navigates back to the User Management page.

  • Newly created users appear in the user list.

Step 7: Download Processed File (Optional)

After validation, the system generates a processed file:

  • A temporary download link is created.

  • You can download the validated file for review.

  • This link provides secure, time-limited access.

Step 8: Delete Uploaded File (If Needed)

If you need to cancel or restart:

  1. Click Delete.

  2. The uploaded file is removed.

  3. You can upload a corrected file again.

Last updated

Was this helpful?