Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

How to set a (Filter)View on a List as fixed?

Posted on by 397 User Group Leader

Hello, is it possible to set a costum view on a List as fixed - so when the page is opened, BC use the custom view as the preferred view rather than the default view?

Thank you!

Tom

pastedimage1682074416589v1.png

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 73,378 Super User 2024 Season 2 on at
    RE: How to set a (Filter)View on a List as fixed?

    Hi, as far as I know, standard can't do it as of now. Unlike other D365 products, there is no function to set it as Default.

    pastedimage1682295881067v1.png

    If it is customized, it can be done. The following is a related simple example, hoping to give you some hints.

    https://yzhums.com/8427/

    Thanks.

    ZHU

  • Suggested answer
    Govinda Kumar Profile Picture
    Govinda Kumar 2,203 Super User 2024 Season 1 on at
    RE: How to set a (Filter)View on a List as fixed?

    Hi,

    If the page is custom, you can use the SetRange or SetFilter method on the OpenPage trigger to set the custom filter.

    pastedimage1682231354962v1.png

    For system tables, you'll need to make an extension of that page and use the same method mentioned above. This should solve your problem.

    Regards.

  • Suggested answer
    Deekshitha Reddy Profile Picture
    Deekshitha Reddy 219 on at
    RE: How to set a (Filter)View on a List as fixed?

    You can try using the property "SourceTableView".

    SourceTableView = where(boolean01 = filter(true), "Select Type" = filter(Withdraw));

    Number of Filters can be applied to list .

    learn.microsoft.com/.../devenv-sourcetableview-pages-property

    Hope this helps.

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: How to set a (Filter)View on a List as fixed?

    Do you  mean to when we set filter so it should opened that view always? Its not possible it will always open the default view, but yes you can use page extension by doing some modifications while opening that page.

    Otherwise you can save your view as

    pastedimage1682078746066v1.png

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,064 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans