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 :
Business Central forum

How to call the custom table in other extensions.

(0) ShareShare
ReportReport
Posted on by 354

Hi

I have created a new table Item Variant 2 in Extension1 and published in sandbox environment. Now that is working fine.

but when I creating Extension2 project and tried to call the Item Variant 2 table which is created in Extension1, the system throws an error "Item variant 2" is missing (please refer the screenshot).

Can someone tell us how to call the objects which are created in other extension project.

Item-Variant.png

Thanks,

Shyam Kumar 

Categories:
  • Verified answer
    Mohana Yadav Profile Picture
    61,248 Super User 2026 Season 2 on at

    you have to build extension 2 as a dependent on extension 1.

    you have to mention that in App.json.

    docs.microsoft.com/.../devenv-json-files

  • Shyamraoo Profile Picture
    354 on at

    Thank you very much for the help, It works like charm.

    Should update dependencies as shown below.

    "dependencies": [ { "appId": "4805fd15-75a5-46a2-952f-39c1c4eab821", "name": "WeatherLibrary", "publisher": "Microsoft", "version": "1.0.0.0"}],

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans