on ‎2020 Nov 17 2:17 PM
Hello everyone
I have a problem with my backoffice. I need two creation wizards for address. In one, user addresses are created.In the other one, business addresses. Is there any way to achieve this without creating subtypes or merging the two wizards?
Regards
Jakob
Request clarification before answering.
The Solution would need at least two different Fields. Then you can define different Wizards and the usage in the back mybackofficeextension-backoffice-config.xml
<attribute qualifier="addresses">
<editor-parameter>
<name>configurableFlowConfigCtx</name>
<value>create-wizard-addresses</value>
</editor-parameter>
</attribute>
<attribute qualifier="addresses">
<editor-parameter>businessaddresses<name>configurableFlowConfigCtx</name>
<value>create-wizard-businessaddresses</value>
</editor-parameter>
</attribute>As the name of a component is really just a name you can then create two different Creation Wizards for the type with the component "create-wizard-addresses" and "create-wizard-businessaddresses"
In Hybris default there are two variants used "create-wizard" and "create-wizard-no-save"
There are other Examples like in platformbackoffice-backoffice-config.xml
<context type="Product" component="create-wizard-workflow-wizard" merge-by="component" parent="create-wizard">To avoid redundant configurations, you can try to use one as the parent.(this is at least working with the standard create-wizard. see platformbackoffice-backoffice-config.xml:
<context type="VariantProduct" component="create-wizard-no-save" merge-by="component" parent="create-wizard">
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.