Creating UI Pages and Widgets in Guidewire

 Guidewire provides a robust development environment for building insurance applications. Its UI layer, built using Gosu, PCF (Page Configuration Files), and widgets, enables developers to create responsive, efficient, and intuitive interfaces. Whether you’re customizing ClaimCenter, PolicyCenter, or BillingCenter, understanding how to create UI pages and widgets is key to delivering a user-friendly experience.


Understanding PCF (Page Configuration Files)

PCF files are XML-based and define the structure and components of UI pages in Guidewire applications. Each PCF file corresponds to a specific screen or panel in the user interface.

Located in: resources/config/web/pcf

Editable using: Guidewire Studio or any XML editor

Tied to entities and data models via UI metadata


Creating a New UI Page

To create a new page:

  • Open Guidewire Studio and navigate to the PageConfiguration tab.
  • Right-click the PCF folder (e.g., web/pcf/claim) and select New > PCF File.
  • Name your page (e.g., MyCustomPage.pcf) and specify the page type (Screen, PanelSet, Popup).
  • Use the visual designer or XML view to add layout containers, input fields, and widgets.


Adding Widgets to UI Pages

Widgets are reusable UI components like input fields, buttons, checkboxes, lists, etc.


Common Widgets:

<TextInput> – for text entry

<SelectInput> – dropdown selection

<Button> – for actions like Save or Submit

<ListView> – to display tabular data

<Checkbox> – for boolean input


Example:

<TextInput id="MyTextInput" label="Enter Name:" value="MyEntity.Name"/>

<Button id="SaveButton" label="Save" action="MySaveAction"/>

Each widget is tied to a data field from an entity or a variable and can be configured with properties like:

  • value
  • label
  • action
  • disabled
  • visible


Using PanelSets and Tabs

PanelSets help in structuring complex pages with multiple sections. You can use TabBar and DetailViewPanel for organizing data in a user-friendly layout.

<PanelRef panel="MyTabPanel" />

<TabBar>

  <Tab label="Details" panel="DetailsPanel" />

  <Tab label="Documents" panel="DocsPanel" />

</TabBar>


Best Practices

  • Use existing templates as references to maintain consistency.
  • Follow naming conventions for widgets and IDs.
  • Use permissions and visibility expressions to control access.
  • Test UI pages in different modes (view, edit, create) and roles.


Conclusion

Creating UI pages and widgets in Guidewire requires a good grasp of PCF structures, widget configuration, and data binding. With the right approach, you can build powerful, user-friendly interfaces that streamline insurance processes and improve user productivity across Guidewire applications.

Learn Guidewire Training in Hyderabad

Read More:

Creating Entities and Typelists in Guidewire

Guidewire Studio IDE: Tools and Usage

Building a Quote-to-Issue Flow in PolicyCenter

Guidewire Plugin Development: A Step-by-Step Guide

Visit our IHub Talent Training Institute

Get Direction

 

Comments

Popular posts from this blog

Tosca Installation and Environment Setup

Tosca Reporting: Standard and Custom Reports

Creating Entities and Typelists in Guidewire