Although it is too early to discuss on features and capabilities which we are going to get in our new release, we should wait for exact information post release of same.
Here are few extracts from available documents pre-release of the product.
You will find most of the features similar to which we have discussed in our earlier posts for Madeira Preview Project.
New thing is capability of extensions and Web Services are enhanced and programmatically handling Notifications.
Dynamics NAV 2017 includes many new capabilities for Extensions:
- You can now include reports, XMLports, and queries in your extension along with new custom report templates.
- Default or initial data for new tables as part of your extension. These data will be included in the package file (.navx) and inserted into the table at the time of installation of the extension.
- You can include translated captions and constants for one or more languages by including object language files in the extension package.
- A translation only extension could be built that translates strings for base objects or objects for another extension.
- Extension can include a web service and configure it for the tenant the extension is being installed for in a multitenant deployment.
- Two new C/AL functions NAVAPP.RESTOREARCHIVEDATA and NAVAPP.DELETEARCHIVEDATA, you can easily restore or delete archived table data during a reinstall or upgrade of the extension.
- Use the NAVAPP.RESTOREARCHIVEDATA function to simply copy the data back from the archive table when special upgrade logic is not required.
- Use the NAVAPP.DELETEARCHIVEDATA function in situations where you do not want to restore the archived data for the table.
- You can publish an extension to a Dynamics NAV Server instance that is configured with an Azure SQL Database using new parameters added to the Publish-NAVApp cmdlet. The new parameters are used to provide the location and credentials for connecting to an existing Azure SQL database you created.
- Users with the appropriate permissions in the application can install and uninstall extensions from the Extensions Management page. The page will display all of the extensions that are currently published.
Web Services in multitenant deployments
You can publish per-tenant web services in situations where a web service has not been published for all tenants of the service.
You can also package and deploy published web services for base objects or extension objects in an extension.
The packaged web services will be published to the tenant for which the extension is being installed.
Notifications in the UI
Dynamics NAV 2017 introduces a programmatic way to send non-intrusive notifications to the UI in the Dynamics NAV Web client.
Notifications provide users with information about a current situation, but do not require any immediate action or block users from continuing with their current task.
In the UI, notifications appear in the Notification bar (similar to validation errors) at the top of the page on which a user is currently working.
Notifications that are defined on sub-pages, for example in parts and FactBoxes, appear in the same Notification bar.
Validation errors on the page will be shown first.
In the development environment, you create notifications in C/AL by using the newNotification and NotificationScope data types and the following functions.
- MESSAGE specifies the content of the notification that appears in the UI
- SCOPE specifies the scope in which the notification appears, which can be LocalScope or GlobalScope.
- A LocalScope notification appears in context of what the user is currently doing, while GlobalScope notifications are not directly related to the current task. Note: GlobalScope is currently not supported.
- SEND sends the notification to be displayed by the client.
- ADDACTION adds an action on the notification. Actions enable you to create interactive notifications that provide users with different actions that they can take to address the notification, like opening an associated page for modifying data. A notification action calls a function in a codeunit that you define, passing the notification object in the call. You then add business logic to the function for handling the action.
- SETDATA and GETDATA set and retrieve a data property value for the notification, which is typically needed when actions are invoked.
The following example illustrates the simplified code for local scope notification that has an action:
PROCEDURECreditBalanceCheck@1170000023(Customer@1170000000 : Record 18);
//Create the notification
CreditBalanceNotification.MESSAGE(‘Thecustomer”s current balance exceeds
their credit limit’);
//Add a data property for the customernumber
//Add an action that calls the ActionHandler codeunit, which you define in the next step.
//Send the notification to the client.
In the “Action Handler” codeunit, you would add code to handle the action in a global function, called OpenCustomer, which has a Notification data type parameter. You could use the GETDATA function to get the value of the data sent with the notification:
CustNo@1170000001 : Code;
// Do the code to handle the action.Optionally retrieve data carried by
Setup data in the US version
The US version of Dynamics NAV 2017 includes two RapidStart packages that will enable a fast implementation for a new company.
These data packages come with a new Windows PowerShell script to upload to server – and can be enabled for new companies.
Create a new company in the Companies page, and choose the Enable assisted setup field.
Then, use the Import-NAVConfigurationPackageFile cmdlet to import the RapidStart packages.
Then open the new company, the packages are applied, and you will be taken through an assisted setup experience.
Application area tagging
The Application Areas system offers developers, administrators, and users the ability to define differentiated user experiences according to application scope.
By selecting a set of application areas, users only see UI elements that are specific to the application features that they need to perform their tasks.
When companies want to create differentiated user experiences, the Application Areas system should be considered as an option not compulsory to adopt.
Time series library
One of the most popular topics for machine learning is forecasting based on historical data.
Many algorithms are there that can do this, but you do not have to know them, because MS have wrapped them for us.
Five of these algorithms, are wrapped in one Azure ML experiment, added logic that compares different results and returns the best one accompanied by an indicator of the prediction’s quality.
There is also a generic API on top of this that allows Dynamics NAV developers create their own functionality that helps customers find the business-critical information that may be hidden in their database.
You can perform time-series analysis in the familiar development environment.
The time series library is used by the Sales and Inventory Forecast extension.
I will come up with more details in my upcoming posts.