From 514b8d4c916ef11c2cf3cbddb1c916656c41e87e Mon Sep 17 00:00:00 2001 From: vnmedeiros Date: Tue, 11 Jun 2019 16:14:53 -0300 Subject: [PATCH] CSV importer help text #255 --- docs/csv-importer.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/csv-importer.md b/docs/csv-importer.md index 4d3721868..ebf7354cc 100644 --- a/docs/csv-importer.md +++ b/docs/csv-importer.md @@ -26,7 +26,7 @@ The special columns that can be used are: * **special_comment_status** - Inform the item allows comment. Possible values are open or closed. -## Importing files and attachments +### Importing files and attachments If you also have files you want to import, that are related to the items in your CSV, you can use some special columns in your csv to do so. @@ -56,6 +56,19 @@ Many images,http://example.com/image.jpg||http://example.com/image2.jpg||http:// Images uploaded via FTP,myfolder/image.jpg||myfolder/image2.jpg ``` +### importing using items status + +You can specifies two status config of item when importing using the special columns: `special_item_status`, which will set the item status, a possible values are draft, private or publish, and `special_comment_status` which will set the if the item will accept a comments the possible values are open or closed. + +Example: + +``` +name, special_item_status, special_comment_status +item uno, draft, closed +item due, private, closed +item tre, publish, open +``` + ## Creating metadata on the fly When the user maps the columns found in the CSV file to the metadata present in the collection, he/she has can choose the "Create metadatum" option, so the importer will automatically create the metadata as it process the file.