It’s been a while since my last post, but no better time for a post than with a quick run through the objects and viewing the new stuff?
There are a few new system tables to be found since NAV2017:
- Tenant Web Service
- NAV App Tenant Add-In
- Configuration Package File
- Scheduled Task
- Media Set
- Tenant Media Set
- Tenant Media
- Tenant Media Thumbnails
- Tenant License State
- Entitlement Set
- Webhook Notification
- Membership Entitlement
- Object Options
- Token Cache
- Page Documentation
- Webhook Subscription
A lot of new tables have been added. A few will become more clear after I “run into” other changes. Others are unclear to me as well, but will most likely become unraveled as soon as more information generally becomes available.
Table Properties / Field Types
We have these new Field Types:
The type of the Item picture has changed to MediaSet. As far as I have seen, we can just put the MediaSet type on a report, and it will behave like it did with a BLOB type. The Media / MediaSet have a few other options for reading them though.
We now also find this MediaSet type Picture on Resource, Customer, Vendor, …
A MediaSet contains possibly multiple “Media”. These field types are a sort of reference to the Tenant Media and Tenant Media Set.
We have an ExtendedDatatype which now also can be Person or Resource.
TableType has new options for Exchange and MicrosoftGraph.
We can select an Application Area, which looks like this: #Basic,#Suite on every column.
The actions have a new property Gesture which can be None, LeftSwipe or RightSwipe. The action also has an Application Area. The Promoted options got an extra option called PromotedOnly.
The items in the MenuSuite also have the property Application Area now.
Task Scheduler vs Job Queue
We all know that the Job Queue was flawed a bit, so with NAV2017 Microsoft has completely reviewed this. Instead of having a NAS job which starts background sessions for each Job Queue in each company, we have an option on the NST “Task Scheduler enabled”. This is a task which is not found under the sessions. It starts a background session per task that needs to be executed at the time it needs to be executed, as the user that set it up. After the task is done, the background session finishes and disappears. So no more needless background sessions.
We have an option on the NST to say how many simultaneous tasks can be executed by that NST at the same time. So a hanging session will not stop all other jobs that need to be executed.
New functionality is added to manually create, cancel, … tasks.
A complete new framework is created for notifications. These are a non obtrusive way of asking the user to take action.
We have a new variable type: NOTIFICATION
it works as follows:
MyNotification.MESSAGE('My notification message');
My Notification is a local variable of type notification.
where my CodeUnit is as follows:
NotificationAction1(VAR MyNotificationData : Notification)
MESSAGE('ACTION 1 Clicked: ' + MyNotificationData.GETDATA('MyData'));
All functions on the Notification type:
and these properties:
Coding: Symbol Menu
- Under session we have the property ApplicationArea which we can request or set.
- Report format has the format HTML
- Client type is expanded with ODataV4
- Table Connection Type now also has Exchange and MicrosoftGraph (as said in the above table changes)
- With a NAVAPP we can LoadPackageData and have a property ISINSTALLING
- A complete new set of functions with TASKSCHEDULER
New Variable Types
This concludes my first NAV2017 post with a (really quick and basic) overview of new stuff.
I generally suggest you get acquainted with the new version and the new functionalities. I’m sure there are more yet to be discovered.