Skip to main content
Business Central forum
Suggested answer

Fun with Extensions

editSubscribe (1) ShareShare
ReportReport
Posted on by 1,330
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 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,191 Super User 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 59,926 Super User 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 2,706 Super User on at
  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 45,235 Super User on at
    Fun with Extensions
    I recommend to go through this video
     

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans