Through BPF stage change iss it possible to filter the records in the Subgrid?
*This post is locked for comments
Hello,
You can use some thing like this to trigger a function each time the stage changes
and Inside the RefreachGrid function you can fill you SubGrid with data and refreach it after that.
function formonload()
{
Xrm.Page.data.process.addOnStageChange(RefreachGrid); // Trigger the function when move to next stage.
}
function RefreachGrid()
{
var subGrid = getElement(subGridName);
// Associate or Disassociate Requests or FetchXML
subGrid.control.refresh();
}
If this answered your question, please make sure to Mark this as an Answer.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156