cancel
Showing results for 
Search instead for 
Did you mean: 

Hybris wizard filtering

0 Kudos

I have the following wizard:

<context type="Finance" component="create-wizard"
principal="backofficeadministratorrole,loyaltyoperatorbackofficerole">
<wz:flow xmlns:wz="http://www.hybris.com/cockpitng/config/wizard-config" id="CustomFinanceWizard"
title="create.title(ctx.TYPE_CODE)">
<wz:prepare id="newFinancePrepare">
<wz:initialize property="newFinance" type="ctx.TYPE_CODE"/>
</wz:prepare>
<wz:step id="step.essential" label="create.euroshell.message.essential.label">
<wz:content id="step.essential.content">
<wz:property-list root="newFinance">
<wz:property qualifier="product"/>
<wz:property qualifier="baseStore"/>
</wz:property-list>
</wz:content>
<wz:navigation id="step.essential.navigation">
<wz:cancel/>
<wz:done>
<wz:save property="newFinance"/>
</wz:done>
</wz:navigation>
</wz:step>
</wz:flow>
</context>

where the property "product" is of type ProductModel and "baseStore" is BadeStoreModel from Hybris classes.What I am trying to achieve is : I want when the user chooses a value for "baseStore" and then goes to choose field "product",then I want the only visible products he can choose to be the ones that belong to "baseStore".How can I achieve that?

jerryjanda
Community Manager
Community Manager
0 Kudos

Hi, Roman:

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers, as it provides tips for preparing questions that draw responses from our members. Feel free to take our Q&A tutorial at https://developers.sap.com/tutorials/community-qa.html as well, as that will help you when submitting questions to the community.

After that, should you wish, you can revise your question by selecting Actions, then Edit.

I also recommend that you include a profile picture. By personalizing your profile, you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html.

Kind regards,

--Jerry

Moderation Lead

Accepted Solutions (0)

Answers (0)