How to overwrite/change Danish OIOUBL extension?

MortenSteengaard
Member Posts: 144
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.
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
Best Answers
-
The installation DVD/archive has "Extensions" directory with file "OIOUBL.Source.zip" You can extract it, make any changes you want and repackage it as an upgraded version of the official OIOUBL extension5
-
The zipped, but full source code for all extensions are on the install DVD in the folder Extensions.
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.5 -
Hello @MortenSteengaard,
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.
For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.5
Answers
-
The installation DVD/archive has "Extensions" directory with file "OIOUBL.Source.zip" You can extract it, make any changes you want and repackage it as an upgraded version of the official OIOUBL extension5
-
The zipped, but full source code for all extensions are on the install DVD in the folder Extensions.
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.5 -
Hello @MortenSteengaard,
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.
For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.5 -
Thanks alot, helpers!0
-
0
-
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.
0 -
0
-
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.0 -
@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?0 -
I didn't change the ID's.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions