Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Fun with Extensions

Posted on by 1,467
I am starting to play with extensions using the Cronus company.  I am starting out slow and just want to understand how to Navigate the Visual Studio Code utility.  To that end, I've downloaded the tool and installed the AL Language Extension as well as the AL AZ Dev Tools utility which includes both the table extension and page extension wizards.  Although I've seen numerous videos and instructions they are a bit convoluted.  That said, a couple of questions:
 
1)  How do I connect my BC site to visual studio code?
2)  I want to start with a simple page extension (Purchase Invoice) just to change some labels or field names.  I found the Page extension wizard, but again not finding much instruction beyond that.
 
That said, would appreciate any tips, hints or suggestions.
 
//
Categories:
  • Suggested answer
    Judy Profile Picture
    Judy Microsoft Employee on at
    Fun with Extensions
    Hi, in addition, please refer to the MS document to set up a sandbox environment and Visual Studio Code:
    The reference MS document:
  • Suggested answer
    Govinda Kumar Profile Picture
    Govinda Kumar 2,201 Moderator on at
    Fun with Extensions
    Hi JGarcia123,
     
    Great to hear you're diving into fun with extensions with Cronus!
     
    1) To connect your Business Central (BC) site to Visual Studio Code, you'll need to use your tenant and environment name.
     
     
    2) Starting with a simple page extension like the Purchase Invoice sounds like a good plan. Once you've got the AL Language Extension and AL AZ Dev Tools installed, you can use the Page extension wizard. From there, you can change labels or field names as needed.
    pageextension 50100 PurchaseInvoicePageExtension extends "Purchase Invoice etc"
    {
        layout
        {
            // Modifying the caption of the field 'Address'
            modify("Address 2")
            {
                Caption = 'New Address 2';
            }
        }
    }
    
     
    If you need further assistance, feel free to ask! Good luck with your fun with extension.
     
    Best Regards,
    Govinda Kumar
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 69,639 Super User 2024 Season 2 on at
    Fun with Extensions
    Hi, there is a simple example in the following post, I hope it can give you some tips.
     
     
    Thanks.
    ZHU
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 9,472 Most Valuable Professional on at
  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 58,874 Super User 2024 Season 2 on at
    Fun with Extensions
    I recommend to go through this video
     

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans