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...
Suggested Answer

Hide Next/Previous Buttons on Card Page

(1) ShareShare
ReportReport
Posted on by 55
Is there a way to hide the next/previous buttons on a card page?
 
For example, when I filter the Items List to one item and then navigate to the Item Card, the buttons are not shown. Can the buttons be hidden if I navigate directly to the card I'm adding from the Search dialog, or is the functionality baked into the CardPageID logic?
 
Thank you.
 
 
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    99,055 Super User 2026 Season 1 on at
    Hi, hope the following can give you some hints.
    Dynamics 365 Business Central: How to disable ‘Go to Next/Previous document’ action on Card page and Document page
     
     
    Thanks.
    ZHU
  • Seth_Abady Profile Picture
    55 on at
    Thank you @Yun Zhu. I had already looked at the article you had posted. It is not what I am looking for.
     
    I'd really like to hide, not just disable, the buttons. I see that functionality when I go from a list page to the list page's card with only 1 item in the filtered result. I'd like to replicate that behavior but in a card page that is opened via an action and not from a list page.
     
    /Seth
  • Suggested answer
    YUN ZHU Profile Picture
    99,055 Super User 2026 Season 1 on at
    Unfortunately, as far as I know there is no way.
    You can submit your suggestions to BC Ideas.
     
    Missing a feature? Post or vote for ideas on: aka.ms/BCIdeas
     
    Thanks
    ZHU
  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,302 Super User 2026 Season 1 on at
    You can filter the record using Rec.SetRecFilter() before calling the page so there is only one record.
    When you open the page with that record, the next/previous buttons should be hidden because there is only one record to show.
  • Seth_Abady Profile Picture
    55 on at
    @TeddyH Thank you.
     
    Here's what I'm trying. My action has the below code unit for it's RunObject. The table has one record in it with PrimaryKey set to 'SETTING' . When the page is opened, the source table is showing 1 record. I'm still seeing the prev/next buttons.
     
    I'm pretty new to AL. Am I missing something?
     
    Thanks!
     
    codeunit 50412 PageLaunch
    {
        trigger OnRun()
        var
            PageSourceTable: Record MyPageSourceTable;
            PageToOpen: Page MyPage;
        begin
            PageSourceTable.SetCurrentKey(PrimaryKey);
            PageSourceTable.PrimaryKey := 'SETTING';
            PageSourceTable.SetRecFilter();
            PageToOpen.Run();
        end;
    }

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans