G’day Folks,

Had a requirement for a few grids on a new dashboard to be pre-filtered based off the selected row the main grid. My solution was to create a WebResource HTML page which looked at it’s parent window and set the click events on the Grid i wanted and within that click event i’d set the new FetchXml criteria to filter the second grid.

Example:

Entities

Client Entity – N:1 Outlet

Create a HTML webresource with the following:

Note:

Replace “OutletsGrid” with Grid 1 Component Name

Replace “ClientGrid” with the Grid 2 Component Name

I have a base fetchxml  (which you need to fill in) if you want to show all data before you click on any row in Grid 1

Add the Webresource to the Dashboard and Publish

Grid

 

My Outlet Clients Grid (Grid 2) should now filter based on the Selected Outlet (Grid 1)