Versions Compared

Key

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

Background

...

'Update Toc' button is updated in the 'sunbirdcommonheader' plugin, on click of the button, we are dispatching an event 'org.ekstep.uploadcsvuploadtoc:show' 

The plugin to upload the CSV file will listen to the event org.ekstep.uploadcsvuploadtoc:show

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.uploadcsvuploadtoc-1.0` 

The CSV file should have the updated attributes like Name, Description, topics, keywords, DIAL code

...

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

...

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

...