web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

AL Field extension scope. Initial company setup.

(1) ShareShare
ReportReport
Posted on by 35
Hi,
Apologies if this is a real newb question but I've searched everywhere and am getting no-where.
I created a table extension called 'Web Model' on the item table. Works a treat, populates on import via config.pkg and page extension shows the value fine.
Next I tried reference that field on the Item lookup page. VS said that 'Web Model' was not part of Item table. It shows nowhere on the drop downs.
 
SO I created another field instead (see below) to copy the values over instead but however I try do do it VS still says it cannot access 'Web Model' field on Items.
Any help please?
 
Also see the fields available from Items, no mention of 'Web Model'.
 
 
Below is the definition of the 'Web Model' field:
 
tableextension 50103 "New Item Field" extends "Item"
{
    fieldstable
    {
        field(50103; "Web Model"; Code[50])
        {
            Caption = 'Web Model';
            DataClassification = ToBeClassified;
        }
    }
}
 
 
tableextension 50107 "New Web product list field" extends Item
{
    fields
    {
 
        field(50107; "Web Model Code"; Code[50])
        {
            Caption = 'Web Model';
            DataClassification = ToBeClassified;
        }
    }
}
pageextension 50107 "Field on item select" extends "Item Lookup"
{
    layout
    {
        addafter("No.")
        {
              field("Web Code"; Rec."Web Model Code")
            {
                ApplicationArea = all;
            }
        }
 
    }
}
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    25,555 Most Valuable Professional on at
    Hi
    I would think that if that field is in another extension, you should add the dependency for that extension in your extension.
    You must configure the app.json file, adding the "dependencies" property
    BR
    GR
  • YUN ZHU Profile Picture
    99,090 Super User 2026 Season 1 on at
    Hi, hope the following helps as well.
    How to get field values from other extensions/apps in Business Central without adding dependencies property
    https://yzhums.com/31555/
     
    PS: Business Central 2024 wave 1 (BC24): Support for multiple extensions to same target and extensions and target in same app – Define extension objects in same app as their base object
    https://yzhums.com/48766/
     
    Thanks.
    ZHU

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,949 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,064 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 559 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans