Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Creating a group in a standard Page using Extension in VS Code in NAV

Posted on by 4,184

Hi

Can someone tell me how to create a group in a Standard Page e.g Item Card Page has group such as Item,Warehouse using extension in VS Code?

*This post is locked for comments

  • CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Creating a group in a standard Page using Extension in VS Code in NAV

    I tried addafter. It worked. thank you Mohana

  • Verified answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Creating a group in a standard Page using Extension in VS Code in NAV

    can you show your code.

    try addafter instead of addlast.

  • CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Creating a group in a standard Page using Extension in VS Code in NAV

    Yes I tried but then its shows error on group.

    It says syntax error to add }(closing brace) even after adding the closing brace I get the error

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Creating a group in a standard Page using Extension in VS Code in NAV

    did you try removing addlast(General) //lets say after general tab

  • CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Creating a group in a standard Page using Extension in VS Code in NAV

    I tried this earlier this is the output.

    Below is the screenshot.

    addlast- here I added  Warehouse and group is quality.

    My question is I want to create Quality as a separate thing like Warehouse.

    I want it separate not inside Warehouse or General 

    error-creating-group.JPG

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Creating a group in a standard Page using Extension in VS Code in NAV

    try this

    layout

       {

           area(content)

           {

               addlast(General) //lets say after general tab

               {

                 group(yournewgroup)

                 {

                     field(yourfield;yourfield)

                     {

                     }

                  }

               }

           }

       }

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans