mirror of
https://github.com/inventree/InvenTree.git
synced 2026-12-03 12:51:34 +00:00
Support importing tags via the data importer (#13418)
- Include writable optional serializer fields (such as "tags") when importing data, so that they are available for column mapping - Stop excluding tag fields from the importable fields - Convert imported tag values from a comma-separated list - Report tag fields with the "tags" type in OPTIONS responses, so the importer table and row edit form can display them - Document tag import
This commit is contained in:
1 parent
819231c342
commit
449e1117d1
8 files changed
+112
-9
No files matched your search
@@ -35,6 +35,10 @@ Some models allow for mapping based on other "natural key" fields (e.g. the `ref
|
||||
!!! warning "Unique Identifiers"
|
||||
If a unique identifier cannot be determined for any related field, the user must manually map the relevant field to the correct existing record in the database, during the import process.
|
||||
|
||||
### Tags
|
||||
|
||||
For models which support tags, the *Tags* field can be imported as a comma-separated list of tag names (e.g. `tag1, tag2, tag3`). Any tags which do not already exist are created automatically.
|
||||
|
||||
## Import Session
|
||||
|
||||
Importing data is a multi-step process, which is managed via an *import session*. An import session is created when the user initiates a data import, and is used to track the progress of the data import process.
|
||||
|
||||
Reference in new issue
Block a user