Flighting is a new concept introduced by Microsoft from D365FO version 10.0 that allows turning on new features, which are delivered but not activated by default.
Some of these "hidden" new functionalities are:
- Client alert notifications by email
- Manage access to network printers across legal entities
- Business events
Let’s say that we want to turn on a new functionality System network printers that enables access to network printers across legal entities. The following three steps need to be taken.
Step 1: Update web.config
Open the \AOSService\webroot folder and locate the web.config file, then search for the DataAccess.FlightingServiceCatalogID key:
<add key="DataAccess.FlightingServiceCatalogID" value="" />
Change the value attribute:
<add key="DataAccess.FlightingServiceCatalogID" value="12719367" />
Step 2: Insert Flight name (aka Feature name) into SYSFLIGHTING
Open the ApplicationFoundationFlights macro and locate the flighted feature name you want to turn on. In our case this is SysAdminNetworkPrinter.
Open SQL Server Management Studio as Administrator and execute the following SQL statement to insert the SysAdminNetworkPrinter flight into the SYSFLIGHTING table.
insert into dbo.SYSFLIGHTING(FLIGHTNAME, ENABLED, FLIGHTSERVICEID) values ('SysAdminNetworkPrinterManager', 1, 12719367)
Let’s turn on the Client alerts email notifications and Business events features too:
insert into dbo.SYSFLIGHTING(FLIGHTNAME, ENABLED, FLIGHTSERVICEID) values ('ClientAlertsEmailHandler', 1, 12719367)
insert into dbo.SYSFLIGHTING(FLIGHTNAME, ENABLED, FLIGHTSERVICEID) values ('BusinessEventsMaster', 1, 12719367)
Step 3: Restart IIS
Restart IIS or only the AOS web application in order to apply changes. Then open D365FO and navigate to Organization administration > Setup > Network printers. You will notice the new (previously hidden) feature System network printers.