import - Export impex template page in Hybris -
i copy mobile pages standard electronics b2c site mobile pages of hybris site. how can this? impex or directly in cmscockpit? thank you
if want play around , want test "quick-and-dirty"-way can use cms cockpit. (not recommended)
in our project use impex files cms stuff. main reasons approach are:
- your pages , components do not lost when re-initialize project ant initialize command (otherwise deleteted after initialize)
- you can version impex files in versioning system , revert changes if necessary
- single point of maintenace: have pages, components , contentslots in same location , not have use cms cockpit find since real pain.
- exporting pages impex files painful , work intense
- you can exchage impex file others partners, contractors etc.
take care location of impex files since hybris relies heavily on conventions regarding locations , naming. make sure file in correct directory.
hint 1: can use cms cockpit search , verify pages created via impex file.
hint 2: can execute impex statements directly in hybris administration console (hac). changes of immediate effect , not have initialize system after changing content of impex file. this save lot of time.
navigate hac -> console -> impex import , paste impex statemts textarea. not forget paste variable declarations.
if correct copy them impex file , save persist work.
Comments
Post a Comment