Authors: Marc Worrell (marc@worrell.nl).
can_handle/3 | Check if we can import this file. |
event/2 | Uploading a CSV file through the web interface. |
inspect_file/1 | Inspect the first line of a CSV file, extract the column headers. |
manage_schema/2 | |
observe_admin_menu/3 | Add menu item to 'Content' admin menu. |
observe_dropbox_file/2 | Handle a dropbox file when it is a tsv/csv file we know. |
can_handle(OriginalFilename, DataFile, Context) -> any()
Check if we can import this file
event(Submit, Context) -> any()
Uploading a CSV file through the web interface.
inspect_file(Filename::file:filename_all()) -> {ok, #filedef{}} | {error, term()}
Inspect the first line of a CSV file, extract the column headers
manage_schema(What, Context) -> any()
observe_admin_menu(Admin_menu::#admin_menu{}, Acc::list(), Context::z:context()) -> list()
Add menu item to 'Content' admin menu
observe_dropbox_file(Dropbox_file, Context) -> any()
Handle a dropbox file when it is a tsv/csv file we know.
Generated by EDoc