cancel
Showing results for 
Search instead for 
Did you mean: 

How to display a new field on the client creation form in the backoffice?

0 Kudos
883

Hello!

We finalized the type of client and added a field for a loyalty card, how now to display this field in the customer creation form?

I suppose that this can be done in the orchestrator, but I don’t understand how, there is still an assumption that it is through an xml file. I also don’t understand how to find the object I need in the orchestrator that is responsible for this form of creating a new client. Please help me understand exactly how to do this, thanks!

Here is our field; it needs to be displayed on the form for creating a new client:

We need to put our field here:

View Entire Topic
0 Kudos

When you click on "+" icon a new wizard will be created and opened. Please have a look into platform*backoffice-config.xml file for the code snippet for a new wizard and then add your custom attribute .
ex:

<context component="create-wizard" type="YOURMODEL">
<wz:flow id="ModelWizard" title="create.title(ctx.TYPE_CODE)">
<wz:prepare id="custPrepare">
<wz:initialize property="newModelData" type="ctx.TYPE_CODE" />
</wz:prepare>
<wz:step id="step1" label="create.Model.essential.label"
sublabel="create.Model.essential.sublabel">
<wz:content id="step1.content">
<wz:property-list root="newModelData">
<wz:property qualifier="name"/>
</wz:content>
<wz:navigation id="step1.navigation">
<wz:cancel />
<wz:done>
<wz:save property="newModelData" />
</wz:done>
</wz:navigation>
</wz:step>