web
You’re offline. This is a read only version of the page.
close
Skip to main content
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 12
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
    95,307 Super User 2025 Season 2 on at
    Hide Next/Previous Buttons on Card Page
    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
    12 on at
    Hide Next/Previous Buttons on Card Page
    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
    95,307 Super User 2025 Season 2 on at
    Hide Next/Previous Buttons on Card Page
    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,275 Super User 2025 Season 2 on at
    Hide Next/Previous Buttons on Card Page
    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
    12 on at
    Hide Next/Previous Buttons on Card Page
    @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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans