I was successful in working with NAV2016 Extensions, but I have few questions
Scenario : Add a Boolean field on VendorTable, Vendor Card Page and New CodeUnit ,created an Extension Demo.NAVX file and Published & Installed on another instance
Once installation is done I didn’t find any object changes on new Nav 2016 Develoment instance.(No field is add on vendor table or card).
But still I can see the changes are available on client interface.
Tried to use debugger by inserting error in code unit(50000), it took me to the code unit but I am unable to find the code unit(50000) from Developer Environment.
Can some one help me how to find out objects changes occurred due to installation of DEMO.NAVX file from NAV 2016 Developer Instance.
The “NavApp” objects are added “behind the scenes”. So the “compiled” object contains the original object + all of the NavApp code - but you won’t see it in the development environment like normal customizations.
But if this is the way it works, we cannot make use of those fields or functions which were added using NAVX.
I tried to add the field on the report and XML port which got created by NAVX file but those are not available any where on the instance. Due to this my Production environment is completely dependent on Developer environment.
Even a minor change like adding field on page or report cannot be done.
Things for developer becomes very complex if he want to view the code from Production.
What is it that you’re really trying to do? An actual customer requirement, or just studying it’s functionality?
Personally then I think that all this NAV 2016 Extensions hype that we have seen for the last months is overrated!
NAV Extensions are still rather immature as I see it. But it does solve a niche in terms of adding extra functionality into multi-tenant installations, without having to change the objects. I too have many unanswered questions on this.
So unless you have a very specific requirement only done using Extensions or you have too much time, then my advice to focus your energy on events rather than extensions. Events should be something every NAV developer learns. Plus it’s a key feature to understand and utilize extensions as well.
Don’t really want to say that events are making our life easier. Think it’s a lot easier just to do customizations the way we have done them always. But at the same time I sure does expect that it is going to mean a less potential conflicts when upgrading.
Sure that when the events have a few more releases on its back, then we will also see a lot more OOTB events, making code changes to standard objects even more seldom.
It’s going to be a whole new world, when upgrading is going to be a push on the button. Not quite sure we are there yet.
As per my understanding, the NAVApps are somewhat isolated, so you can add functionality which is common to a lot of your customers.
An example might be export routines for third party accounting systems.
You can extend tables (Ledger Entries as an example) and add some “Exported” checkmark.
You can add this field to the pages to “show” if the records have been exported or not.
You can add additional pages to control the Export functionality (Start the export, and so on).
You can add codeunits to perform the export and update the Exported checkmark on the entries.
You can add a MenuSuite to show your page in the client user interface.
You cannot:
Create Reports (yet)
Access the content of the field or the additional objects in external code (so not show that field on a report).