CSV importer help text #255

This commit is contained in:
vnmedeiros 2019-06-11 16:14:53 -03:00
parent 6cb5bf0255
commit 514b8d4c91
1 changed files with 14 additions and 1 deletions

View File

@ -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.