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

How to replace dialog.input in business central ?

(0) ShareShare
ReportReport
Posted on by 10

Hello,

We used to use Dialog.INPUT in Microsoft Dynamics Nav but now it seems that Dialog windows are only for output, not for input. How can we ask the user a very basic question in business central ?

Thanks a lot.

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    The way to do it is to create a page of type StandardDialog there you can have fields both for output and input. A little more work than it used to be in C/AL.

    docs.microsoft.com/.../devenv-page-types-and-layouts

  • Toni Sala Profile Picture
    10 on at

    Thanks a lot Inge,

    Does it mean that we have to create a Temp table to store the value and develop some code to get this value or is there another way to do this ?

    Thanks again.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    age 50102 "Dialog"
    {
        Caption = 'Dialog';
        PageType = StandardDialog;
        SourceTable = "Integer";
        SourceTableView = where(number = filter(1));
    
        layout
        {
            area(content)
            {
                field(MyInputText; MyInputText)
                {
                    Caption = 'Give me the value';
                }
            }
        }
        var
            MyInputText: text;
    
    }
    

    I guess that depends what you wanna do with the data. I usually just keep the input in variables on the page until i decide what to do with them.

    You can use the integer table as the data item for the page and set tableview to integer 1.

    Here is a small sample:

  • Suggested answer
    YUN ZHU Profile Picture
    99,697 Super User 2026 Season 1 on at

    Hi, here are two simple examples that hopefully give you some hints.

    https://yzhums.com/17574/

    https://yzhums.com/16284/

    Thanks.

    ZHU

  • Toni Sala Profile Picture
    10 on at

    Thanks a lot Inge,

    Everything seems to be ok now.

    Kind regards,

    TONI SALA.

  • Toni Sala Profile Picture
    10 on at

    Thanks a lot ZHU.

    Kind regards,

    TONI.

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 March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,948 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,048 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 727 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans