Skip to main content

Notifications

Announcements

No record found.

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

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

(0) ShareShare
ReportReport
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 74,115 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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans