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.
0
Answers
You can also find the latest versions here: https://github.com/microsoft/ALAppExtensions
If you are adding functionalities the product and others can benefit from, please consider a pull request of your functionality afterwards.
The danish extension really needs more events, it is not really extensible right now.
You can do a couple of things depending on what kind of changes you want to do.
1: The code for OIOUBL and on the DVD, you can change it and published it with the original GUID (I would never do this).
2. You can get the code for the DVD, move to functionality to your own number series (500xx)
3. Edit the XML file after you have exported it, (I do not remember on 13 if there is event you can call, but there are on newer versions) so you can copy the event from a never version, so you are ready for an upgrade.
There is properly even more ways, but I have not tried it.
Hey Morten,
Could you provide the solution you found?
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.
Thanks alot. Did you compile the app through PowerShell?
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.
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?