View widget
A view widget embeds a view of a casetype inside the current view. You can use a view widget to display details of another case that has been identified via a grid or tile widget. You can also embed a view of the same case. This allows you to reuse a view in multiple places within your application, making it easier to maintain and update.
To configure a view widget, first select the view you want to embed and then specify how you want to identify the case for the view:
- To display the view of a case that is related to the current case, select the attribute on the current case that contains the case ID of the related case from the Pointing attribute list. For example, in a view for an
Expense claim
case, you might want to embed a view of the relatedEmployee
case. - To display the view of a case selected in a grid widget, select the widget from the Master widget list. Ensure that in the grid row options, the Click action is set to None. When a user selects a case in the grid, the view is embedded within the same page. To customize the message that is displayed when no case is selected in the grid widget, select a template from the No selection template list.
Tip:
You can also configure a grid widget to display the view of the selected case in a popup or navigate to the view of the selected case. For more information, see Display additional case details in the Grid widget reference.