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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

How to reference objects of one extension from an another extension?

(0) ShareShare
ReportReport
Posted on by 67

So, I have created an Extension, that has a lot of tables and Code Units.

How can I reference the objects of the previously Installed extension in the new extension that I'm working on?

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    You need to define a dependency between you new app and the old app you want to refer to.

    It is defined in your app.json file that you can read more about here:

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

  • Suggested answer
    Amit Baru Profile Picture
    3,037 on at

    hi,

    Take Installed App id and put this id in app.json "dependencies" property and then download AL symbols. in this way you will get the references of previous objects.

    For More Info-

    erpconsultors.com/.../

    Regards

    Amit Sharma

    www.erpconsultors.com

    www.linkedin.com/.../

    Pls press Yes if info is useful.

  • peopleeater Profile Picture
    67 on at

    Thanks, Amit Sharma and Inge M. Bruvik.

  • peopleeater Profile Picture
    67 on at

    Hello Inge M. Bruvik,

    Can I also see the code of the referred extension?

    Thanks.

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Hi,

    You have to define like below in your App.json file.

    pastedimage1661767934856v1.png

  • peopleeater Profile Picture
    67 on at

    Nitin Verma, Thanks for the answer.

    I just want to ask one more thing, how can I see the code of the third-party extension while debugging? is it possible from my side to see the code of the referenced extension?

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Hi,

    Actually it depends on third party app how they are managing show or not show their code or objects to others, but as you download the symbol same APP  downloaded same time into .alpackages folder see the screen shot, then you try to navigate to their objects if they allowed.

    www.waldo.be/.../

  • peopleeater Profile Picture
    67 on at

    Nitin Verma,

    thanks for the answer.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,785

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,007 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 948 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans