Widgets Overview
This guide provides an overview of all available widgets (templates) and explains at a high level workings of widgets
Widget Template
It is a term used to define a type of widget view. The following templates are currently available:
-
Data Table
-
Pie Chart
Widget
Widgets are supported on select few pages. The pages where widgets can be added are
-
Policies
-
PO0083 Group Client - Search and details object page
-
PO0084 Group Account - Search and details object page
-
PO0001 Policy Page - Search and details object page
-
PO0012 Enrollment Product - Search and details object page
-
-
Claims
-
CL0172 Claims Page - Search page and details object page
-
-
Oracle Health Insurance Value-Based Payments
-
CP0011 - Contract - Search and details object page
-
-
All components
-
RM0016 - Organization providers - Search and detail object page
-
RM0015 - Individual providers - Search and detail object page
-
RM0012 - Person page - Search and detail object page
-
-
Each widget which is based on a template, when a user adds it to a page, the JSON associated with it is used to render the it.
-
Few widgets are delivered as part of the application installation and can be customised.
-
For widget customization users can make a copy and change it or add a new widget
Data Table
This template is commonly used for configuring Query API based widget. Few examples of widgets created by using this template:
-
Fetch business objects last worked by the logged in user
-
See the spread of membership based on enrollment type
-
Get the list of group accounts in Change status
-
Get the list of pended policies
For details refer Data Table
Pie Chart
This floor plan template can be used to create a query api based widget and show the data in form of a pie chart.
Few examples of widgets created by using this template:
-
Show member distribution based on enrollment type
-
Show membership per product
For details refer Pie Chart
Configuring Widgets
Widget configuration page within the UI or by Using the API on the widgets resource Using either of the options, a user can:
-
Create a new widgets
-
Edit existing user defined widgets
-
Enable/Disable widgets
For creating or updating a widget the following properties needs to be defined
-
Code
-
Description
-
Template (either Data Table or Pie Chart)
-
Tile Size : 1:1, 1:2, 1:3, 2:1, 2:2, 2:3, 3:1, 3:2
-
Payload: The payload containing the JSON structure that describes how the widgets would be rendered
-
Role based Condition: The widget is considered as enabled if the role condition when specified evaluates to true.
-
Resource : The resource on which the widgets is based on.
-
Context Resource : The widget can only be added to a page which is in context of the given resource.
-
Ind System? : Indicates this is seeded data, maintained by Oracle Health Insurance
-
Ind Enabled? : Indicates if the widget is enabled or not.