Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Background

The textbook creator should be able to update the existing Text book unit attributes in the TOC by uploading the excel (CSV) file.

...

Text book creator should download the CSV file from the 'Download TOC' option,

To provide the upload file with drag and drop feature, the library fineuploader used in the `org.ekstep.uploadcontent` plugin will be utilized, the suggested name of the plugin is `org.ekstep.uploadcsv-1.0` 

In the downloaded CSV file he , the user should update the attributes like Name, Description, topics, keywords, and then click on 'Update TOC' to upload the CSV. 

Validate if the CSV file is uploaded in front end.

the request of the api will be  request { data : [file] }

and notify the user if there are any errors from the error response and update the Text book unit attributes on success of api response

To provide the upload file with drag and drop feature, the library fineuploader used in the `org.ekstep.uploadcontent` plugin will be utilized, the suggested name of the plugin is `org.ekstep.uploadcsv-1.0` 

Pros:

Cons

Solution 2:

To provide the upload file with drag and drop feature, the library fineuploader used in the uploadcontent plugin will be utilized, the suggested name of the plugin is `org.ekstep.uploadcsv-1.0` 


Pros:

Front end parsing of the file is not required

Cons

Basic validations like empty record check is known after the api call.