financialbackoffice Extension

The financialbackoffice extension provides Backoffice configuration for the Financial Services Accelerator module.

About the extension

Name Directory Related Module
financialbackoffice <HYBRIS_BIN_DIR>/modules/financial-services-accelerator Backoffice & Backoffice Product Content Management

Dependencies

The financialbackoffice extension is generated from the template ybackoffice extension and is dependent on the following extensions:
  • backoffice
  • customersupportbackoffice
  • financialservices

Implementation

The Financial Services node in Backoffice enables the quick access to the following item types of Financial Services Accelerator:
  • Insurance Policies

  • Quotes and Applications

  • Claims

  • Commission Contracts

  • Investment Funds

  • Change Requests

  • Agents

  • FSAgents

  • Value Lists

  • User Request Node

  • Notifications Node

These item types have been enriched with the following custom configuration settings:

Custom Display of Attributes

For each node, you can specify which attributes you want to be shown in the List View of the Collection Wizard. Note that you can only choose attributes that have single values. Attributes with multiple values can only be displayed in the Editor Area.

The information about the items in each node is shown in three views. You can switch between different views by clicking the corresponding buttons.

In the default implementation, when an admin clicks on a specific node, the List View is displayed as a default view.

The following code example enables the display of data shown in the preceding screenshot:
<context type="FSCommissionContract" component="listview">
		<list:list-view>
			<list:column qualifier="contractNumber"/>
			<list:column qualifier="agent"/>
			<list:column qualifier="category"/>
		</list:list-view>
	</context>

Advanced and Simple Search

You can configure the simple and advanced search by adding the default search operators, as can be seen in the following code example:

<context type="FSCommissionContract" component="advanced-search">
		<as:advanced-search>
			<as:field-list>
				<as:field name="contractNumber" selected="true" operator="startsWith"/>
				<as:field name="agent" selected="true" operator="equals"/>
				<as:field name="category" selected="true" operator="equals"/>
			</as:field-list>
		</as:advanced-search>
	</context>
Advanced search for Commission Contract

Labels and Previews

For better usability, PKs have been replaced with meaningful labels. To improve the usability even more, you can also add thumbnail icons, as can be seen in this example for the list of agents.

<context type="Agent" component="base" merge-by="type" parent="Customer">
		<y:base>
			<y:labels>
				<y:label>(name?:'')+' ['+uid+']'</y:label>
				<y:iconPath>thumbnail?.downloadURL</y:iconPath>
			</y:labels>
			<y:preview urlQualifier="thumbnail"/>
		</y:base>
	</context>
A list of agents in the Tree View
A list of agents in the Grid View

Custom Wizards

Two custom wizards for the creation of a new policy and a claim are included. With the help of these wizards, you can specify which attributes you want to be filled in by admins when a new item is created. In this code example for the creation of insurance policy through Backoffice, the attributes are grouped into two steps.
<context type="InsurancePolicy" component="create-wizard">
		<wz:flow id="InsurancePolicyWizard" title="create.title(ctx.TYPE_CODE)">
			<wz:prepare id="createInsurancePolicy">
				<wz:initialize property="newInsurancePolicy" type="ctx.TYPE_CODE"/>
			</wz:prepare>
			<wz:step id="step1" label="flow.allmanadatory">
				<wz:content id="step1.content">
					<wz:property-list root="newInsurancePolicy">
						<wz:property qualifier="policyId"/>
						<wz:property qualifier="user" type="User"/>
						<wz:property qualifier="category" type="Category"/>
						<wz:property qualifier="policyStartDate"/>
						<wz:property qualifier="policyExpiryDate"/>
					</wz:property-list>
				</wz:content>
				<wz:navigation id="step1.navigation">
					<wz:cancel/>
					<wz:next
							visible="!#empty(newInsurancePolicy.policyId) and newInsurancePolicy.category != null and newInsurancePolicy.user != null and newInsurancePolicy.policyStartDate != null and newInsurancePolicy.policyExpiryDate != null"/>
					<wz:done
							visible="!#empty(newInsurancePolicy.policyId) and newInsurancePolicy.category != null and newInsurancePolicy.user != null and newInsurancePolicy.policyStartDate != null and newInsurancePolicy.policyExpiryDate != null">
						<wz:save property="newInsurancePolicy"/>
					</wz:done>
				</wz:navigation>
			</wz:step>
			<wz:step id="step2" label="validation.additional.attributes">
				<wz:content id="step2.content">
					<wz:property-list root="newInsurancePolicy">
						<wz:property qualifier="paymentMethod" type="PaymentInfo"/>
						<wz:property qualifier="paymentFrequency" type="FSPaymentFrequency"/>
						<wz:property qualifier="currency" type="Currency"/>
					</wz:property-list>
				</wz:content>
				<wz:navigation id="step2.navigation">
					<wz:cancel/>
					<wz:back/>
					<wz:done>
						<wz:save property="newInsurancePolicy"/>
					</wz:done>
				</wz:navigation>
			</wz:step>
		</wz:flow>
	</context>

The following screenshot illustrates how this implementation is rendered on UI.

Create a new policy wizard

Configuration

The configuration settings for financialbackoffice are stored in the financialbackoffice-backoffice-config.xml file. You can modify this file, for example, by:
  • adding nodes in the Explorer Tree

  • customizing advanced or simple search options

  • adding columns or attributes to be displayed in the Collection Browser

  • adding custom labels and previews for attributes

  • adding custom wizards for the creation of new items

  • adding custom widgets or changing the layout of the existing one

  • creating and configuring new actions

  • creating and configuring new editors

The first four customization possibilities are illustrated in Configuring Backoffice. For more information on other options, see Backoffice Framework Module Implementation.

Use Cases

The following table illustrates how to work with some of the financial-specific items in Backoffice.
Working with Backoffice in Financial Services Accelerator
Backoffice Node Documentation
Agents Adding a New Agent
Commission Contracts Creating a Commission Contract
Claims Creating or Updating Claim Handler's Data

Screenshot