How to overwrite/change Danish OIOUBL extension?

I'm working on Business Central version 13.11 (13.0.35820.0) on-premise. Most of the code is C/SIDE but some is in extensions.

I need to make some changes to the Danish OIOUBL extension that exports an XML file.

Is it possible to get the code and make changes there or overwrite their extension with my own? (I need their code, because I only have a few things to change.)

I have read in a forum that two years ago it was not possible to subscribe to anything from their extension. So I don't expect that subscribing can help.

Best Answers

Answers

  • MortenSteengaardMortenSteengaard Member Posts: 82
    Thanks alot, helpers!
  • razorsrkrazorsrk Member Posts: 3
    @MortenSteengaard

    Hey Morten,

    Could you provide the solution you found?
  • MortenSteengaardMortenSteengaard Member Posts: 82
    Hi razorsrk,

    I did this:

    - Copied the folder with the Microsoft extension.
    - Deleted the "Test" folder.
    - Made a new launch.json.
    - Deleted "${AppSourceCop}" from settings.json.
    - Removed the extension from Business Central.
    - Removed "compatibilityId" from app.json.
    - Added "runtime: "2.0"" in app.json.
    - Increased the version number.
    - Changed publisher and description.
    - Made the app file.
    - Installed the app file using Business Central.

    We chose this way of doing it, because the customer is on an on-premise solution that is not supposed to be upgraded much in the future.
  • razorsrkrazorsrk Member Posts: 3
    @MortenSteengaard

    Thanks alot. Did you compile the app through PowerShell?
  • MortenSteengaardMortenSteengaard Member Posts: 82
    No, I just pressed F5 in Visual Studio Code. It made the app-file, but couldn't publish and/or install it. Then I went into Business Central and installed it on the "Extensions" page.

    As I understand it, you need Visual Studio Code to make the app-file. When you have that file, you can use PowerShell to publish and/or install it.
  • razorsrkrazorsrk Member Posts: 3
    edited 2021-06-02
    @MortenSteengaard

    Thanks alot :)

    I'll try it out, might get back to you.

    Did you change the objects ID or did you keep the Microsoft ID's?
  • MortenSteengaardMortenSteengaard Member Posts: 82
    I didn't change the ID's.
Sign In or Register to comment.