Thursday, October 18, 2018

Modify Standard Pages Control Using Extension in Business Central


Hello Friends,

Get ready for new future for development skills with Dynamics Products.
As you know, in Business Central we can't modify the base systems standard objects,
Only way to modify base is to create extended object and event subscription.

Suppose you want to modify standard page field property, than you need to create the page extension of standard page and can add, delete, modify fields and property and action of standard page.

AL Language provide us new functions Modify(), Addafter(), functions for modify standard pages.

Following are list of property for page field and action that we can modify using Modify() function in page extension.


pageextension 70144473 pageextension50001 extends "Sales Order"
{
    layout
    {
        modify("No.")
        {
            Visible = false;
            Caption
            CaptionClass
            CaptionML
            ClosingDates
            Description
            Enabled
            FreezeColumn
            HideValue
            Importance
            InstructionalText
            InstructionalTextML
            ODataEDMType
            OptionCaption
            OptionCaptionML
            QuickEntry
            ShowCaption
            Style
            StyleExpr
            ToolTip
            ToolTipML
            Width
        }
        addafter(General)
        {
            part(Complaint; "INT Complain Register Subform")
            {
            }
        }

    }
    actions
    {
        modify(Post)
        {
            Visible = false;
            ApplicationArea
            Caption
            CaptionML
            Description
            Enabled
            InFooterBar
            Promoted
            PromotedCategory
            PromotedIsBig
            PromotedOnly
            ShortcutKey
            ToolTip
            ToolTip
            ToolTipML
        }
    }
}


Hope it will help someone to understand the concept of development with AL Language using VS Code.

Please write a comment if you need more help,

Thank you for reading,
Keep Sharing....Keep Growing ......

4 comments:

  1. Bronx Injury Lawyers P.C. In the Bronx, NY, the difference between handling a claim alone and having representation can be significant. Bronx Injury Lawyers P.C. focuses on the Bronx, NY accident and injury cases, and a quick free consultation can clarify where you stand.

    ReplyDelete
  2. Brooklyn Injury Attorneys P.C. Thanks for keeping this practical instead of just theory. Getting clear on deadlines and options early is the best thing an injured person in Brooklyn, NY can do. For Brooklyn, NY injury cases specifically, Brooklyn Injury Attorneys P.C. offers a free review and handles the claim directly.

    ReplyDelete
  3. Brooklyn Injury Attorneys P.C. Good timing on this, it's a question that comes up often. A fair settlement in Brooklyn, NY usually looks very different from the first number offered. Reaching out to Brooklyn Injury Attorneys P.C. is low risk, they cover Brooklyn, NY injury claims and don't charge to review one.

    ReplyDelete
  4. Brooklyn Injury Attorneys P.C. Slip and falls, car accidents and similar cases in Brooklyn, NY are more nuanced than they first appear. A firm like Brooklyn Injury Attorneys P.C. that concentrates on Brooklyn, NY injury claims can tell you quickly what your options are.

    ReplyDelete