web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Open Views by defalut in List pages

(7) ShareShare
ReportReport
Posted on by 213
Hi Experts,
We are working on a use case where, when a user opens a list page, the "Views" pane should be visible by default.
With the current code, I am able to add and show the view, but the pane is not visible by default

This should be the goal,
.


but it only appears after clicking on the filter and then selecting the Custom Filter view
I used a couple of approaches like {setFilter} on open page . They are filtering the table, but the Views pane is not visible. When I click the filter button in the corner, then I see both panes with the filtered values.

Any Suggestions for how to open this Views pane in list page as soon opens this page 
I have the same question (0)
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,175 Super User 2026 Season 1 on at

    Currently, Business Central does not support opening the “Views” pane by default on list pages through AL code or page properties. The filter pane (Views section) only becomes visible after the user manually expands it.

     

    There’s no supported event or page trigger to force it open at page load. The only workaround is educating users to pin the filter pane manually (it remembers the state per user), or explore a JavaScript add-in or client-side customization, but that would be unsupported and not recommended.

     

    ✅ Mark this answer as verified if it helps you.

  • Suggested answer
    Ramesh Kumar Profile Picture
    7,555 Super User 2026 Season 1 on at
    Check if currPage.<Record>.SETRANGE(...) in OnOpenPage() or OnAfterGetRecord(). This applies the filter but does not open the filter pane UI.
     
    I don't know the use case but I would always suggest clients use personalization for these use cases.
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
  • Suggested answer
    RockwithNav Profile Picture
    9,113 Super User 2026 Season 1 on at
    Guess out of the box we don't have this feature as of now. 
    May be a JavaScript control add-in can do some magic but I never tried.
     
     
  • Verified answer
    YUN ZHU Profile Picture
    100,974 Super User 2026 Season 1 on at
    Hi, hope the following helps.
    Dynamics 365 Business Central: How to set the default view/layout for a list page (Predefined List View)
     
    Thanks.
    ZHU
  • Verified answer
    Jeffrey Bulanadi Profile Picture
    9,121 Super User 2026 Season 1 on at

    Hi RK,

    One that many BC developers bump into when trying to streamline user experience. You're spot-on: while you can define and apply views using AL, there’s currently no supported way to force the “Views” pane (filter pane) to open by default when a list page loads.

    Here’s what’s possible and what’s not:

    • What You Can Do
      • Define views using the views {} block in your page extension
      • Apply filters programmatically using SETRANGE, SETFILTER, or SetView in OnOpenPage() or OnAfterGetRecord()
      • Educate users to pin the filter pane manually — BC remembers this per user and page
    • What You Can’t Do (as of now)
      • Trigger the filter pane to open via AL code or page properties
      • Use OnOpenPage() to control UI visibility of the pane — it only affects data, not layout
      • Pass a parameter in the URL to open the pane (no such parameter exists)
    • Workaround (Not officially supported)
    • Some developers have explored JavaScript control add-ins to manipulate the DOM and force the pane open, but this is:
      • Not supported by Microsoft
      • Risky across updates and browser variations
      • Not recommended for production environments


    Helpful Resources
    Views in BC – Microsoft Learn
    Set the default view/layout for a list page – Dynamics 365 Lab


    If you find this helpful, feel free to mark this as the suggested or verified answer.

    Cheers
    Jeffrey
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,086 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,290 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,218

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans