AL icon indicating copy to clipboard operation
AL copied to clipboard

Groups and Labels without fields in a page are not shown on the client

Open crisnicolas opened this issue 8 years ago • 2 comments

I have created an Assisted Setup kind of page for an extension I am developing.

The page has some groups with labels inside but with no fields. This is to be able to write text to the user. Neither groups nor labels have the ApplicationArea property available.

The text in the captions on those groups and labels is not shown on Business Central. How do I have to define those texts to be able to see them in the page?

Here an example of one of those groups:

            group(FirstPage_Text1)
            {
                Caption = '', locked = true;
                label(Text1_Label1)
                {
                    Style = Strong;
                    Caption = 'Welcome to the Extension Setup',
                }
            }

crisnicolas avatar Sep 22 '18 15:09 crisnicolas

You dont need to use Labels for this. You can just use fields or the InstructionalText group property.

OleTeichmann avatar Sep 24 '18 10:09 OleTeichmann

Hi @crisnicolas, as suggested by @OleTeichmann, you should use the InstructionalText property.

page 50120 MyPage
{
    layout
    {
        area(Content)
        {
            group(GroupName)
            {
                InstructionalText = 'This text will be displayed';
            }
        }
    }
}

image

qutreson avatar Sep 25 '18 07:09 qutreson