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

Notifications

Announcements

Community site session details

Community site session details

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

Group on PageExtension not showing

(0) ShareShare
ReportReport
Posted on by 37

Hey there,

I am trying to make a Page Extension that extends the Alternative Address Card.

I wanted to make a new Group called "AddressGroup" and move the address related fields in there

Here's my code:

pastedimage1588592970305v1.png

And here's the result:

pastedimage1588592986755v2.png

As you can see the Group and the fields get added but the Group Caption is not showing, even though it should look the same as "General" or "Communication" group

I've tried setting visible, enabled, editable, showcaption to true but none of them seem to change anything

Any help or suggestions would be appreciated, thanks :)

I have the same question (0)
  • Verified answer
    THE Italian Profile Picture
    on at

    ApplicationArea?

  • Suggested answer
    THE Italian Profile Picture
    on at

    ... or better enable codecop, uicop

  • Mkublbock Profile Picture
    37 on at

    They are both enabled and not highlighting anything

  • Mkublbock Profile Picture
    37 on at

    there is no applicationarea property on a group

  • Suggested answer
    THE Italian Profile Picture
    on at

    What's the platform you are targeting? 14, 15, 16...

    Could you please paste here a prototype of the AL file?

  • Mkublbock Profile Picture
    37 on at

    I'm targeting Version 16

    Pageextension 50102 "MUC Alternative Address Card" extends "Alternative Address Card"

    {

       // --- HANDL1.00 ---

       // nipl,011014 added fields:

       //               Privathandynummer

       //               Geburtsdatum SV (PKZ)

       //               Status (Verheiratet, Geschieden, Ledig, Witwer, usw.)

       //               Religion (Feiertage)

       //               Eingestellt seit XX.XX.XXXX

       //

       // jost,171014 added code in

       //   - Phone No. - OnAssistEdit

       //   - Phone No.2 - OnAssistEdit

       //   - Mobile Phone No. - OnAssistEdit

       //  --> replaced Lync Integration with TAPI Integration

       //

       // nipl,130715 added code in OnOpenPage

       //   - see mail Hr. Pürrer Freitag, 10. Juli 2015 12:18

       layout

       {

           modify(Name)

           {

               Visible = false;

           }

           addafter(Code)

           {

               field("Birth Date"; "Birth Date")

               {

                   ApplicationArea = All;

               }

               field("Insurance No."; "Insurance No.")

               {

                   ApplicationArea = All;

               }

               field(Status; Status)

               {

                   ApplicationArea = All;

               }

               field(Religion; Religion)

               {

                   ApplicationArea = All;

               }

               field(Recruited; Recruited)

               {

                   ApplicationArea = All;

               }

           }

           addbefore(Communication)

           {

               group(AddressGroup)

               {

                   Caption = 'Address';

               }

           }

           moveafter(AddressGroup; Address)

           moveafter(Address; "Address 2")

           moveafter("Address 2"; "Post Code")

           moveafter("Post Code"; City)

           moveafter(City; "Country/Region Code")

           addbefore("E-Mail")

           {

               field("Mobile Phone No"; "Mobile Phone No")

               {

                   ApplicationArea = All;

                   trigger OnAssistEdit()

                   begin

                       //+jost,171014

                       TAPIMgmt.Dial("Phone No.");

                       //-jost,171014

                   end;

               }

           }

           movebefore("Mobile Phone No"; "Phone No.")

           addafter("E-Mail")

           {

               field("Notify in Case of Accident"; "Notify in Case of Accident")

               {

                   ApplicationArea = All;

               }

           }

           modify("Phone No.2")

           {

               Visible = false;

           }

           modify("Phone No.")

           {

               ApplicationArea = All;

               trigger OnAssistEdit()

               begin

                   //+jost,171014

                   TAPIMgmt.Dial("Mobile Phone No");

                   //-jost,171014

               end;

           }

           modify("Fax No.")

           {

               ApplicationArea = All;

               Visible = false;

           }

       }

       trigger OnOpenPage()

       begin

           //+nipl,130715

           if not FindFirst() then

               Insert();

           //-nipl,130715

       end;

       var

           TAPIMgmt: Codeunit TAPIManagement;

    }

  • ManishS Profile Picture
    86 on at

    Try it add a field in the group(Addressgroup) and then check.

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

News and Announcements

Season of Giving Solutions is Here!

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 1,742

#2
YUN ZHU Profile Picture

YUN ZHU 844 Super User 2025 Season 2

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 719 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans