Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Custom Filter doesn't apply to Grid after Returning from View Hierarchy

(0) ShareShare
ReportReport
Posted on by 5

Dear Community,

We have a Grid with custom filter ( to list contacts of all child and grandchild accounts) applied in Contacts tab of the Account form. The custom filter is triggered on both Form onload event and Contact "Tab State Change" event.  And It works perfectly.

But, When the user clicks on View Hierarchy and clicks back button in the browser,  the applied custom filter resets and the grid lists all the contacts.

Have anyone encountered the same issue? Could you please advise how we could apply the custom filter in grid after returning from View Hierarchy Page.

Kind regards

Vignesh

  • Vignesh S Profile Picture
    Vignesh S 5 on at
    RE: Custom Filter doesn't apply to Grid after Returning from View Hierarchy

    Will check this out. Thank you!

  • Vignesh S Profile Picture
    Vignesh S 5 on at
    RE: Custom Filter doesn't apply to Grid after Returning from View Hierarchy

    Hi Lu  Hao,

    Its the same behavior across all browsers.

  • Neil Catubig Profile Picture
    Neil Catubig on at
    RE: Custom Filter doesn't apply to Grid after Returning from View Hierarchy

    Hi Vignesh,

    Thanks for continuing to reach out to the Dynamics 365 Community!

    Please do let us know if this has been resolved or if you still need additional assistance on it?

    Thanks,

    Neil

  • Linn Zaw Win Profile Picture
    Linn Zaw Win 3,407 on at
    RE: Custom Filter doesn't apply to Grid after Returning from View Hierarchy

    It seems like the Form onLoad event is not triggered after returning from View Hierarchy Page but the grid refreshes and reverts back to the normal filter.

    Can you try to add the custom filter code to the GridControl.addOnLoad event?

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/grids/gridcontrol/addonload

  • LuHao Profile Picture
    LuHao 40,874 on at
    RE: Custom Filter doesn't apply to Grid after Returning from View Hierarchy

    Hi Vignesh?

    Have you tried different browsers?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans