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...
Suggested Answer

Publishing extension not showing fields

(5) ShareShare
ReportReport
Posted on by 109
Hi Folks,
 
Thanks for assisting on some of my earlier which has got me to this point. I am currently trying to add some custom Fields to my assembly order header. I have created a sandbox environment and am able to download symbols and also build the program. Once I am able to build and publish it is triggering me to login. Once I navigate to assembly order I cannot see the fields I have added to the extension.
 
I cannot see the newly added fields in the inspect pages the fields I have added, also cannot see this extensions on the inspect pages. Below is the code snippet I have added.
 
Just wondering if I am missing a step or is my code missing anything from the below. Any assistance would be appreciated.
 
tableextension 50100 "My Assembly Header Ext" extends "Assembly Header"
{
    fields
    {
        field(50100; "Sheet Metal Date Field 1"; Date)
        {
            Caption = 'Sheet Metal Date Field 1';
        }
        field(50101; "Sheet Metal Date Field 2"; Date)
        {
            Caption = 'Sheet Metal Date Field 2';
        }
    }
}
 
 
pageextension 50100 "My Assembly Order Ext" extends "Assembly Order"
{
    layout
    {
        addlast(General) // You can change this to another group or FastTab as needed
        {
            field("Sheet Metal Date Field 1"; Rec."Sheet Metal Date Field 1")
            {
                ApplicationArea = All;
            }
            field("Sheet Metal Date Field 2"; Rec."Sheet Metal Date Field 2")
            {
                ApplicationArea = All;
            }
        }
    }
}
 
 
 
 
 
 
I have the same question (0)
  • Suggested answer
    Dhiren Nagar Profile Picture
    1,770 on at
    Hi
     
    Can you also post screenshot of the Assembly Order page?
     
    Regards,
    Dhiren.
  • Suggested answer
    Nitin Verma Profile Picture
    21,742 Moderator on at
    Hi,
     
    You can try to add your field by using AddAfter instead AddAfter.
     
    just try if its working.
     
    Thanks
     
  • Suggested answer
    YUN ZHU Profile Picture
    97,089 Super User 2025 Season 2 on at
    Hi, This code looks like it has an error, so I've made a slight modification.
    tableextension 50100 "My Assembly Header Ext" extends "Assembly Header"
    {
        fields
        {
            field(50100; "Sheet Metal Date Field 1"; Date)
            {
                Caption = 'Sheet Metal Date Field 1';
            }
            field(50101; "Sheet Metal Date Field 2"; Date)
            {
                Caption = 'Sheet Metal Date Field 2';
            }
        }
    }
    
    
    pageextension 50100 "My Assembly Order Ext" extends "Assembly Order"
    {
        layout
        {
            addlast(Control2) // You can change this to another group or FastTab as needed
            {
                field("Sheet Metal Date Field 1"; Rec."Sheet Metal Date Field 1")
                {
                    ApplicationArea = All;
                }
                field("Sheet Metal Date Field 2"; Rec."Sheet Metal Date Field 2")
                {
                    ApplicationArea = All;
                }
            }
        }
    }
  • AK-17121107-0 Profile Picture
    109 on at
    Thanks for the suggestion. I have tried to use the below exact and still couldn't see the fields on my assembly order page.
     
    Quite strange, would it be something setup related?
     
    Also cannot see error highlighted like in your screenshot @Yun Zhu
     
    Thanks in advance.
     
    tableextension 50100 "My Assembly Header Ext" extends "Assembly Header"
    {
        fields
        {
            field(50100; "Sheet Metal Date Field 1"; Date)
            {
                Caption = 'Sheet Metal Date Field 1';
            }
            field(50101; "Sheet Metal Date Field 2"; Date)
            {
                Caption = 'Sheet Metal Date Field 2';
            }
        }
    }
     
    pageextension 50100 "My Assembly Order Ext" extends "Assembly Order"
    {
        layout
        {
            addlast(Control2) // You can change this to another group or FastTab as needed
            {
                field("Sheet Metal Date Field 1"; Rec."Sheet Metal Date Field 1")
                {
                    ApplicationArea = All;
                }
                field("Sheet Metal Date Field 2"; Rec."Sheet Metal Date Field 2")
                {
                    ApplicationArea = All;
                }
            }
        }
    }
  • Suggested answer
    Dhiren Nagar Profile Picture
    1,770 on at
    Hi,
     
    You sure are checking the fields in the same environment in which you deployed this extension?
     
    Also can you add 
    DataClassification = ToBeClassified;
    in the table fields.
     
    In case your user has some restriction we can see if this works.
     
    Also as suggested can you please try addafter(Status) instead of addlast.
     
    Regards,
    Dhiren.
     
     
  • Suggested answer
    OussamaSabbouh Profile Picture
    9,231 on at
    Hello ,
     
    Your code is correct; when fields don’t show up after a successful publish, it’s almost always an environment or object mismatch. First, confirm via Page Inspection that the Assembly Order page you’re on is exactly the same page object you’re extending (there are multiple assembly-related pages). Second, make sure you published to the same sandbox/environment you’re logged into in the browser. Third, bump the app version in app.json and republish, then upgrade the extension if prompted—BC won’t reapply changes on the same version. Once those align, your fields should appear both on the page and in Page Inspection under Assembly Header fields.
     
    Regards,
    Oussama Sabbouh
  • AK-17121107-0 Profile Picture
    109 on at
    Hi Dhiren,
     
    Yes, my code as below and launch json please see.
     
    Not sure if am missing something very silly. 
     
     
     
     
     
    tableextension 50100 "My Assembly Header Ext" extends "Assembly Header"
    {
        fields
        {
            field(50100; "Sheet Metal Date Field 1"; Date)
            {
                Caption = 'Sheet Metal Date Field 1';
                DataClassification = ToBeClassified;
            }
            field(50101; "Sheet Metal Date Field 2"; Date)
            {
                Caption = 'Sheet Metal Date Field 2';
                DataClassification = ToBeClassified;
            }
        }
    }
     
    pageextension 50100 "My Assembly Order Ext" extends "Assembly Order"
    {
        layout
        {
            addafter(Control2) // You can change this to another group or FastTab as needed
            {
                field("Sheet Metal Date Field 1"; Rec."Sheet Metal Date Field 1")
                {
                    ApplicationArea = All;
                }
                field("Sheet Metal Date Field 2"; Rec."Sheet Metal Date Field 2")
                {
                    ApplicationArea = All;
                }
            }
        }
    }
  • Suggested answer
    Dhiren Nagar Profile Picture
    1,770 on at
    Hi,
     
    In your launch.json in configuration array object, can you please remove all of the configuration and use the below one. Just replace your tenant id and Publish (Ctrl + F5)? Then check if the fields are added. Just to be sure. Because I think at the time of deployment there can be a issue.
     
    {
                "name": "Microsoft cloud sandbox",
                "request": "launch",
                "type": "al",
                "environmentType": "Sandbox",
                "environmentName": "dev",
                "tenant": "tenantid",
                "startupObjectId": 900,
                "startupObjectType": "Page",
                "breakOnError": "All",
                "launchBrowser": true,
                "enableLongRunningSqlStatements": true,
                "enableSqlInformationDebugger": true
            }
     
    Regards,
    Dhiren.
  • Suggested answer
    YUN ZHU Profile Picture
    97,089 Super User 2025 Season 2 on at
    Did you deploy it to another environment?
    Try opening BC directly during publishing.
     
    Thanks.
    ZHU
  • AK-17121107-0 Profile Picture
    109 on at
    Hi Team,
     
    Thanks for your help so far and proactive responses on this community.
     
    I am just taking a step back to confirm if I am doing right steps.
     
    I order to put in my AL code. I am going to help and support and Generate launch configurations for this environment
     
    This opens up VSCODE I was not able to download symbols I change the version to the Wiise version who are our localisation for AU.
     
    Changing the version to (Wiise 27.0.10.0) ables me to download symbols.
     
    Then I add the AL code and update my version to 27.0.10.1, also have tried with same version with no result.
     
    The environment is correct as the same environment is launched as soon as Ctrl+F5
     
    Just confirming if the steps are correct. I can see my extension being published.
     
    Also tried launch config as advised before.
     
    Is there anything i am missing from the above steps?
     
    {
                "name": "Microsoft cloud sandbox",
                "request": "launch",
                "type": "al",
                "environmentType": "Sandbox",
                "environmentName": "dev",
                "tenant": "tenantid",
     
     
                "startupObjectId": 900,
                "startupObjectType": "Page",
                "breakOnError": "All",
                "launchBrowser": true,
                "enableLongRunningSqlStatements": true,
                "enableSqlInformationDebugger": true
            }
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,167

#2
Dhiren Nagar Profile Picture

Dhiren Nagar 1,184

#3
YUN ZHU Profile Picture

YUN ZHU 1,161 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans