Hallo!
Wie kann man benutzerdefinierte Import/Export Profile via CLI importieren?
(zB. „Default-Produkt“-Profil duplizieren, Felder hinzufügen und dann unter „Mein Profil“ abspeichern)
Wenn ich es so versuche:
php bin/console import:entity -p "/der/pfad/zur/datei.csv" "Mein Profil"
schlägt er mir nur die Default Profile vor und findet mein eigenes Profil nicht.
Please choose a profile:
[0 ] Default newsletter recipient
[1 ] Default properties
[2 ] Default advanced prices
[3 ] Default category
[4 ] Default customer
[5 ] Default product
[6 ] Default promotion discounts
[7 ] Default cross-selling
[8 ] Default variant configuration settings
[9 ] Default media
[10] Default promotion codes
Syntax laut Doku:
php bin/console import:entity --help
Usage:
import:entity [options] [--] <file> <expireDate> [<profile>]
Arguments:
file Path to import file
expireDate PHP DateTime compatible string
profile Wrap profile names with whitespaces into quotation mark s, like 'Default Category'
Options:
-r, --rollbackOnError Rollback database transaction on error
-p, --printErrors Print errors occured during import
-d, --dryRun Do a dry run of import without persisting data
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi|--no-ansi Force (or disable --no-ansi) ANSI output
-n, --no-interaction Do not ask any interactive question
-e, --env=ENV The Environment name. [default: "dev"]
--no-debug Switch off debug mode.
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output , 2 for more verbose output and 3 for debug
Ich finde nichts zu Custom-Profilen.
Gruß,
Schmidt