Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

How to get extension version info after installing in D365BC through web service?

(0) ShareShare
ReportReport
Posted on by

Hi Expert,

I have an extension and installed to D365BC, but I don't know how to get my extension version info through web service or another way. I also try to expose "Extension manage" table to web service, it tells me that I can't use this table to develop. Could anyone shed me some lights on it?

pastedimage1568167685013v1.png

Thanks,

Ming

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: How to get extension version info after installing in D365BC through web service?

    Via AL code you can use ModuleInfo object:

    docs.microsoft.com/.../moduleinfo-data-type

    To get info about your extension, you can do something like:

    var

     myInfo: ModuleInfo;

    begin

     if NavApp.GetCurrentModuleInfo(myInfo) then

       //myInfo now has all the info about your extension

    You can also check info about another extension with:

     NavApp.GetModuleInfo('xxxx',myInfo)

    where xxxx is the ID of the extension to check.

  • Community Member Profile Picture
    on at
    RE: How to get extension version info after installing in D365BC through web service?

    Thank you, but i also need to get extension version info through web service, because i need this info used in my code and as a condition, so is there a workaround?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: How to get extension version info after installing in D365BC through web service?

    On a local container use Powershell as explained here:

    demiliani.com/.../

  • Community Member Profile Picture
    on at
    RE: How to get extension version info after installing in D365BC through web service?

    Thank you, if i am in my a local container D365BC environment, how could I use Automation API, my web service base URL is trcnavappus:7048/.../Company('CRONUS USA, Inc.')

    Thank you

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: How to get extension version info after installing in D365BC through web service?

    You can use Automation API and send a GET request to the extensions API. More info here:

    docs.microsoft.com/.../dynamics-microsoft-automation-extension-get

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 forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans