Skip to main content

Notifications

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?

  • peopleeater Profile Picture
    67 on at
    RE: How to reference objects of one extension from an another extension?

    Nitin Verma,

    thanks for the answer.

  • Suggested answer
    Nitin Verma Profile Picture
    21,544 Moderator on at
    RE: How to reference objects of one extension from an another extension?

    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
    RE: How to reference objects of one extension from an another extension?

    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,544 Moderator on at
    RE: How to reference objects of one extension from an another extension?

    Hi,

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

    pastedimage1661767934856v1.png

  • peopleeater Profile Picture
    67 on at
    RE: How to reference objects of one extension from an another extension?

    Hello Inge M. Bruvik,

    Can I also see the code of the referred extension?

    Thanks.

  • peopleeater Profile Picture
    67 on at
    RE: How to reference objects of one extension from an another extension?

    Thanks, Amit Sharma and Inge M. Bruvik.

  • Suggested answer
    Amit Baru Profile Picture
    3,029 on at
    RE: How to reference objects of one extension from an another extension?

    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.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,021 Moderator on at
    RE: How to reference objects of one extension from an another extension?

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,217 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,978 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans