Friday, November 2, 2018

D365 Register Dedicated Hardware Station Extension for Modern POS

In this blog, you can find how to register dedicated hardware station for Modern POS when you doing development or deployment.

First of all, create a  new dll "Test.HardwareStation.Extension.dll" of Hardware Station.
Go to the folder "C:\Program Files (x86)\Microsoft Dynamics 365\70\Retail Modern POS\ClientBroker" and place your newly created dll "Test.HardwareStation.Extension.dll" in this folder.


Now you need to register this dll in config file to apply new changes in Modern POS Hardware Station.
Go to the folder "C:\Program Files (x86)\Microsoft Dynamics 365\70\Retail Modern POS\ClientBroker" again and open file "HardwareStation.Dedicated.config". Now you will see something like:


Now Register your dll in this config file on the first line of "Composition" section if you want to run your extension first. Otherwise you can also register your extension is middle or last in "Composition" section.


Now your extension has been registered in Dedicated Hardware Station for Modern POS.
If you want to generate Retail Deployment Package then create package simply but if you want to apply new changes in development environment then follow below steps:

1) Close Modern POS
2) Go to Task Manager > Details. Now search for "dllhost.exe" process and stop it. If you see multiple "dllhost.exe" processes then kill all.
3) Now Start MPOS. Now it will read new Hardware Changes from config file.


No comments:

Post a Comment

D365 Modern POS DLLHost.exe file detailed description

Everyone knows that Modern POS is being running by application that will be Windows, Android or IOS. Means that it will be install with Ope...