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...
Answered

AL scripting. Access to table fields from other extension.

(0) ShareShare
ReportReport
Posted on by

We have a field on Items table which added in Extension 1(third part extension). Now we are writing AL script API Page in our Extension 2 and want to access this table field to get this information from API.
But in VS Code we receive error:

The name '"My field"' does not exist in the current context

Is it possible to access table field from other extension in AL script?
  • Verified answer
    I Gusti Made Ari Profile Picture
    3,608 on at

    In your extension 2 Json file, you need to add dependencies to extension 1.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-json-files

  • Community Member Profile Picture
    on at

    Thanks! It works!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 768 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 541 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 324 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans