on 2018 May 18 4:34 PM
Hi,
I am trying to add a new field to backoffice create wizard for category, but I am not seeing the changes take place. Here's a list of steps I took:
ant extgen with new ybackoffice extension
modified the localextensions to include new backoffice ext (this shows in update system, so i know its loaded properly)
modified the new extension backoffice-config.xml as followed, copied from pcmbackoffice (seoID being the custom field needed in the wizard)
enter code here
<context type="Category" component="create-wizard">
<wz:flow id="CategoryWizard" title="create.title(ctx.TYPE_CODE)" xmlns:wz="http://www.hybris.com/cockpitng/config/wizard-config">
<wz:prepare id="categoryPrepare">
<wz:initialize property="newCategory" type="ctx.TYPE_CODE"/>
<wz:assign property="newCategory.catalogVersion" value="ctx?.actionContext?.catalogVersion"/>
<wz:assign property="newCategory.supercategories" value="ctx?.actionContext?.supercategories"/>
</wz:prepare>
<wz:step id="step1" label="name.your(Category)">
<wz:content id="step1.content">
<wz:property id="code" qualifier="newCategory.code" readonly="false"/>
<wz:property id="name" qualifier="newCategory.name" readonly="false"/>
<wz:property id="catalogVersion" qualifier="newCategory.catalogVersion" readonly="false"/>
<wz:property id="supercategories" qualifier="newCategory.supercategories" readonly="false"/>
<wz:property id="seoID" qualifier="newCategory.seoID" readonly="false"/>
</wz:content>
<wz:navigation id="step1.navigation">
<wz:cancel/>
<wz:done>
<wz:save property="newCategory"/>
</wz:done>
</wz:navigation>
</wz:step>
</wz:flow>
</context>
Restarted server after ant clean all, even updated system with new ext checked.
For some reason it doesn't show. I've also tried merge by type and merge by module, neither seem to make a difference. Any missing steps or help would be appreciated.
Request clarification before answering.
Hi,
please check the following:
be sure to invoke reset everything (from the orchestrator) after the changes are done
be sure that the changes are in the config.xml (in orchestrator you should be able to filter configurations)
be sure that the widget uses the component mentioned (create-wizard) - it is visible in the widgets.xml settings
If none of that helps I suggest getting in touch with our support since this is for (almost) sure a problem with your configuration.
Cheers, Wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.