Export:
ImpEx Export is the concept which is used export data from Hybris Management Console to CSV file.
For this process we follow with script generator.
For exporting data from the platform to CSV-files via the Hybris Management Console(HMC) we need an export script which you can generate using the
Export Wizard.
Process:
Open HMC providing user name: admin and password: nimda
Expand System-->Tools-->Export.
The Export wizard will opens in separate window.
In Export wizard we had 2 tabs Script and Advanced Settings.
Script Tab:
The above screenshot shows the
Script tab of the wizard with an already selected export script media. At this tab we have to select or upload an export script media which can be either generated by the Script Generator or created manually.
At this step I am giving giving the Script which is generated manually.
At the
Script text box you can see the loaded script and can edit it, or you just start typing a script from scratch.After pasting the script click on
Save button. It generates a new ImpEx Content
After you have optionally validated the script using the
Validation button you can click
Continue to go to the advanced settings tab or you just click the
Start button.
Paste the below script at Script box and click on
VALIDATE button.
Validate button used to known weather the script is valid or not.
Script to be pasted:
Note: Change Content catalog names according to your catalog name
# Macros / Replacement Parameter definitions
$contentCatalog=MouriContentCatalog
$contentCatalogName=Mouri Content Catalog
$catalogVersion=catalogversion(catalog(id[default=$contentCatalog]),version[default='Staged'])[unique=true,default=$contentCatalog:Staged]
$contentCV=catalogVersion(CatalogVersion.catalog(Catalog.id[default=$contentCatalog]),CatalogVersion.version[default=Staged])[default=$contentCatalog:Staged]
# Language
$lang=en
# Site Logo Component
INSERT_UPDATE SimpleBannerComponent;$contentCV[unique=true];uid[unique=true]
"#% impex.exportItems( ""SimpleBannerComponent"" , false );"
Paste the above script and click on validation button.
The validation shown the script is validated successfully
Steps to processed:
1.Click on
SAVE button to save the script.
2.The new
IMPEX CONTENT will generates.
3.Click on
NEXT button to move to other tab
Advanced settings tab:
Here we can configure the resulting medias containing the exported data and media as well as specifying a pre-converter.
Steps to followed:
- Check Target: Data Export
- check the Radio button CSV file.
- Click on Start button
We can see the processing screen as shown below.
At the result tab we can see that the CSV File upload process is done successfully. And the result file also shown.
Click on down load file. There we can see the output.
We can see all the Simple banner components exist in the system.
Thank you for reading...Hope it is useful..:)