You can add a custom screen within the Order
Entry wizard. For example, you can create a custom Personalization
Options screen and add it in the Order Entry wizard
before Payment Confirmation screen.
Before you begin
Understand how to create custom screens and modify a wizard
flow.
Procedure
- Download and extract the files provided in the extensions.zip file to the <INSTALL_DIR>/extensions/ folder.
- Create the
incrementalwizards.xml
file
as shown in the following sample code: <wizards>
<wizard id="isccs.order.wizards.createOrder.CreateOrderWizard" flowController="com.sterlingcommerce.ui.web.platform.wizard.SCUIDefaultWizardController" independentPages="false">
<wizardEntities>
<wizardEntity id="ChangePersonalizationOptions" screenId="extn.order.personalizationOptions.ChangePersonalizationOptions" impl="/platform/jsps/dojo/xapiajaxsuccesshandler.jsp" last="false" type="PAGE"/>
</wizardEntities>
<wizardTransitions>
<wizardTransition id="Transition10" source="BeforePaymentConfirmationRule">
<output target="ChangePersonalizationOptions" value="PaymentConfirmation"/>
<output target="CustomerIdentificationBeforePayment" value="CustomerIdentification"/>
</wizardTransition>
<wizardTransition id="Transition11Extn" source="ChangePersonalizationOptions" target="PaymentConfirmation"/>
</wizardTransitions>
</wizard>
</wizards>
The elements of incrementalwizards.xml
file
are as follows:
<wizard>
- Create a wizard element for each
wizard that is customized.
<wizardEntities>
- Add more wizard entities
applicable for the customized wizard. Valid values are rule, page,
and so on.
<wizardTransitions>
- Define or modify transitions
for the wizard.
- Copy the
incrementalwizards.xml
file to
the <INSTALL_DIR>/extensions/isccs/webpages/wizardxmls folder.
What to do next
- Restart your server, and open the screen to view the changes.